Magical gene / colour modifiers
Spectrum Light
One long field over the barrel and hip through which the hue rotates continuously in spectral order - red to violet, no bands, no repeats.
What it can come out as
| Outcome | Carrying |
|---|---|
| Spectrum Light | Spc/Spc · Spc/n |
| Wild type | n/n |
How each one is actually drawn - region by region, and the layers it is built from - is on the coding tab.
Crossing two of them
Finding one
About 1 in 10,000 wild horses is born showing this. That is the whole of the supply: catch one, or make one with the carrot below. Breeds set their own pools and a breed built around this gene will carry it far more often than the wild population does.
| Wild pair | Shows as | How often |
|---|---|---|
Spc/Spc | Spectrum Light | 0.0005% — 1 in 200,000 |
Spc/n | Spectrum Light | 0.0095% — 1 in 10,526 |
n/n | Wild type | 99.99% |
Its gene carrot
The file
common/src/main/resources/horsegenetics/genes/spectrum_light.json — a
data-driven gene, not a Java class. It is listed in the
index.json beside it and registered by Genes' class
initialiser at startup.
| Key | horsegenetics.spectrum_light |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 434 — where it sits in the one (priority, key) paint order |
| Alleles | Spc · n |
| Varies per horse | 3 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look |
| Built from | AXIS, PARTS, RAMP, SPOTS |
What it paints
Each outcome, described the way the gene file describes it, and then the layers that draw it in the order they are painted. The prose is the part a reader checks a bake against; the list underneath is what the engine actually did.
Spectrum Light
A single field, three or four feet long and a foot or two tall, lying over the back of the barrel, the flank and the hip with its long axis close to the body's. Along that axis the hue turns continuously through the spectrum in order - red, orange, yellow, green, cyan, blue, violet - at a steady few degrees an inch, with no banding and no segment repeated. Saturation is highest along the field's centre line and falls to nothing at its margins, so it has no edge. Most of these horses also have the neighbouring stretch of mane picking up whatever hue is local to it, at about half strength. Where the field meets the top of a leg it carries a little way onto it and fades out, so the barrel does not end on a line; it does not run down the limb.
- the field, hue turning along it —
SPOTS, painted withRAMP - the field bleeding onto the tops of the legs —
SPOTS×AXIS, painted withRAMP - the mane picking up the local hue —
PARTS×AXIS, painted withRAMP
Wild type
No spectrum.
Paints nothing.