Playful Geometric Notation
Twittering Contraption
Four Bauhaus-style wire birds bob on a horizontal wire and chirp musical notes while a hand-crank below spins. Inspired by Bauhaus's 1922 painting.
csslight complexitysubtle motion
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
Worth keeping?
Votes steer what gets built next — sign in to cast one, free to read
When to use it
Art/creative portfolio backgrounds, generative-art showcases, ambient decorative tiles with a whimsical mechanical theme.
When not to
Light-theme UIs — background is hardcoded dark #23201b and won't adapt. Contexts needing interactivity.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Increase bird count to 6 by changing N=4 to N=6, and slow the crank rotation from 4s to 8s in the kle06-spin animation. Theme: dark tokens live in :root, the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.
Safe to edit
- bird count (N=4)
- color palette (HUES array)
- bob speed per bird (1.6+i*0.4 seconds)
- crank spin duration (4s in kle06-spin)
- wire vertical position (top:30%)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard (REDUCED check)
- aria-label on scene div for accessibility
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background color hardcoded to dark #23201b — must edit CSS to change
- Bird positions are evenly spaced by formula; uneven layouts require manual overrides
More Playful Geometric Notation components
- Magic Square7x5 grid of color blocks in terracotta, teal, mustard, slate, and plum that slowly breathe — scaling and shifting saturation — evoking a Bauhaus…
- A Line Goes WalkingA single ink line wanders the warm paper canvas step by step, tracing a random path from a teal start-dot to a terracotta head; fades and resets on a loop.
- Arrow FieldA grid of colored arrows rotates and pulses in a slow flow-field current, each pointing direction driven by sine waves and radial angle from center.
- Glyph GardenChildlike pictographs — fish, moon, arrow, face, tree, star, boat — drawn stroke-by-stroke on warm paper, held, then erased and reseeded in a cycling grid.
- Polyphony GridA 16x6 color grid swept by a column playhead; active cells flash with scale and glow on each pass, voices re-seeded each lap for evolving compositions.
- Colour Staircase9 color-graduated bars ascend like a staircase, each breathing in height and marching hue in staggered CSS keyframe loops. Warm parchment background.