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
| Outcome | Carrying |
|---|---|
| Rime | W/W · W/B · W/C · W/n |
| Ashfall vortex | B/B · B/C · B/n |
| Coloured rime | C/C |
| Wild type | C/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 pair | Shows as | How often |
|---|---|---|
W/W | Rime | 0.001% — 1 in 100,000 |
W/B | Rime | 0.0013% — 1 in 75,019 |
W/C | Rime | 0.0013% — 1 in 75,019 |
W/n | Rime | 0.019% — 1 in 5,263 |
B/B | Ashfall vortex | 0.0013% — 1 in 75,019 |
B/C | Ashfall vortex | 0.0013% — 1 in 75,019 |
B/n | Ashfall vortex | 0.0013% — 1 in 75,019 |
C/C | Coloured rime | 0.0013% — 1 in 75,019 |
n/n | Wild type | 99.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.
| Key | horsegenetics.rime |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 389 — where it sits in the one (priority, key) paint order |
| Alleles | W · B · C · n |
| Varies per horse | 4 values drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look |
| Built from | FAN, 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.
- the eye —
PARTS×SPIRAL, painted withTOWARD - the sweeping arms —
PARTS×FAN, painted withTOWARD - the feathered streaks —
PARTS×FAN×STROKES, painted withTOWARD - the cold glints —
PARTS×FAN×SPOTS, painted withTOWARD, and it glows
Ashfall vortex
A smoke-grey whirl of ash with dull embers caught in it.
- the eye —
PARTS×SPIRAL, painted withTOWARD - the sweeping arms —
PARTS×FAN, painted withTOWARD - the feathered streaks —
PARTS×FAN×STROKES, painted withTOWARD - the cold glints —
PARTS×FAN×SPOTS, painted withTOWARD, and it glows
Coloured rime
A whirl in the line's own colour, faint in the arms and bright at the sparks.
- the eye —
PARTS×SPIRAL, painted withTOWARD - the sweeping arms —
PARTS×FAN, painted withTOWARD - the feathered streaks —
PARTS×FAN×STROKES, painted withTOWARD - the cold glints —
PARTS×FAN×SPOTS, painted withTOWARD, and it glows
Wild type
No marking.
Paints nothing.