Alexis Mabanza @ alexvolkihar.ovh

Sprites

Pixel creatures from mirrored random masks

Every sprite starts as half a mask: a few shapes drawn from the hash (a body ellipse and a head for a critter, stacked boxes for a robot, a tapered hull and swept wings for a ship) mark each cell as empty, maybe body, body or dark detail, or always body. The mask is sampled at random, mirrored around its axis and outlined, and only its largest connected piece is kept. Body pixels are then shaded from their place in the sprite and from the sides they show to the light, in ramps taken from the fixed palettes of old consoles and home computers.

The sprites are pinned to a numbered specimen sheet, sent marching in a parade where each lane is one family (one mask, a new sampling for each member), or posed alone as a hero in a pixel landscape or in front of a planet. The short side always holds the same number of art pixels, so a hash gives the same crisp picture at any size. Press New seed for a fresh hash, then share the URL to show someone that exact piece.

All series
0xd6168ded…f69e
Palette PICO-8Kind CrittersLayout Specimen sheetShading BandedSize Large
0x9fa73596…9ee4
Palette C64Kind ShipsLayout ParadeShading BandedSize Large
0x64ae59be…5af2
Palette FamicomKind ShipsLayout Specimen sheetShading BandedSize Tiny
0x20f18d87…5fc6
Palette CGAKind RobotsLayout Specimen sheetShading RoundedSize Classic
0x81d11a22…e0aa
Palette PICO-8Kind ShipsLayout HeroShading RoundedSize Tiny
0x12f391dc…113a
Palette FamicomKind MixedLayout ParadeShading RoundedSize Large
0xb00188ce…7d70
Palette Game BoyKind RobotsLayout HeroShading RoundedSize Large
0x32ebb0e4…fb85
Palette SpectrumKind MixedLayout Specimen sheetShading RoundedSize Large
0xeff02a7c…d521
Palette C64Kind CrittersLayout ParadeShading RoundedSize Tiny
0x86b16b24…4cd1
Palette CGAKind RobotsLayout ParadeShading FlatSize Large
0x684eb7c1…058d
Palette PICO-8Kind MixedLayout HeroShading BandedSize Classic
0xdb02571c…78ab
Palette FamicomKind CrittersLayout HeroShading RoundedSize Large

Traits

The weights were set before any drawing code was written. They were then checked against a census of 2,000 seeds.

TraitValues (weight)
PaletteFamicom 22 · PICO-8 22 · Game Boy 16 · C64 16 · Spectrum 12 · CGA 12
KindCritters 32 · Robots 24 · Ships 24 · Mixed 20
LayoutSpecimen sheet 40 · Parade 32 · Hero 28
ShadingFlat 25 · Rounded 45 · Banded 30
SizeTiny 25 · Classic 50 · Large 25

Credits

  • Sprites: the mirrored random-mask method of Dave Bollinger’s Pixel Robots and Pixel Spaceships, as written up and generalised by Zelimir Fedoran in pixel-sprite-generator (MIT): cells that are empty, maybe body, body or border, or always border; random sampling, mirroring, then an outline around the body. The masks here are new: they are built from hash-drawn shapes for each sprite or family, not taken from either project, and the shading and scenes are original.
  • Shading follows Fedoran’s idea of brightness rising towards the middle of the sprite; the extra light on the top edges and shade on the bottom ones are added here. Sky gradients use ordered dithering with Bryce Bayer’s 4 × 4 matrix (1973).
  • Palettes: colours from the fixed hardware palettes of the Famicom (NES), the PICO-8 fantasy console, the original Game Boy, the Commodore 64 (Philip "Pepto" Timmermann’s measured values), the ZX Spectrum and IBM CGA.
  • Randomness: sfc32 by Chris Doty-Humphrey. The hash seeding, named sub-streams and verification follow Camille Roux’s genart skill (MIT).
  • The code was written with an AI assistant. It draws everything itself: no AI-generated images.

Artworks © Alexvolkihar, licensed CC BY-NC-ND 4.0. Code under the repository licence (MIT).


>