Cloth
A real spring-mass cloth (Verlet) hanging from its top edge and rippling under procedural wind, with the theme woven --primary to --accent.
A real spring-mass cloth (Verlet integration) hanging from its top edge and rippling under procedural wind. The theme gradient is woven top-to-bottom, --primary → --accent, and the fabric catches the scene lighting.
Customize
Resolution26
Speed1
Wind1
Environment
Props
| Prop | Type | Default | Description |
|---|---|---|---|
segments | number | 26 | Grid resolution per side (finer = heavier sim). |
speed | number | 1 | Overall motion speed multiplier. |
wind | number | 1 | Wind strength. |
className | string | — | Classes for the wrapper element (set its height here). |
theme | "auto" | "light" | "dark" | "auto" | Color source. auto reads the live shadcn theme. |
segmentsnumberGrid resolution per side (finer = heavier sim).
Default
26speednumberOverall motion speed multiplier.
Default
1windnumberWind strength.
Default
1classNamestringClasses for the wrapper element (set its height here).
Default
—theme"auto" | "light" | "dark"Color source. auto reads the live shadcn theme.
Default
"auto"