Suprematist Geometric Forms
White on White
8 white Suprematist shapes drift silently on warm white, each casting a faint baked drop shadow. Near-invisible, meditative motion.
canvasmedium 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/gallery heroes, minimal ambient backgrounds, whitespace-driven designs where extreme restraint is the aesthetic.
When not to
Dark backgrounds (palette hardcoded warm white). Layouts needing legible text overlay — shapes offer no contrast.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change tone range to cool grey (tone: 235) and increase form count to 12 by changing i<8 to i<12 in the forms loop. 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
- shape count (i<8 loop)
- tone range (248 + random*8)
- drift amplitude (ax/ay values)
- shadow opacity (rgba 0.13)
- animation speed (dt*0.5)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- offscreen sprite baking (prevents per-frame shadowBlur cost)
- IIFE wrapper
- prefers-reduced-motion guard
- visibilitychange pause/resume
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background color hardcoded in both CSS and canvas fillStyle — must change both to retheme
- Shape placement is random on each load — not deterministic
- No pointer interactivity
More Suprematist Geometric Forms components
- The Black Square, BreathingA near-black square barely scales and rotates on a warm white ground; a faint red ghost square offsets behind it. Suprematist stillness in motion.
- Suprematist Drift9 colored bars in black, red, blue, yellow rotate at random angles and drift slowly across a cream field via alternating CSS keyframes.
- Dynamic CompositionSuprematist shapes fly in from edges, hold in a white void, then depart — bars, circles, crosses in black, red, blue, yellow; never repeating.
- The Aviator's FieldSuprematist bars in black, red, blue, and yellow launch diagonally across an off-white field at steady tempo; reduced-motion shows a static arrangement.
- Cross & CircleSuprematist shapes — cross, circle, bar, square — fling in from the nearest edge with cubic ease and a settling wobble, auto-composing on a warm white field.
- Weightless7 Suprematist shapes — squares, circles, bars, crosses in red/blue/yellow/white — orbit and self-spin around an invisible centre on a dark field.