INTERACTIVE

CAMERA

This interactive visual project showcases a high-definition Matrix-inspired effect with a unique twist—a real-time camera feed integrated with a dynamic, delayed visual transition. Users experience the iconic raining-code aesthetic from the Matrix, progressively revealing a pixelated version of themselves captured live, creating an immersive and engaging experience.

click start and move in camera

Technical s

Developed using p5.js, this project combines video processing, pixel manipulation, and animation techniques. Here's how it works:

  • High-Resolution Grid: The canvas is divided into a grid with small font sizes to ensure detailed, sharp visuals resembling the classic Matrix raining code effect.

  • Live Video Capture: Real-time webcam footage is captured, resized, and pixelated to match the grid dimensions, creating a stylized representation of the camera feed.

  • Delayed Camera Feed: Frames captured from the camera are buffered and displayed with a deliberate 5-second delay, adding intrigue as the visual slowly reveals itself over time.

  • Transition Animation: Initially, the canvas displays continuously changing randomized code characters, emulating the iconic Matrix effect. After the delay, a vertical reveal animation transitions the visuals from random code to the delayed, pixelated camera feed.

  • Brightness Mapping: Pixel brightness from the delayed video frames determines the specific characters displayed, intelligently mapping visual intensity to character density, enhancing depth and detail.