∞ forever components

Cards

Light Caustics Lens

Card that tilts toward the pointer while soft lime and neutral caustic light shifts behind it.

css+canvasmedium complexitymoderate motionpointer

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 →
1

When to use it

Working with an AI agent

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

Safe to edit

  • Forever Opus tokens on :root (--bg, --surface*, --text*, --border*, --accent) — one lime accent, no gradients
  • copy and data values in markup/script

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.
  • Touch has no hover tilt; the wall tile tilts from the demo or arrow keys.

cardcausticstiltlightlens

More Cards components

  • 3D Tilt ParallaxDark card tilts in 3D toward the cursor; badge, orb, and text layers float at distinct Z-depths. A radial shine tracks the pointer; auto-rotates until…
  • Frosted GlassA frosted glass card floats over three slowly drifting color blobs (gold, cream, tan); the panel lifts slightly on hover.
  • Spotlight HoverDark card with a peach radial glow and a CSS-masked grid that both track the cursor; auto-orbits when the pointer is away.
  • Gradient-Border GlowDark card framed by a spinning conic powder-blue, tan and slate gradient border with a soft blurred aura glow behind it; auto-rotates continuously.
  • Reveal on HoverDark gradient card that dims and zooms its background art on hover while a hidden title-and-copy panel slides up from the bottom.
  • Holographic IridescentA 3D-tilting card with a warm iridescent sheen and conic foil chip that shift with pointer position; drifts idly until first deliberate input.