forever components

Suprematist Geometric Forms

The Aviator's Field

Suprematist bars in black, red, blue, and yellow launch diagonally across an off-white field at steady tempo; reduced-motion shows a static arrangement.

canvasmedium complexitymoderate 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/design hero sections, Suprematist or Bauhaus-themed UIs, ambient background for creative portfolios.

When not to

Contexts requiring legible text overlays or low-end devices where constant 60fps canvas redraws may strain CPU.

Working with an AI agent

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

Slow the launch tempo from 0.62 to 1.2 seconds by changing the tempo constant, and shift the palette to warm earth tones by editing the PAL object colors. 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

  • palette colors (PAL object)
  • launch tempo in seconds (tempo=0.62)
  • bar length range (0.22+Math.random()*0.30)
  • bar thickness range (3+Math.random()*7)
  • flight speed range (120+Math.random()*120)
  • diagonal angle spread (-0.7+Math.random()*0.5)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • IIFE wrapper
  • prefers-reduced-motion guard with static fallback
  • visibilitychange pause/resume
  • DPR-aware fitCanvas
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Bar end-cap square is axis-aligned, not rotated with the bar — minor visual artifact at steep angles
  • 40-bar hard cap silently drops excess bars on rapid launch

suprematismbarscanvasflightgenerativediagonal

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.
  • 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.