forever components

Abstract Geometric Improvisations

Concentric Resonance

Colored rings burst outward from random points on a dark field, fading as they expand — abstract's concentric forms in perpetual motion.

canvaslight 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-themed hero backgrounds, ambient displays, dark-mode canvases needing gentle generative motion.

When not to

Light backgrounds (hardcoded dark bg). Contexts requiring user interaction — it runs fully autonomously with no pointer response.

Working with an AI agent

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

Change the auto-strike interval from 1.4s to 0.8s, add PAL.green as a third ring color alternate, and increase ring count per strike from 4 to 6. 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

  • auto-strike interval (autoT > 1.4)
  • ring count per strike (i < 4)
  • ring speed range (sp: 60 + i*22)
  • color palette (cols array)
  • fade duration (g.t/2.4)
  • max rings cap (80)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • DPR-aware canvas sizing (fitCanvas)
  • visibilitychange pause/resume
  • prefers-reduced-motion guard
  • ring cap splice (rings.length > 80)
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • No pointer/click interaction — rings only emit on auto-timer
  • Background color hardcoded in CSS (#17151a)
  • Reduced-motion mode renders a static frame loop (30 draws) rather than a true single static image

ringsconcentricgenerativecanvasambientripple

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