Repository navigation
Commit 5690fac
committed
eggs: offsets keep the sprite set small, caps delimit the stack, and there is a blip editor
A DGRP entry places each sprite at its own offset, so one band drawing instanced at rising offsets
is an entire stack. The parts list does not grow with the number of bands, only the entry list does,
and because the egg looks the same from every angle the same entries serve all four rotations. So a
heavy egg is simply a tall egg: add band entries, the body grows, the art is unchanged, and height
becomes an honest advertisement of capacity readable in silhouette before a single colour is
decoded.
White cap on top, coloured blips between, black cap at the bottom. The polarity gives the reading
order and the two caps give the extent, so a variable-length code needs no length field and no
terminator — the message is whole when both caps are in frame. A blank blip is part of the alphabet
rather than an absence of one: it aligns short codes, separates groups the way a resistor's
tolerance gap does, and lets one silhouette carry payloads of different lengths. At the closest zoom
a row can break into three or four arcs, with the leading arc carrying the row's coarse value and
drawn to dominate when the row collapses, so segments refine a value they never contradict.
And a blip editor, because anything with an alphabet needs a tool that shows you the alphabet. Lay
out the stack from the same registry the compile uses, preview all three zooms plus the far
silhouette at once since every interesting failure is a failure at one distance, run the recognizer
on the preview so an egg that cannot be read is wrong while you are still looking at it, and abuse
the preview with night lighting, fire tint, colour-blind filters and hand-held blur. Output is the
YAML the compile already eats, and every saved egg leaves its decode case behind as a test.
Players get the same editor. An egg is a stack of coloured rings, anyone who can pick colours can
mint one, and minting writes an .iff they can hand to a friend — the low floor arriving in the
tooling rather than being claimed in a document.1 parent 9d29c0f commit 5690fac
2 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
115 | 133 | | |
116 | 134 | | |
117 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
269 | 272 | | |
270 | 273 | | |
271 | 274 | | |
| |||
0 commit comments