/labs/depth-through-brightness

Depth Through Brightness

Analyzing brightness in realtime video to create three-dimensional depth.

Author

Neil Pullman

Technologies

Three.js, shaders

Creating a three-dimensional depth effect using Three.js. Depth levels are based on brightness values  that are acquired through analyzing realtime video. The brighter the pixel, the nearer the depth. The resulting effect is neat and somewhat haunting.

Enable your webcam to see the effect happen live on your screen.