Bauhaus Geometric
Mobile Balance
A Calder-style kinetic mobile of Bauhaus primary-colored circles, squares, and triangles hang from swaying black balance arms in slow counterpoint.
canvasmedium complexitysubtle 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
Dark-background hero sections, art/design portfolio accents, ambient decorative displays needing calm geometric motion.
When not to
Light backgrounds (hardcoded dark canvas). Contexts needing interactivity or fast motion — this is purely ambient and passive.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Add a fifth leaf shape by appending a leaf('T', BLU, 0.09) to the rightmost arm's subtree and adjusting armLen from 0.20 to 0.26. 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
- sway speed (t * 0.00065 multiplier)
- arm amplitudes (amp values per arm node)
- shape colors (RED, BLU, YEL constants)
- shape sizes (r values in leaf() calls)
- root anchor vertical offset (cy - S*0.40)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- DPR-aware canvas resize block
- visibilitychange pause/resume
- reduced-motion static frame fallback
- IIFE wrapper
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background color hardcoded to #101012 — must edit CSS and frame() fill to change
- Mobile tree is fixed-structure; adding arms requires understanding the recursive arm/leaf data model
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.
- 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…
- Nested Frames14 concentric Bauhaus-palette rectangles zoom endlessly inward via seamless log-scale rebasing; a yellow square and red circle accent the core.