Projects

Head-Tracked
Parallax Viewer

Your webcam becomes a 3D input device. Head position and gaze control a real-time parallax camera โ€” no controllers, no headset.

๐Ÿ“ท Each demo requests camera access. No video is stored or transmitted โ€” all processing runs locally in your browser.
MediaPipe FaceMesh Three.js WebGL Vanilla JS No install Webcam only
Live Demos โ€” click to launch
๐Ÿ›๏ธ
Room Viewer
Full 3D room parallax. 6 procedural room presets, 9 real-world HDRI environments, 20 scene models. Motion presets for desktop and projector.
Room parallaxHDRI lightingMotion presets
Launch Demo
๐Ÿ›๏ธ
Floating Product Cards
CSS 3D cards at different depth layers. Near cards shift most, far barely move. No WebGL โ€” pure CSS, embeddable in any product page.
CSS 3D onlyNo WebGLEmbeddable
Launch Demo
๐ŸŒ€
Portal Room
A glowing circular portal into a Three.js corridor. Head controls viewing angle through the portal โ€” floating shapes, pillars, coloured lights beyond.
Portal effectCSS clip maskThree.js
Launch Demo
๐Ÿ—๏ธ
Staircase Depth
Stone staircase descending into a glowing corridor. Head movement changes viewing angle across the full 3D scene. Drag the sensitivity dial to adjust.
Three.js sceneDepth lightingSensitivity dial
Launch Demo
๐Ÿ‘๏ธ
Gaze Laser System
Face orientation drives eye lasers into a 3D cube โ€” a hands-free selection cursor. Dual-signal gaze fusion: cheek depth + nose offset for accuracy.
Gaze trackingSelection systemHands-free
Launch Demo
How It Works
๐Ÿ“ท
MediaPipe FaceMesh
478 facial landmarks at 25โ€“30fps entirely in-browser via WebAssembly. No server. No data leaves your device.
๐Ÿงฎ
Spherical Orbit
Head X/Y mapped to yaw/pitch. Camera position from spherical coordinates, always looking at object centre. Object stays fixed.
๐Ÿ”
Proximity Zoom
Inter-ocular distance as depth proxy. Leaning in narrows FOV โ€” mirrors physically inspecting something up close.

Source: github.com/fivelidz/parallax_tracker ยท All demos run entirely in-browser ยท No data collected