Art Deco
Chevron March
Interlocking gold and ink chevron bands march in alternating directions across a black canvas; a convoy of gold diamonds glides down a central seam.
canvasmedium complexitymoderate motion
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
Worth keeping?
Votes steer what gets built next — sign in to cast one, free to read
When to use it
Art deco hero backgrounds, luxury brand splashes, ornamental loading screens with a black-and-gold palette.
When not to
Light-background UIs — background is hardcoded near-black. Contexts requiring legible text overlays due to constant band motion.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change GOLD to '#c9a84c' and GOLDHI to '#ffe066', increase baseSpeed multiplier from 0.10 to 0.18 for a faster march, and raise diamond count dn from 7 to 12. 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, GOLDHI, GOLDLO constants)
- march speed (baseSpeed = W*0.10)
- band height ratio (H/9)
- diamond count (dn=7) and size (bandH*0.30)
- chevron amplitude (bandH*0.85)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- DPR-aware canvas sizing and setTransform
- visibilitychange stop/start lifecycle
- prefers-reduced-motion static-frame fallback
- IIFE wrapper
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background color hardcoded in CSS and BG constant — must change both to alter background
- Gradient objects (goldGrad, inkGrad) are rebuilt on resize but not on palette changes at runtime
- No pointer/click interactivity — purely passive
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.
- 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…