Real-time hand visualizer that draws rainbow glowing lines between your fingertips using just a webcam.
Point your fingers at the camera and watch colorful glowing lines connect between every fingertip — they even extend beyond the screen for a cool antigravity effect.
The more fingers you show, the more lines appear. Works with both hands too.
- Python
- OpenCV
- MediaPipe
- NumPy
pip install opencv-python mediapipe numpy
python air_canvas.pyStarted by learning hand landmark detection with MediaPipe, then added gradient colored lines between fingertips, glow effects using Gaussian blur, and smoothing to remove jitter.
Took me a while to get the lines looking aesthetic but pretty happy with how it turned out.
- Gesture based color switching
- Music visualizer mode
- Browser version
Part of my AIML learning journey