forever components

Bauhaus Geometric

Stage Reveal

Eight colored bars split left/right like a stage curtain to reveal a primary-red circle with a gold ring, then close again in a 4.6s loop.

svglight 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

Hero sections needing dramatic geometric reveals, Bauhaus/constructivist aesthetic pages, loading or intro animations.

When not to

Contexts requiring immediate content visibility — curtain obscures center for first 50% of each cycle. Avoid on slow connections where CSS animation may stutter.

Working with an AI agent

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

Change the revealed circle color to #1f4ea8 (Bauhaus blue) and slow the cycle to 6s by updating animation-duration from 4.6s to 6s on all animation rules. 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

  • curtain bar colors (fill attributes on rect elements)
  • animation duration (4.6s on all keyframe rules)
  • circle fill color (#e63329)
  • ring color (#f4c20d stroke)
  • curtain slide distance (118% in keyframes)
  • stage cycle pacing (curtain/actor timing in the loop — re-paced so the stage moves within the first 3 s)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • bh11-L / bh11-R transform-origin split (left center / right center)
  • prefers-reduced-motion static fallback block
  • visibilitychange pause handler
  • IIFE wrapper
  • continuous stage loop (paused on visibilitychange)
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • All animations share a single 4.6s duration — changing speed requires updating every animation-duration declaration
  • Background color is hardcoded in both CSS and SVG rect — must edit both to change it

bauhauscurtainrevealgeometricloopsvgtheater

More Bauhaus Geometric components

  • Grid Construction16 primary-colored geometric shapes scatter then snap into a 4x4 modular grid, hold, dissolve, and recompose in a new Bauhaus arrangement.
  • Orbiting ArcsConcentric red, blue, and yellow arcs counter-rotate around a breathing core; scattered dots and a tilted segmented bar orbit in abstract Bauhaus style.
  • Form TrioRed circle, blue square, and yellow triangle orbit a slow-rotating armature while each shape independently spins, pulses, or tilts on a dark field.
  • Mobile BalanceA Calder-style kinetic mobile of Bauhaus primary-colored circles, squares, and triangles hang from swaying black balance arms in slow counterpoint.
  • Dot Rhythm8x8 grid of red, blue, yellow, and white dots pulsing in diagonal travelling waves; two interfering sines modulate scale and opacity for a rhythmic beat.
  • Diagonal CounterpointRed and blue diagonal bars sweep in opposing directions and cross at center; a pulsing yellow square node and slow-spinning dashed ring anchor the…