Image → a little herd

Cochon / Image studio

Fit an image with a fixed budget of tiny 3D pigs. Watch their colors, sizes, and positions learn, live in your browser.

Preparing WebGPU
01 / ReferenceNo image yet
Choose an image or try the example.
Full image, aspect ratio preserved
02 / Live fitWebGPU renderer
Your herd will appear here.
Drag to orbit · scroll to zoom · reset for the fitted view
Step—
Image error · MSE—
PSNR · higher is better—
Training time—

Preparing the GPU. Images and training stay in this browser.

This is a single-view fit, with fixed depth and no view-dependent color. Other angles reveal the shallow 3D arrangement; they are not reconstructed views of the original image.