forever components

Art Deco

Fan Bloom

A 16-rib peacock fan blooms open and closed from a sunburst medallion over a gold ziggurat base; each rib has barbs and an emerald eye-spot.

canvasmedium complexitymoderate motion

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 →
Worth keeping? Votes steer what gets built next — sign in to cast one, free to read

When to use it

Dark luxury hero backgrounds, art deco themes, ambient looping displays needing ornate geometric motion.

When not to

Light-background UIs (background hardcoded near-black). Contexts where slow 9-second cycle feels too sedate.

Working with an AI agent

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

Change rib count to 24 by setting RIB=24, shift the accent to rose gold by replacing GOLD="#d4af37" with GOLD="#c9956c", and slow the cycle to 12 seconds. 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

  • rib count (RIB=16)
  • bloom cycle duration (9s cycle)
  • spread arc width (0.30+0.65*open multipliers)
  • gold color palette (GOLD, GOLD2, GOLD3)
  • emerald eye color (EMER)
  • barb count per rib (n=7)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • DPR-aware canvas sizing
  • visibilitychange pause/resume
  • prefers-reduced-motion static fallback (drawFrame(0.78,0))
  • IIFE wrapper
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Background color hardcoded near-black in both CSS and radial-gradient — must edit both to change
  • No touch/pointer interactivity — fully passive
  • Static frame at open=0.78 on reduced-motion may look slightly asymmetric at some viewport sizes

art-decofanpeacockcanvasbloomgoldambient

More Art Deco components

  • Sunburst Fan13 tapered gold rays open and close in mirrored symmetry from a glowing core medallion above a ziggurat plinth, breathing with a 7-second CSS cycle.
  • Ziggurat RiseThree stepped gold ziggurat skyscrapers rise and settle with a damped bob against a radial sunburst on deep black — staggered entrance, then looping.
  • Fountain ArcsSymmetrical golden arcs well up from a central jet with a chevron crown, fanning outward in a breathing 7.2s cycle over a near-black field.
  • Chevron MarchInterlocking gold and ink chevron bands march in alternating directions across a black canvas; a convoy of gold diamonds glides down a central seam.
  • Gatsby FrameGold SVG frame self-draws in fourfold symmetry — ziggurat corners, sunburst fans, chevrons, and a fountain medallion bloom then fade and redraw in a 4.2s…
  • Radial GrilleConcentric gold rings, 16 spokes, and stepped lozenge diamonds counter-rotate in two layers against deep black, evoking a wrought-iron Art Deco elevator…