Skip to content

ShakalBhau0001/neon-hand-gesture-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŒ Neon Hand Gesture Visualizer โœ‹โœจ

A futuristic real-time hand-tracking AR experience built using MediaPipe + JavaScript. This project transforms your hand movements into dynamic neon visuals, particle effects, gesture-based interactions, and reactive audio.


๐Ÿงฑ Project Structure

neon-hand-gesture-visualizer/
โ”‚
โ”œโ”€โ”€ index.html         # Main UI structure
โ”œโ”€โ”€ main.js            # Core logic (hand tracking, effects, audio)
โ”œโ”€โ”€ app.css            # Styling & UI design
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ README.md          # Project documentation

โœจ Features

โœ‹ Real-Time Hand Tracking

  • Uses MediaPipe Hands
  • Detects up to 2 hands simultaneously
  • Tracks 21 landmarks per hand

๐ŸŽฏ Gesture Recognition

  • ๐Ÿค Pinch Detection (Thumb + Index)
  • โœ‹ Open Hand Detection
  • โœŠ Fist Detection
  • Live gesture feedback on screen

๐ŸŽจ Neon Visual Effects

  • Glowing hand skeleton rendering
  • Dynamic color themes
  • Smooth motion trails
  • Gradient-based lighting effects

โšก Interactive Effects Engine

  • ๐Ÿ’ฅ Shockwave effect on pinch
  • โœจ Particle system from fingertips
  • โšก Lightning between both hands
  • ๐ŸŒ€ Mandala-style pattern rendering

๐ŸŒง๏ธ Matrix Background System

  • Animated matrix rain effect
  • Speed reacts to hand movement velocity
  • Creates immersive cyberpunk feel

๐Ÿ”Š Reactive Audio System

  • Built using Web Audio API
  • ๐ŸŽต Ambient hum sound (based on hand distance)
  • โšก Zap sound on pinch gesture
  • Real-time audio modulation

๐ŸŽญ Theme Switcher

  • Rainbow ๐ŸŒˆ
  • Cyberpunk ๐Ÿ’œ
  • Lava ๐Ÿ”ฅ
  • Ocean ๐ŸŒŠ
  • Galaxy ๐ŸŒŒ

๐Ÿ“Š Live HUD (Heads-Up Display)

  • Hands detected
  • FPS counter
  • Current gesture
  • Hand spread %

๐Ÿ›  Technologies Used

Technology Role
JavaScript Core logic & interaction
MediaPipe Hands Hand tracking (AI model)
HTML5 Canvas Rendering visuals & effects
Web Audio API Sound generation
CSS3 UI styling (Glassmorphism)

๐Ÿ“Œ Requirements

  • Modern browser
  • Webcam access required
  • Internet (for CDN libraries)

โ–ถ๏ธ How to Run

1๏ธโƒฃ Clone Repository

git clone https://github.com/ShakalBhau0001/neon-hand-gesture-visualizer.git

2๏ธโƒฃ Navigate to Project

cd neon-hand-gesture-visualizer

3๏ธโƒฃ Run Project

  • Open index.html in browser
  • Allow camera permission
  • Click Enter Experience

๐Ÿ–ฅ๏ธ What You'll See

  • ๐ŸŽฅ Live camera feed (mirrored)
  • โœ‹ Hand skeleton with neon glow
  • โœจ Particles from fingertips
  • โšก Lightning between hands
  • ๐ŸŒง๏ธ Matrix-style animated background
  • ๐Ÿ“Š Live HUD with stats

โš™๏ธ How It Works

1๏ธโƒฃ Hand Detection

  • MediaPipe processes video frames
  • Detects hand landmarks in real-time

2๏ธโƒฃ Gesture Processing

  • Calculates distance between fingers
  • Identifies pinch, open hand, fist

3๏ธโƒฃ Rendering Engine

  • Canvas draws:

    • Skeleton
    • Particles
    • Shockwaves
    • Lightning

4๏ธโƒฃ Audio Engine

  • Generates real-time sound
  • Reacts to gesture & hand distance

โš ๏ธ Limitations

  • Requires good lighting for accurate detection
  • Performance depends on device GPU/CPU
  • Mobile support limited

๐ŸŒŸ Future Enhancements

  • ๐Ÿ“ฑ Mobile optimization
  • ๐Ÿง  More advanced gestures
  • ๐ŸŒ Three.js 3D integration
  • ๐ŸŽฅ Recording / export feature
  • ๐ŸŽฎ Gesture-based controls

๐Ÿชช Author

Creator: Shakal Bhau

GitHub: ShakalBhau0001


๐Ÿ’™ Support

If you like this project:

  • โญ Star the repo
  • ๐Ÿด Fork it
  • ๐Ÿš€ Share it

โœจ Move your hands. Create magic. โœจ

About

A futuristic real-time hand-tracking AR experience built with MediaPipe, featuring dynamic neon visuals, particle physics, gesture recognition, and interactive audio effects.

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors