Orphist Colour Discs
Prismatic Window
20 colored rectangular planes in a 5x4 grid breathe, skew, and pulse opacity in staggered sine waves over a dark background, evoking Orphist window planes.
canvasmedium 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
Dark hero backgrounds, art/design portfolio sections, ambient screensaver overlays inspired by geometric abstraction.
When not to
Light-background layouts (background hardcoded dark navy). Contexts needing legible text overlays — constant plane motion competes with reading.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change SPECTRUM to warm earth tones (['#c0392b','#e67e22','#f1c40f','#8e5e3c','#5d4037','#795548']), increase grid to 6 columns and 5 rows, and slow the wobble by changing sp base to 0.2. 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
- color palette (SPECTRUM array)
- grid dimensions (COLS=5, ROWS=4)
- wobble speed range (sp: 0.4 + offset)
- plane size amplitude (0.7+0.55 multipliers)
- skew intensity (0.22 multiplier)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- DPR-aware fitCanvas sizing
- visibilitychange pause/resume
- prefers-reduced-motion guard (static frame)
- 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 retheme
- No pointer interactivity — purely autonomous
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.
- 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…