Cassette Tower
- group .........
- 3D and WebGL scenes
- source ........
- https://ui.aryank.space/components/cassette-tower
- markdown ......
- /lab/cassette-tower.md
- human .........
- /lab/cassette-tower
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A rotating, looping tower of modeled cassettes, one per project, rendered in WebGPU with motion blur, depth of field, bloom and film grain. Pointer movement tilts the camera, hovering a cassette slows the stack and shows its project image, and dragging spins it. Pass your own projects and label. The bizar.ro renderer runs inside an isolated document.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Every cassette is modeled geometry
Shells, hubs, tape and glints are instanced meshes, and each label is a canvas texture drawn per project. The stack loops vertically while it rotates, and a post chain adds motion blur, depth of field, bloom, chromatic aberration, ACES tone mapping, grain and a vignette.
* Hover slows the stack
Pointing at a cassette eases the rotation down and draws that project's image as fragments around it. Dragging adds spin and vertical travel; the project list beside it follows the active cassette.
* Isolated document
The source runtime looks up elements by selector on the global document and owns window listeners. An iframe keeps those, its CSS and the WebGPU device inside this component and releases them on unmount.