forever components

Abstract Geometric Improvisations

Checkerboard Fugue

A diagonal wave sweeps a 10x8 CSS grid, lighting each cell in Bauhaus green, yellow, red, and black before returning it to a warm paper tone.

cssmedium 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-themed hero backgrounds, Bauhaus or geometric aesthetic contexts, ambient looping displays.

When not to

Contexts requiring legible text overlaid on the grid; low-end devices where 80+ simultaneous CSS transitions may stutter.

Working with an AI agent

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

Change the wave speed by setting the multiplier from 3.2 to 1.5 in `t*3.2`, and swap the palette order in the `pal` array to put red first. 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

  • grid dimensions (COLS=10, ROWS=8)
  • wave speed (t*3.2)
  • palette colors (PAL object)
  • wave width threshold (dist<1.6)
  • cell scale on activation (scale(0.86))
  • cell transition duration (.4s)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • IIFE wrapper
  • prefers-reduced-motion guard
  • visibilitychange pause/resume
  • ARIA label on stage div
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • 80 simultaneous CSS transitions on every frame — may stutter on very low-end devices
  • Grid proportions fixed at 10x8; changing COLS/ROWS may need CSS adjustments for non-16:9 viewports

checkerboardgridbauhauswavecolorgeometric

More Abstract Geometric Improvisations components

  • Several Circles13 coloured discs drift and pulse on a charcoal ground with blend-mode overlaps and halos; a pale diagonal line sways below. An abstract composition.
  • Singing CompositionTriangles, arcs, circles and lines in Bauhaus primaries spawn, breathe and dissolve on warm paper in an endless generative composition inspired by abstract.
  • The Rhythm ScoreA red playhead sweeps 16-step staves of blue circles, yellow triangles, and red squares; each note flares in size and opacity as the head crosses it.
  • Concentric ResonanceColored rings burst outward from random points on a dark field, fading as they expand — abstract's concentric forms in perpetual motion.
  • Yellow-Red-Blue Counterpoint24 bars in yellow, red, and cobalt rise and fall in sine-wave counterpoint on warm paper, echoing abstract's three-voice color theory.
  • The Orbiting TroikaThree colored spheres (blue, yellow, vermilion) orbit a black sun at harmonic speeds, leaving fading color trails that form a slowly turning rosette.