Every sprite on this page is drawn in your browser by the estate's sprite emitter: the same NishiLang source that drew the committed records, compiled to WebAssembly by the estate's own compiler. Your browser hashes each sprite it draws and checks it against the hash in its record.
Drawing 1024 sprites…
Draw any seed
A description and a seed always give the same sprite. A seed past the committed range is drawn live, with no record to check it against.
beetle
16 × 12 pixels · seeds 0 to 255 · 256 passed the referee, 0 faulted · committed
crystal
18 × 18 pixels · seeds 0 to 255 · 256 passed the referee, 0 faulted · committed
hero
16 × 16 pixels · seeds 0 to 255 · 256 passed the referee, 0 faulted · committed
potion
14 × 13 pixels · seeds 0 to 255 · 256 passed the referee, 0 faulted · committed
Animation
An animated sprite places its seed once. Every frame cuts the rig's parts out of that one placement, moves each by whole cells and draws the result by the same outline, shading and paint rules, so the palette and proportions hold from frame to frame. The referee judges every frame, then the cycle: a frame that paints a palette colour the first frame does not (palette drift), or a silhouette that moves past the cycle's bound, faults it.
Drawing 3072 animation frames…
hero, animated
20 × 20 pixels · seeds 0 to 255 · 3 cycles, 3072 frames · 177 seeds animate clean, 79 faulted (66 with palette drift, 16 with an area past its bound) · committed
Cook freshness
Every sprite strip a game on this site draws carries a cook record: the hashes of the description and the rig it was cut from. A census re-hashes each served strip and today's inputs. CURRENT is what today's inputs cook; STALE names the input that moved since the cook; ALTERED means the strip's own bytes changed; ORPHAN has no cook record; UNSOURCED names a sprite no description declares.
3 of 3 served strips are current, census of .
| Strip | Sprite | Cut from | State | Description hash, cooked / today | Rig hash, cooked / today |
|---|---|---|---|---|---|
spr-beetle.nxss | beetle | sheet | CURRENT | 93aa5aba / 93aa5aba | none, a still |
spr-crystal.nxss | crystal | sheet | CURRENT | 641c1d72 / 641c1d72 | none, a still |
spr-hero-walk.nxss | hero | animation | CURRENT | ce0389bc / ce0389bc | bb6778d8 / bb6778d8 |
CURRENT 3 + STALE 0 + ALTERED 0 + ORPHAN 0 + UNSOURCED 0 = 3 of 3 strips in sites/nishifamily/games/.
How a sprite is made
A description is a small text file: a mask of cells (never drawn, always body, body or empty, body or outline), a mirror, a ramp of hue-shifted shades, an outline colour, a light direction and the backgrounds the sprite must read against. A seed fills the chance cells; the emitter mirrors the mask, outlines the body, shades it by the light and paints it from the ramp.
The method is Dave Bollinger's Pixel Spaceships mask method (2008), as ported in zfedoran's pixel-sprite-generator, with four changes: a one-cell margin so an edge cell still gets its outline; colours only from the declared ramp; stray single pixels and lone shades removed; and an always-body cell.
A referee then judges every committed sprite against four declared rules:
- no pixel without a neighbour;
- no gap in the outline;
- no colour off the declared ramp;
- at least 3:1 contrast between the silhouette and every background (the floor in the referee's faults file; WCAG 2.1 success criterion 1.4.11 asks 3:1 of the parts of a graphic needed to understand it).