Plan small adventures with a tiny companion.

This is a demo page. Every character on it is a single <pixel-sprite> tag that points at a bundle an agent drew. Hover the characters, click them.

Start a trail
hover = walk ยท click = wave

Characters as UI

Feature cards, empty states, loading indicators: the same component, different animations.

Auto-planning

The robot waves when you hover the card's sprite.

Offline maps

Click the slime: a one-shot animation that returns to idle and fires spriteend.

Trail buddies

A looping walk cycle, paused automatically when scrolled off-screen.

One asset, every size

Each bundle carries 16, 32 and 64 px renders at different levels of detail. The component picks the one that fits, like srcset. It never scales a big sprite down.


size=24 โ†’ 16px icon

size=64 โ†’ 32px sprite

size=128 โ†’ 64px portrait

res=16 forced (chunky look)

Sprites can sit inline in text too like an emoji, using the 16px icon render.

A character with a mind of its own

This goose's bundle carries a small state machine and two extra skins. The page only sets a speed; the character chooses idle, walk or run, switches gait without breaking stride, stops on a footstep, fidgets when bored, hacks while you hover it and honks when clicked. See characters living on a page โ†’


State: idle ยท last event: โ€“