forever components

Constructivist

Crane Build

A Constructivist tower crane sways and hoists a red block while a stack builds on a foundation; bold red wedge, white band, and amber rule compose the backdrop.

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

Constructivist or industrial-themed hero sections, portfolio backgrounds, or motion displays needing bold geometric storytelling.

When not to

Light-background UIs (background is hardcoded near-black). Contexts where legible text overlays are needed — the crane and stacking blocks compete for attention.

Working with an AI agent

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

Change the jib color from RED to AMBER and increase crane swing amplitude from 0.07 to 0.14 to make the sway more dramatic. 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

  • color constants (RED, WHT, AMBER, INK)
  • crane swing amplitude (0.07)
  • mast height (S*0.52)
  • hoist cycle speed (time*0.22)
  • stack block count cycle (% 4)
  • jib boom length (S*0.46)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

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

Known limitations

  • Background color hardcoded in both CSS and JS — must change in both places
  • Stacked block count resets cyclically every 4 blocks, not a true progressive build
  • No pointer interactivity — purely passive

constructivismcranegeometriccanvasloopindustrialanimation

More Constructivist components

  • Diagonal ThrustRed and black arrow-tipped slabs sweep along a -28° diagonal axis over a black field; a dark-red disc and a bold type bar anchor the composition.
  • Red WedgeRed wedge drives into a recoiling black disc, scattering shards; bold slab type fades in after impact. Looping Constructivist poster animation.
  • Rotodynamic18 slab bars and word spokes radiate from an off-center hub, rotating at staggered speeds in a Rodchenko red-black-bone palette.
  • Floating FormsSuprematist field: tilted black square anchors red and off-white bars, squares, and a dot drifting in slow staggered CSS cycles on near-black.
  • MegaphoneA Constructivist megaphone emits expanding concentric red and paper-white arc rings across a dark field with bold diagonal bars. Runs autonomously.
  • Gear PosterThree SVG gears spin at different speeds while red diagonal bars slam in and slab-type text assembles — all on a dark constructivist grid.