Magical gene / fields and regions

Cosmic

A starfield hung off the topline and the crest, thinning out to nothing before the poll and before the knee rather than stopping anywhere - and, on a well-marked horse, a planet or two with a ring round it.

What it can come out as

OutcomeCarrying
CosmicCs/Cs · Cs/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 1,250 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
Cs/CsCosmic0.004% — 1 in 25,000
Cs/nCosmic0.076% — 1 in 1,316
n/nWild type99.92%

Its gene carrot

The file

common/src/main/resources/horsegenetics/genes/cosmic.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.cosmic
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority250 — where it sits in the one (priority, key) paint order
AllelesCs · n
Varies per horse5 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look
Built fromAXIS, PALETTE, PARTS, PATCHES, RAMP, RINGS, SPECKLE, SPOTS, 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.

Cosmic

The blanket starts at the dorsal midline and spreads down and out from it, one continuous region with no holes in it and no islands off it. It covers the back and the barrel, hangs off the crest for the first half of the neck, and reaches a little way onto the top of each leg - but it does not stop anywhere: it thins out and is simply gone before the poll and before the knee, so there is no edge on it at either end. Its lower boundary on the barrel is the same long fade. Inside are stars, thickest near the topline and thinning with the field itself, with a planet or a spiral galaxy on a heavily marked horse. Where the blanket meets the mane or the tail base the colour runs on into the hair, deepening toward the tips.

  1. the blanket over the back and barrel — AXIS × PATCHES × AXIS, painted with RAMP
  2. the blanket running out along the neck — AXIS × AXIS, painted with RAMP
  3. and running out again down the legs — AXIS, painted with RAMP
  4. the starfield inside it, densest at the spine — AXIS × SPECKLE, painted with TOWARD
  5. stars carried onto the neck with it — AXIS × AXIS × SPECKLE, painted with TOWARD
  6. a planet or two, with a ring at an angle to it — SPOTS × AXIS, painted with PALETTE
  7. the ring around each planet — RINGS × AXIS, painted with TOWARD
  8. the colour carried into the mane and tail — PARTS, painted with RAMP

Wild type

No blanket.

Paints nothing.