∞ forever components

Gold-Leaf Ornamental Studies

Gilded Halo

Concentric rings and gold-leaf flecks bloom from pointer or keyboard strikes in a Vienna Secession gold register. First input stops automatic strikes; manual bursts finish and the renderer sleeps.

canvasmedium complexitymoderate motionclickmobile-ready

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

Dark luxury hero backgrounds, art-inspired installations, gold-leaf/Art Nouveau themed UIs needing ambient gold motion.

When not to

Contexts needing legible content overlaid: rings and flecks compete visually. Decorative feedback does not announce events through an aria live region.

Working with an AI agent

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

Tune --kli04-hi and --kli04-gold2, rings per strike (4), expansion speed (54+i*20), fleck count and gravity. Preserve the demo-v1 lifecycle: initialize demoEnabled from window.__foreverPreview, stop automatic strikes on forever:interactive or direct input, and retain finite manual cleanup. Preserve keyboard Enter/Space, element-sized DPR canvas, reduced-motion repaint and theme tokens/messages.

Safe to edit

  • gold colors (GOLD2, GOLD_HI)
  • rings per strike (loop i<4)
  • ring speed base (sp: 54+i*20)
  • fleck count (10+random*8)
  • auto-strike interval (1.5s)
  • fleck gravity (60*dt)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • DPR-aware fitCanvas()
  • visibilitychange pause/resume
  • prefers-reduced-motion guard + static fallback
  • IIFE wrapper
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
  • demo-v1 lifecycle and sticky demoEnabled flag; retain finite manual feedback and sleep after cleanup
  • stage button semantics, focus indication and Enter/Space activation
  • 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

Known limitations

  • Pointer movement strikes at 5% probability; heavy movement can add bursts.
  • Decorative canvas button exposes a label and keyboard action, but no aria live region for drawn events.
  • Values and particles remain local to each mounted instance; changing format preserves takeover, not simulation state.
  • State remains local to each mounted instance; format/theme remount preserves takeover, not component values.

goldhaloringsparticlescanvasdark

More Gold-Leaf Ornamental Studies components

  • The Golden TreeRecursive gold fractal tree grows and breathes via a pulsing sine wave, with spiral coil tips and drifting gold flecks against a near-black background.
  • Mosaic ShimmerA 14x10 grid of gold tesserae pulses in diagonal sine-wave shimmer; sparse jewel-toned accents pop against the gold, evoking Byzantine mosaic.
  • Spiral Ornament EngineGold spirals, all-seeing eyes, and gilded triangles fade in and out against a near-black background, slowly rotating as they drift through their lifespan.
  • The Pattern LoomThree gold friezes of gold-leaf symbols (circles, spirals, triangles, eyes) scroll in alternating directions at staggered speeds, endlessly re-weaving.
  • Falling GoldDiamond-shaped gold flakes drift and sway downward against a near-black background, each shimmering in opacity as they tumble and rotate.
  • Byzantine CounterpointTwo SVG columns of spirals, eyes, and triangles in gold and malachite cycle motifs and counter-rotate every 900ms in phase-shifted counterpoint.