Form Foundry
An abstract architectural form assembles itself block by block on a studio plinth, in daylight or at dusk.
A Three.js construction study. Choose a stepped ziggurat, three stacked monoliths, a lattice spire, an arch, a ring tower or a field of columns: blocks drop course by course onto a two-step plinth, settle, hold, then clear and rebuild. Every colour comes from the theme tokens: in light mode the form sits in paper-white haze under a pale sun, in dark mode it is a dusk scene with a moon and a primary-tinted rim light, and it re-colours when the theme or palette changes. Drag to turn the view. When focused, Space pauses, R rebuilds and S changes the form. The scene pauses when off screen or in a hidden tab. When the user prefers reduced motion it shows the finished form as a still frame.
Installation
CLI
npx @modus-ui/cli add form-foundryManual
- Install
three. - Copy the code from the component tab.
- Create a file at
components/ui/form-foundry.tsx. - Paste the code.
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "ziggurat" | "monoliths" | "lattice" | "arch" | "ring" | "columns" | "ziggurat" | Which form assembles on the plinth. |
className | string | None | Extra classes for the absolute container. |
Comments