Turn any portrait, pet, landscape, or product photo into an interactive 3D multi-layer parallax poster
with bold editorial typography tucked behind your subject, depth-guided synthetic bokeh,
and Euclidean die-cut vinyl stickers. Two Apache-2.0 neural models run off the main thread in your
browser with zero server uploads and 0 ms live creative editing over cached matte + depth tensors.
Inspect the Optical Compositor, Euclidean Dilation & FIFO Worker Code
Show O(W·H) separable depth-guided synthetic bokeh compositor (studio-core.mjs)Show Felzenszwalb-Huttenlocher O(W·H) Euclidean sticker dilation (studio-core.mjs)Show 3-layer optical parallax offset math (studio-core.mjs)Show FIFO-serialized lifecycle-safe ORMBG worker client (studio.js)
Stage 1 runs ORMBG (onnx-community/ormbg-ONNX, Apache-2.0) at 44.3 MB WASM q8
across every browser. Stage 2 runs Depth Anything v2 Small (onnx-community/depth-anything-v2-small,
Apache-2.0), auto-selecting ~50 MB WebGPU fp16 when an adapter is available and falling back
cleanly to ~27 MB WASM q8 on CPU-only devices.
Halo-Free Normalized O(W·H) Depth Bokeh
Blurring an unmasked photo bleeds foreground edges into the background as a muddy halo. Combining ORMBG's
alpha matte with Depth Anything v2 lets our separable sliding-window blur weight pixels by
(1 - alpha), suppressing foreground spill while keeping focus-plane scrubbing instant.
Graceful Partial-Stage & Reduced-Motion Parity
You never have to wait for both models: ORMBG alone unlocks behind-subject typography, studio backdrops, and
die-cut sticker PNGs, while Depth Anything v2 alone drives click-to-focus synthetic bokeh. Tilt automatically
starts frozen under prefers-reduced-motion: reduce with an explicit toggle and Arrow-key support.
Zero-Upload Privacy & Clean Local Exports
Uploaded photos are white-flattened onto an opaque canvas in-tab and never leave your device. Poster PNG,
transparent RGBA Cutout PNG, and JSON telemetry exports capture immutable snapshot metadata before encoding.