Magical gene / lines and strokes

Gudial

Warning colours off a poison frog, run as a gradient - bold bands round the neck and legs, a dark masked head worked over in stripes, and topline spotting, all sweeping between two hues from nose to tail.

What it can come out as

OutcomeCarrying
Gudial, three coloursGud/Gud
GudialGud/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
Gud/GudGudial, three colours0.002% — 1 in 50,000
Gud/nGudial0.038% — 1 in 2,632
n/nWild type99.96%

Its gene carrot

The file

common/src/main/resources/horsegenetics/genes/gudial.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.gudial
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority373 — where it sits in the one (priority, key) paint order
AllelesGud · 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, 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.

Gudial, three colours

Two copies work the gradient twice over: the same nose-to-tail sweep through the banding and the spotting, with a paler inset laid inside the neck and leg bands and inside each topline spot, following the same sweep a few shades up. It reads as four colours on the horse and is two, plus the distance between them.

  1. the dark head — PARTS, painted with TOWARD
  2. the striped mask over it — STROKES, painted with RAMP
  3. upright bands across the neck — STROKES, painted with RAMP
  4. banding down every leg — STROKES, painted with RAMP
  5. spotting along the topline — SPOTS × AXIS, painted with RAMP
  6. hooves in the same colour — AXIS, painted with RAMP
  7. the paler inset through the neck bands — STROKES, painted with RAMP
  8. the paler inset in the topline spotting — SPOTS × AXIS, painted with RAMP

Gudial

The head goes dark and takes an intricate striped mask around the eyes and muzzle. Bold upright bands cross the neck, and the legs are banded the whole way down to the hoof - segmented, high-contrast, deliberately loud. Along the back and barrel is a scatter of spotting. All of it is one gradient rather than one colour: the marking sweeps between two hues from the nose to the tail, so the face stripes and the hindquarter spotting are visibly different colours and everything between them is on the way from one to the other. Which two, and how far apart, run in the line. The mane carries no regular striping and the hooves take the colour of their end of the sweep.

  1. the dark head — PARTS, painted with TOWARD
  2. the striped mask over it — STROKES, painted with RAMP
  3. upright bands across the neck — STROKES, painted with RAMP
  4. banding down every leg — STROKES, painted with RAMP
  5. spotting along the topline — SPOTS × AXIS, painted with RAMP
  6. hooves in the same colour — AXIS, painted with RAMP

Wild type

No warning colours.

Paints nothing.