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

OutcomeCarrying
Spectrum LightSpc/Spc · Spc/n
Wild typen/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 pairShows asHow often
Spc/SpcSpectrum Light0.0005% — 1 in 200,000
Spc/nSpectrum Light0.0095% — 1 in 10,526
n/nWild type99.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.

Keyhorsegenetics.spectrum_light
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority434 — where it sits in the one (priority, key) paint order
AllelesSpc · n
Varies per horse3 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look
Built fromAXIS, 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.

  1. the field, hue turning along it — SPOTS, painted with RAMP
  2. the field bleeding onto the tops of the legs — SPOTS × AXIS, painted with RAMP
  3. the mane picking up the local hue — PARTS × AXIS, painted with RAMP

Wild type

No spectrum.

Paints nothing.