forever components

Bauhaus Geometric

Nested Frames

14 concentric Bauhaus-palette rectangles zoom endlessly inward via seamless log-scale rebasing; a yellow square and red circle accent the core.

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-mode hero backgrounds, geometric/Bauhaus art themes, ambient looping displays or digital signage.

When not to

Light-background layouts (background hardcoded #101012). Contexts where constant inward motion may distract from primary content.

Working with an AI agent

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

Change PERIOD from 5200 to 8000 for a slower zoom, reduce RINGS to 10, and swap PAL[0] to '#ff9900' for an orange accent.

Safe to edit

  • zoom period (PERIOD=5200ms)
  • ring count (RINGS=14)
  • Bauhaus palette (PAL array)
  • scale step between rings (SCALE=1.46)
  • rotation per ring (r.rot value 0.035)

Keep intact

  • log-scale rebasing formula (Math.pow(SCALE,p))
  • IIFE wrapper
  • visibilitychange pause/resume
  • DPR-aware canvas sizing

Known limitations

  • Background color hardcoded in CSS and JS BG variable — must change both
  • No pointer interactivity; purely passive
  • Reduced-motion renders a single static snapshot only

bauhausconcentriczoomgeometriclooprectanglesinfinite

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…