← Mograblog / Demos /

🧊 In-Browser 3D Depth (WebGPU/WASM)

Pick a sample or upload any 2D photo to turn it into 3D
🧊

Move your mouse over the photo once rendered to tilt in 3D

Runs depth-anything-v2-small locally via WebGPU / WASM.

Tip: Move your cursor across the image (or toggle Auto-Float) to feel the 3D parallax. —
View Mode
3D Depth Intensity 0.025
How it works

1. Depth Anything V2 Small predicts per-pixel distance directly in your browser.
2. A lightweight WebGL displacement shader shifts foreground pixels faster than background pixels as you move.