Magical gene / lines and strokes

Rime

A slow pale vortex of frost turns on each flank, its arms broken into feathered streaks with cold sparks caught among them.

What it can come out as

OutcomeCarrying
RimeW/W · W/B · W/C · W/n
Ashfall vortexB/B · B/C · B/n
Coloured rimeC/C
Wild typeC/n · 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 3,572 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
W/WRime0.001% — 1 in 100,000
W/BRime0.0013% — 1 in 75,019
W/CRime0.0013% — 1 in 75,019
W/nRime0.019% — 1 in 5,263
B/BAshfall vortex0.0013% — 1 in 75,019
B/CAshfall vortex0.0013% — 1 in 75,019
B/nAshfall vortex0.0013% — 1 in 75,019
C/CColoured rime0.0013% — 1 in 75,019
n/nWild type99.972%

Its gene carrot

The file

common/src/main/resources/horsegenetics/genes/rime.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.rime
Phasemagical — it adds signed colour in phase 3, after the pigment has resolved
Priority389 — where it sits in the one (priority, key) paint order
AllelesW · B · C · n
Varies per horse4 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look
Built fromFAN, PARTS, SPIRAL, SPOTS, STROKES, TOWARD, emissive

Why it is built this way

Same skeleton as a whirlpool and a completely different marking, because of two numbers: strength 55 on the arms and the STROKES multiplied into them. The FAN alone gives solid curved arms; breaking them with a stroke field turns each arm into a run of feathers, which is what the reference is made of.

twist 0.3 rotates the fan's zero with distance, so the bars come out curved. At twist 0 this is a sunburst.

inner 2.4 rather than 0. A FAN bar is arbitrarily thin at the pivot and anything under 0.5 units averages away; at 2.4 the narrowest part of an arm is 0.6 units. The SPIRAL fills the middle the fan leaves bare, and it takes its centre from the BODY bounds - about (18.5, 16), which is the point the FAN is written to pivot on. Those two move together.

The glints are the only emissive layer, so the marking is faint by day and reads as sparks at night. They are also the only saturated thing here, which is why the achromatic forms grade them brightest rather than leaving them coloured.

Sourced from a traced SVG, but not drawn with the SVG mask. The trace runs to thousands of path commands over hundreds of subpaths, most of it trace noise - well past the point ceiling, which exists to keep a traced photograph out of a gene file, and it would have made the marking identical on every horse. The reference was read for what KIND of shape each element is and rebuilt from field masks. A hand-drawn, low-node version of the source would be worth the SVG mask with its d string verbatim.

Arrived keyed 'ixora.rime'. Renamed to the horsegenetics namespace every other gene in the mod uses - the format allows a modder their own, but a gene shipping INSIDE this mod under a second namespace breaks the tooling that builds a key from a slug.

Arrived at priority 158. Moved to 389: lines and strokes - a vortex broken into feathered streaks. The arriving number was taken, or sat in a band whose family does not describe this marking - priority is both the paint order and the family the sidebar files a gene under.

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.

Rime

The reference form - a faint white frost-whirl with cyan sparks on each flank.

  1. the eye — PARTS × SPIRAL, painted with TOWARD
  2. the sweeping arms — PARTS × FAN, painted with TOWARD
  3. the feathered streaks — PARTS × FAN × STROKES, painted with TOWARD
  4. the cold glints — PARTS × FAN × SPOTS, painted with TOWARD, and it glows

Ashfall vortex

A smoke-grey whirl of ash with dull embers caught in it.

  1. the eye — PARTS × SPIRAL, painted with TOWARD
  2. the sweeping arms — PARTS × FAN, painted with TOWARD
  3. the feathered streaks — PARTS × FAN × STROKES, painted with TOWARD
  4. the cold glints — PARTS × FAN × SPOTS, painted with TOWARD, and it glows

Coloured rime

A whirl in the line's own colour, faint in the arms and bright at the sparks.

  1. the eye — PARTS × SPIRAL, painted with TOWARD
  2. the sweeping arms — PARTS × FAN, painted with TOWARD
  3. the feathered streaks — PARTS × FAN × STROKES, painted with TOWARD
  4. the cold glints — PARTS × FAN × SPOTS, painted with TOWARD, and it glows

Wild type

No marking.

Paints nothing.