Loaders
Lissajous Phase Lock
Oscilloscope Lissajous trace cycling frequency ratios until it phase-locks; pointer sets sweep speed, click or Enter changes ratio.
canvaslight complexitymoderate motionpointeraccessible
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
Instrument, signal or data-tool loaders where a looping oscilloscope figure suits the subject and a small readout is welcome.
When not to
Loaders that must show real progress; the ratios cycle on a timer and carry no state. Avoid areas under about 180 px, where the readout gets too small to read.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Edit the P array of [a, b, label] presets to change the frequency ratios, the beam colour through --lsj-accent, and the sweep speed range in the pointermove handler (.004 + nx*.035). Keep role="button" on #lsj-root with its Enter and Space handler. 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
- Forever Opus tokens on :root (--bg, --surface*, --text*, --border*, --accent) — one moss accent, no gradients
Keep intact
- demo-v1 preview lifecycle: initialize demoEnabled from window.__foreverPreview and stop attract work on the window forever:interactive event; retain manual feedback, settling, cleanup and explicit sessions
- theme hook: ?theme= bootstrap, forever:theme message listener and :root[data-theme="light"] tokens
- IIFE wrapper, visibilitychange sleep, prefers-reduced-motion guard, time-based (dt) animation
Known limitations
- State remains local to each mounted instance; format/theme remount preserves takeover, not component values.
- Reduced motion shows one static frame.
More Loaders components
- Morphing BlobGlazed moss-green blob slowly morphs border-radius and rotates, with a recessed ghost well counter-rotating. Shading stays fixed while the shape turns;…
- DNA HelixTwo columns of 10 persimmon and saffron dots swing left-right in opposite phases, tracing a rotating DNA double helix. Cycling status messages fade in below.
- Skeleton ShimmerDark content-placeholder card with avatar circle and staggered text bars swept by a looping gold-to-tan shimmer gradient. Pure CSS, no JS logic.
- Particle Orbit18 glowing terracotta, verdigris, and ochre particles orbit a white core on wobbling elliptical paths; trailing fill creates a comet-like motion blur effect.
- Concentric PulseFour concentric rings ripple outward in staggered saffron, teal and slate waves from a beating domed teal glaze core on graphite, lit from above with…
- Equalizer BarsSeven pill-shaped vermillion-to-tan gradient bars bounce at staggered offsets, mimicking an audio equalizer. Pure CSS scaleY animation.