Mosaic Flip
- group .........
- Galleries and grids
- source ........
- https://ui.aryank.space/components/mosaic-flip
- markdown ......
- /lab/mosaic-flip.md
- human .........
- /lab/mosaic-flip
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A wall of 3D cubes that idles with a slow random breathing, then flips over in a center-out stagger to swap project images — each picture sliced across the grid and turned tile-by-tile. A queue absorbs rapid hovers. Built with GSAP.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Sliced, not tiled
Every cube paints the same full image with a shifted background-position, so the grid reassembles one picture. The flip turns that picture over rather than swapping a mosaic of thumbnails.
* Hidden-face swap
The incoming image is painted onto whichever face is currently turned away, then the grid rotates 180°. You never see the paint happen — only the reveal.
* Queued hovers
A reveal in flight parks the next request and runs it on completion, so dragging across the list resolves to the last project instead of stuttering.