Magical gene / lines and strokes

Circuit

Black strokes down the caudal neck and shoulder, the widest of them carrying a saturated core in whatever colour the line runs to, with a band of the same at every fetlock.

What it can come out as

OutcomeCarrying
CircuitCir/Cir · Cir/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 2,500 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
Cir/CirCircuit0.002% — 1 in 50,000
Cir/nCircuit0.038% — 1 in 2,632
n/nWild type99.96%

Its gene carrot

The file

common/src/main/resources/horsegenetics/genes/circuit.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.circuit
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority366 — where it sits in the one (priority, key) paint order
AllelesCir · n
Varies per horse3 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look
Built fromAXIS, STROKES, TOWARD

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.

Circuit

Tapering strokes running down and back from the crest to the point of shoulder, forking into two or three branches near their ends. The colour appears only inside black - as a lozenge inset along the core of the widest strokes, leaving black margins either side, and as the fetlock band - and which colour it is runs in the line rather than being fixed: a horse carries it on the allele copy, so a foal that inherits the copy inherits the colour with it, and two circuit horses of different lines are different colours. A single stroke sits over each orbital ridge, and the cannons carry the same cored strokes as the shoulder.

  1. black strokes down the caudal neck and shoulder — STROKES × AXIS, painted with TOWARD
  2. the coloured core inside the widest strokes — STROKES × AXIS × AXIS, painted with TOWARD
  3. black strokes down the cannon, cored the same way — STROKES × AXIS, painted with TOWARD
  4. the coloured band at each fetlock, and the black hoof below it — AXIS, painted with TOWARD
  5. a single stroke over each orbital ridge — STROKES × AXIS, painted with TOWARD

Wild type

No circuitry.

Paints nothing.