← Showcases

3D Parallax & Cutout Studio

About & Code

Standalone App & PWA

Opens on its own origin so you can install it as a standalone desktop/mobile PWA (uses its own separate local model cache).

Open cutout.webai.show ↗

Staying on webai.show shares ORMBG & Depth Anything v2 weights across all showcases and model pages.

1 · Chained Local Vision Workers (Shared Cache Storage · ~71 MB WASM q8 / ~94 MB WebGPU fp16)

Stage 1 · ORMBG Cutout Matte (44.3 MB WASM q8 · Apache-2.0)

Stage 2 · Depth Anything v2 Small (~27 MB WASM q8 / ~50 MB WebGPU fp16 · Apache-2.0)

2 · Interactive 3D Multi-Layer Parallax & Cutout Stage

Initialise ORMBG (Stage 1) and/or Depth Anything v2 Small (Stage 2) above to build live 3D depth-sandwiched cutouts.

Depth-Sandwiched Typography & Palette (0 ms live)

Layer 1 · Studio Backdrop

Optical Depth, Parallax & Die-Cut Sliders

70%
14 px
195 / 255
0 px
Active StagesWaiting
Solid FG Matte—
Soft Edge Band—
FG vs BG Depth—
Depth Separation—
Inference Latency—

Stage 1 · ORMBG Alpha Matte Histogram (Log-Scaled)

0 · BackgroundSoft Hair / Fur Edge255 · Foreground

Stage 2 · Depth Anything v2 Relative Depth Histogram

0 · Far HorizonMidground Plane255 · Near Camera

signature showcase · spatial vision · ORMBG (44.3 MB WASM q8) + Depth Anything v2 Small (~27 MB WASM q8 / ~50 MB WebGPU fp16) · 100% local

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)

Architecture & Honest Trade-Offs

Honest Dual-Backend Sizing (~71 MB WASM / ~94 MB WebGPU)

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.