Alpha compositing playground

The entire "remove / change background" trick is this one line, run for every pixel: new = α·person + (1−α)·background. Drag the sliders — the math computes live. From the post How an AI cuts you out of a photo.

person
×α +
background
×(1−α) =
the pixel you see
α=1 → pure person (faces never get touched). α=0 → pure background. The soft grays at hair edges are everything in between.
Left: fully "person". Right: fully background. The anti-aliased middle is where the equation earns its keep.

Everything on this page runs in your browser — like every JigsawLabs tool, including Remove Background itself. 🔒 Nothing uploads.