Orphist Colour Discs
Endless Rhythm
A horizontal band of split half-disc circles in spectral colors marches endlessly left in a seamless CSS loop, inspired by Orphist's rhythm motifs.
csslight complexitymoderate motion
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
Worth keeping?
Votes steer what gets built next — sign in to cast one, free to read
When to use it
Ambient art-inspired backgrounds, gallery headers, or looping decorative banners needing bold color and motion.
When not to
Contexts requiring legible overlaid text (high-contrast moving shapes compete with copy) or where reduced-motion users expect a static image.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change SPECTRUM to cool blues and purples (e.g. ['#1f6fd0','#7b3fa0','#2fa86a','#1a9eb5','#4b3fa0','#0d3b8c']), slow the march to 36s, and increase disc count per sequence from 14 to 20. 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
- SPECTRUM color array (6 hues)
- sizes array (disc size sequence)
- animation duration (22s in del05-march)
- disc count per sequence (i<14)
- margin spacing formula (8+(i%3)*6)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- double seq() call for seamless 50% loop
- visibilitychange pause listener
- prefers-reduced-motion guard (animation:none + no JS animation)
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Band is a single horizontal row — no vertical stacking or grid layout without restructuring
- Background color hardcoded in CSS (#0c0d11)
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.
- 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…