← All models Β· Metric3D

use case Β· wild

Wild: tilt a flat photo in 3D

A single photo has no depth β€” until Metric3D gives it one. With a distance per pixel we can fake a viewpoint change: move your pointer and near things slide further than far things, as if you leaned around them. The "3D photo" effect, from one picture and a metric depth field. Runs on WebGPU or WASM.

Two cats on a couch A sunlit bedroom A riverside at golden hour

Each frame, every output pixel samples the photo shifted by (nearness βˆ’ Β½) Γ— tilt β€” a backward warp using Metric3D's depth (inverted so near pixels move most). It runs on the main thread only while you move; on prefers-reduced-motion it holds a gentle static offset instead of animating.

← Practical Β· Metric3D Β· Next: Multi-model β†’