Magical gene / speckle and dust
Wishstar
One four-pointed sparkle sits high on each flank, with a long tail below it and a soft bloom around it. It holds its light after dark.
What it can come out as
| Outcome | Carrying |
|---|---|
| Wishstar | Ws/Ws · Ws/ws · Ws/n |
| Wishstar, coloured | ws/ws |
| Wild type | ws/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,571 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 |
|---|---|---|
Ws/Ws | Wishstar | 0.001% — 1 in 100,000 |
Ws/ws | Wishstar | 0.004% — 1 in 25,000 |
Ws/n | Wishstar | 0.019% — 1 in 5,263 |
ws/ws | Wishstar, coloured | 0.004% — 1 in 25,000 |
n/n | Wild type | 99.972% |
Its gene carrot
The file
common/src/main/resources/horsegenetics/genes/wishstar.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.wishstar |
|---|---|
| Phase | magical — it adds signed colour in phase 3, after the pigment has resolved |
| Priority | 333 — where it sits in the one (priority, key) paint order |
| Alleles | Ws · ws · n |
| Varies per horse | 1 value drawn once off the expressing allele copy, so a foal that inherits the copy inherits the look |
| Built from | SVG, TOWARD, emissive |
Why it is built this way
The smallest marking in this set: about 2 units wide and 4.4 tall against a 22-unit barrel. The bloom is the same path at roughly twice the size with the softness wound right up and the opacity down, painted first so the star sits inside it.
Both layers use fit meet, so the drawing keeps its aspect and the viewport is a bound rather than a stretch. sizeU is set from the path's own 282:519 bounding box - asking for a square viewport here would squash the star and it would not look deliberate.
Drawn shape, so it is the same on every horse and mirrored onto both flanks by the side plane.
Arrived at priority 134. Moved to 333: speckle and dust, beside stars (330) - a small mark, so it paints late. 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.
Wishstar
A single lit white sparkle on each flank, tailed and haloed.
- the bloom around it —
SVG, painted withTOWARD - the star —
SVG, painted withTOWARD, and it glows
Wishstar, coloured
The same sparkle in the colour this line carries.
- the bloom around it —
SVG, painted withTOWARD - the star —
SVG, painted withTOWARD, and it glows
Wild type
No star.
Paints nothing.