Creative exploration
The professional site stays intact. A second skin shows range: holographic, playful, hand-built.
Hover to tilt · click to turn
components/fun/HoloCards.tsx
- Asked
- Give the site a second skin: holographic, three-dimensional, a little game-like, without changing a word of content or adding a WebGL scene. Every image should become a card you can turn and move. Make discovering it part of the fun.
- Came back
- The first pass wrapped each image in a new card component, which meant touching every container on the site and keeping two trees in sync. I asked for a DOM enhancer instead: on entering the mode it finds each image's visual card, tags it, and writes transforms directly; React never styles those nodes, so the two never fight, and everything is undone on exit. The gesture model was the other call. Turn is the primary action and owns the whole card, the 3D-viewer convention; move is secondary and never competes for the same gesture (a grip bar, press-and-hold, or shift-drag); a click collects. Nothing announces the game. The tray only appears after the first collect.
- Kept
- One switch reboots the site into a dark holographic world: a canvas starfield, every image a card with a wireframe back face carrying its caption, momentum on the turn, a collection tray, and levels that recolour the sky. Plain canvas and CSS 3D. Zero new dependencies.
