forever components

Orphist Colour Discs

Circular Rhythm

26 color discs pulse with sine-wave rhythm via radial gradients on a dark canvas; additive blending creates luminous overlaps in the Orphist palette.

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

Dark-mode hero backgrounds, art/generative gallery tiles, ambient looping screensavers with a colorist aesthetic.

When not to

Light-background UIs (background hardcoded dark near-black). Contexts needing legible text overlays — the additive blending creates bright hot spots.

Working with an AI agent

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

Change disc count to 40 by editing N=26, swap SPECTRUM to warm amber/coral tones, and slow the pulse by reducing each disc's sp range from 0.5+1.4 to 0.3+0.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

  • disc count (N=26)
  • color palette (SPECTRUM array)
  • pulse speed range (0.5+Math.random()*1.4)
  • base radius range (10+Math.random()*46)
  • opacity range (0.42+0.4*puls)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • globalCompositeOperation='lighter' for additive blending
  • IIFE wrapper
  • reduced-motion guard (REDUCED flag)
  • visibilitychange stop/start
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Background color hardcoded in both CSS and canvas fillRect — must change both
  • No pointer interactivity — fully passive
  • 40% of discs get a ring stroke; ratio is random per seed, not configurable

canvascirclesradial-gradientambientgenerativeadditive-blend

More Orphist Colour Discs components

  • Simultaneous Disc7 concentric spectrum rings counter-rotate in alternating directions; a shimmer overlay and pulsing center dot evoke Orphist colour.
  • Prismatic Window20 colored rectangular planes in a 5x4 grid breathe, skew, and pulse opacity in staggered sine waves over a dark background, evoking Orphist window planes.
  • Colour Wheel Pulse36-segment spectral disc spins while an energy crest sweeps its segments, causing slices to pulse outward and flare bright as the wave passes.
  • Endless RhythmA horizontal band of split half-disc circles in spectral colors marches endlessly left in a seamless CSS loop, inspired by Orphist's rhythm motifs.
  • Contrast PairsThree split circles rotate complementary halves against each other — red/green, blue/orange, violet/yellow — enacting Orphist's simultaneous contrast law.
  • Sun & Moon DiscsTwo large radial-gradient discs — a warm sun and cool moon — orbit the canvas center in opposite phase, blending with 'lighter' compositing where they…