Suprematist Geometric Forms
The Black Square, Breathing
A near-black square barely scales and rotates on a warm white ground; a faint red ghost square offsets behind it. Suprematist stillness in motion.
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/culture hero backgrounds, minimal ambient displays, gallery digital signage where extreme restraint is needed.
When not to
Contexts needing obvious motion or engagement cues — the animation is near-imperceptible and will read as static to many users.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Slow the breathing cycle to 12 seconds by changing the animation duration in `#mal01-stage.run #mal01-sq { animation: mal01-breathe 12s ... }`, and increase ghost opacity from 0.10 to 0.20. 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
- animation duration (7.5s in animation shorthand)
- scale amount (1.045 in keyframe)
- ghost opacity (#mal01-ghost opacity:.10)
- ghost rotation and offset (rotate(-3deg), translate(7%,7%))
- background color (#f0ece2 on body)
- square color (#111111 on #mal01-sq)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard (animation:none in @media block)
- visibilitychange pause/resume logic
- role=img + aria-label on stage
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Animation is extremely subtle — scale 1.045 and 1.1deg rotation may be invisible on small or low-DPI screens
- Background and square colors are hardcoded — must edit CSS to retheme
More Suprematist Geometric Forms components
- 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.
- Red WedgeA bold red CSS triangle slowly sweeps across a cream field past faint black and grey rectangles, evoking Suprematist's Suprematist diagonal.