forever components

Orphist Colour Discs

The Disc, Breathing

9 concentric rings of 6 arc segments rotate in alternating directions and pulse opacity in a slow breathing rhythm, cycling a 6-color spectrum.

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-themed hero backgrounds, music visualizer stills, calm ambient loops on dark-mode landing pages.

When not to

Light-background UIs (background hardcoded dark navy). Contexts requiring text legibility over the disc center.

Working with an AI agent

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

Change RINGS to 12, slow the breath cycle by setting the multiplier from 0.8 to 0.4, and swap SPECTRUM to warm earth tones. 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

  • ring count (RINGS=9)
  • segment count (SEG=6)
  • spectrum palette (SPECTRUM array)
  • breath speed (t*0.8)
  • rotation speed per ring (0.06+ri*0.015)
  • disc radius ratio (0.46)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

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

Known limitations

  • Background color hardcoded in both CSS and canvas fillRect — must change both to recolor
  • Centre dot color cycles on floor(t) causing a sharp jump each second

concentriccanvasspectrumbreathinggenerativecolor

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.
  • Circular Rhythm26 color discs pulse with sine-wave rhythm via radial gradients on a dark canvas; additive blending creates luminous overlaps in the Orphist palette.
  • 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.