Playful Geometric Notation
Magic Square
7x5 grid of color blocks in terracotta, teal, mustard, slate, and plum that slowly breathe — scaling and shifting saturation — evoking a Bauhaus watercolor quilt.
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-inspired hero backgrounds, gallery pages, or ambient mood-setting with a warm painterly aesthetic.
When not to
Contexts needing legible overlaid text or light-background UIs — background is fixed warm linen.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change palette to cool blues by replacing HUES with ['#2a6496','#3aaf8c','#4a7ab5','#1e5a4b','#3d6e8a'] and set COLS=9, ROWS=7. 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
- color palette (HUES array)
- grid dimensions (COLS=7, ROWS=5)
- breathe duration range (5+Math.random()*5)
- cell opacity range (0.78+Math.random()*0.22)
- gap and padding values
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard (REDUCED + @media rule)
- role=img + aria-label on stage
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Color layout is random each load — no seeded reproducibility
- Background color hardcoded as #efe7d6 linen in CSS
More Playful Geometric Notation components
- 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.
- Twittering ContraptionFour 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.
- Colour Staircase9 color-graduated bars ascend like a staircase, each breathing in height and marching hue in staggered CSS keyframe loops. Warm parchment background.