Image room — head tracked
Drop any picture in and it becomes the back wall of a room whose floor, ceiling and side walls are projected from a vanishing point that follows your head. Depth, layer count and the vanishing point are knobs. The picture never leaves the tab.
How it moves
The scene reads the pose each frame and moves its vanishing point and depth planes with it; the whole frame tilts and zooms a little as you lean.
Use it
Import it from @leumas/headlock and mount a HeadlockStage, or copy the snippet on this page. The camera starts only when the visitor presses the button. Tags: canvas, image, room.