forever components

Abstract Geometric Improvisations

Several Circles

13 coloured discs drift and pulse on a charcoal ground with blend-mode overlaps and halos; a pale diagonal line sways below. An abstract composition.

cssmedium 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-inspired hero backgrounds, ambient gallery displays, or contexts wanting painterly generative motion with a fine-art reference.

When not to

Layouts needing legible content overlaid or a light background — the dark ground and blended circles compete with text.

Working with an AI agent

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

Change the circle count from N=13 to N=20, add '#ff6b00' to the cols array, and slow drift by changing the max duration from 18 to 28 seconds. 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

  • circle count (N=13)
  • color palette (cols array)
  • drift distance (--dx/--dy range +/-30px)
  • drift duration (9-18s range)
  • halo probability (Math.random()<0.5)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • IIFE wrapper
  • prefers-reduced-motion guard (REDUCED check on all animations)
  • role=img + aria-label on stage div
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Circle positions randomised each load — layout not deterministic
  • Background color hardcoded (#17151a) — edit CSS to change dark ground

circlesgenerativecss-animationartambientblend-mode

More Abstract Geometric Improvisations components

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