An open-source WebGPU photo editor with real-time 3D relighting, neural depth estimation, and matting. Completely local and private.
Cast virtual point lights in 3D coordinates with continuous specular reflections, surface normals, and immediate feedback.
Extract high-resolution 3D depth topology from standard 2D photos using Depth Anything V2 with sub-millimeter precision.
Selective 8-channel spectral grading, cinematic LUT presets, and instant neural background isolation with sub-pixel hair matting.
Position interactive lights in 3D coordinate space with physically-based Cook-Torrance specular highlights, normal falloff, and shadow maps.
Launch in 3D EditorMonocular metric depth estimation and 3D surface normal reconstruction from 2D photos via on-device Depth Anything V2.
Inspect Depth PipelineExtract alpha mattes with sub-pixel boundary refinement. Perfect edge feathering for hair, glass, and complex silhouettes.
Extract BackgroundIndependent Hue, Saturation, and Luminance channels with 32-bit floating point precision and real-time GPU RGB histogram analysis.
Open Color GradingNon-destructive object removal and blemish synthesis with neural inpainting, seam carving, clone stamps, and interactive liquify mesh.
Launch Healing BrushReconstruct micro-textures with 2× and 4× super-resolution upscalers. Export uncompressed 16-bit PNG, WebP, and production 4K prints.
Upscale Image 4×Move your cursor across the stage to test real-time key light dynamics, color temperature, and specular shine.
Mathematical derivation of normal maps from scalar depth gradients, GGX microfacet distribution, and WebGPU WGSL lighting passes.
Execution benchmarks of ONNX Runtime Web, 128-bit SIMD vectorization, web worker threading, and zero-copy texture transfers.
Non-destructive 32-bit floating point matrix calculations, linear gamma curve adjustments, and wide-gamut chromaticity preservation.
// WebGPU WGSL Fragment Shader: Physical Cook-Torrance BRDF
fn cookTorranceSpecular(N: vec3<f32>, V: vec3<f32>, L: vec3<f32>, roughness: f32) -> f32 {
let H = normalize(V + L);
let NdotH = max(dot(N, H), 0.001);
let NdotV = max(dot(N, V), 0.001);
let NdotL = max(dot(N, L), 0.001);
let alpha = roughness * roughness;
let alpha2 = alpha * alpha;
// GGX / Trowbridge-Reitz NDF
let denom = NdotH * NdotH * (alpha2 - 1.0) + 1.0;
let D = alpha2 / (3.14159 * denom * denom);
// Schlick-Smith Geometric Attenuation
let k = (roughness + 1.0) * (roughness + 1.0) / 8.0;
let G = (NdotV / (NdotV * (1.0 - k) + k)) *
(NdotL / (NdotL * (1.0 - k) + k));
return D * G / (4.0 * NdotV * NdotL);
}
Images decode directly into browser GPU texture memory with zero network requests.
Depth Anything V2 executes via ONNX Runtime Web with 128-bit WebAssembly SIMD multi-threading.
WebGPU/WebGL2 fragment shaders compute normal vectors and physical specular highlights at 60 FPS.
Full-resolution PNG, WebP, or JPEG files are generated directly on your machine without cloud compression.
Your photos never leave your machine. No telemetry, no background analytics, and no training on user images.
Direct GPU computation eliminates network round-trips, giving you instant, reversible visual feedback as you adjust lights.
100% free and open source. Inspect the code, fork the repository, or build custom shaders for your own creative workflow.
Details on browser compatibility, model execution, and offline support.
Open source, private, and runs entirely in your browser.