Hologram Walkway
- group .........
- 3D and WebGL scenes
- source ........
- https://ui.aryank.space/components/hologram-walkway
- markdown ......
- /lab/hologram-walkway.md
- human .........
- /lab/hologram-walkway
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
An isometric pixel scene in the rain. Walk a man up an endless elevated walkway with the up and down arrows; when he reaches her place, a giant pink hologram projects in, turns, greets him with her cheek on her hand and points down at him, with subtitles. Software rasteriser, a ray-marched hologram baked in Web Workers, fog, puddle reflections, an isometric city and neon signs.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* One walk, one scene
The man starts down the walkway. When he reaches her place he stops and cannot move until she has spoken: she projects with her back to him, turns, greets him with her cheek on her hand, then points at him. Walking on plays her parting line.
* Baked, then shifted
The walkway and the city repeat along the walk, so each bakes once and the camera takes a shifted window. Her 15 frames ray-march in Web Workers while he walks in.
* Canvas sizing
The scene is 960 by 540 pixels and scales to its box in whole-pixel steps when the box is large enough. Give the parent a height.