forever components

Suprematist Geometric Forms

Weightless

7 Suprematist shapes — squares, circles, bars, crosses in red/blue/yellow/white — orbit and self-spin around an invisible centre on a dark field.

canvasmedium complexitysubtle motion

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
Worth keeping? Votes steer what gets built next — sign in to cast one, free to read

When to use it

Art/gallery hero backgrounds, ambient screensavers, dark-mode sections needing calm geometric motion with a fine-art reference.

When not to

Light backgrounds (dark canvas hardcoded). Contexts needing legible text overlays — orbiting shapes compete with reading.

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Add an 8th body with kind='bar', color PAL.white, R=0.55, and selfSpin=1.2 for a fast-spinning outer ring element. 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

  • body count (loop i<7)
  • orbital radii (R: 0.12–0.52 range)
  • orbit speed range (sp: 0.10–0.45)
  • palette (PAL red/blue/yellow/white)
  • ellipse squash factor (0.78 y-axis)
  • shape self-spin rate (selfSpin range)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • DPR-aware fitCanvas with setTransform
  • visibilitychange pause/start guard
  • IIFE wrapper
  • REDUCED static-frame fallback
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Background hardcoded to #111111 in both CSS and canvas fillRect — change both
  • No pointer interactivity
  • Orbit paths are fixed ellipses — no physics

suprematismorbitgeometriccanvasambientcelestial

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.
  • Red WedgeA bold red CSS triangle slowly sweeps across a cream field past faint black and grey rectangles, evoking Suprematist's Suprematist diagonal.