Camera Ball
Webcam-driven physics POC. MediaPipe selfie segmentation isolates you from the background, an HSV filter extracts a chosen color within that region, and the resulting binary mask is fed into a chamfer distance transform. The falling ball samples the SDF each frame and bounces off any colored pixels under camera.
StatusColor presetHSV target
camera: idle
segmenter: loading
tip: click the camera feed to sample a color
346° → 0° → 14°
hue
tolerance
sat min
val min
purity
morph close
Physicsgravity
normal damp
tangent damp
jitter
min speed
sub-steps
ball size
Displayshow video
show mask
person only