Opening sample...
Depth not analyzed Paint / Surface

Starting WebGPU...

Downloads a 99 MB model once. Runs locally.

Analyze depth to start painting on surfaces. Flat mode works without it.
Inspect image layers

Start on the surface you want to paint. Each stroke stays on that surface.

B paint L light E erase D decal [ ] radius

How Deep Brush works

Inspired by Adobe's Project Deep Brush. Depth Anything V2 Small runs in Rust and WGSL to estimate depth from your image. Surface normals guide paint and decals; a smart mask keeps each stroke on surfaces like the one it started on, so paint goes behind whatever stands in front. A heuristic shading split preserves texture and shadows. Depth is estimated, not measured: hair, glass and very thin edges can come out soft.

Drop or paste any browser-supported image. Large images are resized to a 2048 px edge. Nothing is uploaded. The depth model downloads from Hugging Face and stays cached in this browser.