A real WebGL cloth curtain on a rail: a Verlet mass-spring grid with anime cel shading in a deep wine-red by default (pass tones to recolour) that sways in the breeze, gathers into folds as it draws aside (single panel or a centre-parting pair), can follow a dragging hand, and has an adjustable see-through amount. The canvas is aria-hidden and pauses when off screen or the tab is hidden. Under prefers-reduced-motion, or without WebGL, it shows a static striped curtain that switches instantly.
pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/cloth-curtain.json"