forever components

Art Deco

Ziggurat Rise

Three stepped gold ziggurat skyscrapers rise and settle with a damped bob against a radial sunburst on deep black — staggered entrance, then looping.

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 art-deco hero backgrounds, luxury brand intros, architectural or city-themed ambient displays.

When not to

Light backgrounds (hardcoded dark bg). Contexts needing text overlays — towers occupy center of canvas.

Working with an AI agent

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

Change GOLD to '#c9a227', increase the center tower tier count by adding a tier [0.18, 0.7] at the top of its tiers array, and slow the rise cycle by changing the 0.4 speed multiplier to 0.25. 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

  • gold palette (GOLD, GOLD2, LINE constants)
  • tower tier dimensions (TOWERS array widths/heights)
  • rise speed multiplier (el*0.4)
  • stagger offsets (startMul array)
  • unit scale (Math.min(W,H)/22)
  • sunburst ray count (n=24)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

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

Known limitations

  • Background color hardcoded in CSS and JS — must change both BG constant and CSS to retheme
  • No interactivity — passive only
  • Towers always centered; layout not responsive to extreme aspect ratios

art-decoarchitecturegoldzigguratrisecanvassunburst

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.
  • 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.
  • Fan BloomA 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.
  • 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…