Skip to content

CaisManai/hands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Cyberpunk Hand-Tracking Particle System

An interactive WebGL particle system with real-time hand tracking, featuring a cyberpunk aesthetic with neon particles that respond to hand gestures.

Features

  • 12,000 particles with additive blending for a glowing neon effect
  • Real-time hand tracking using MediaPipe Hands (supports 2 hands)
  • Webcam background with particles overlaid in augmented reality style
  • Cyberpunk visual effects: scanlines, vignette, and HUD display

Hand Gesture Controls

Left Hand (Shape Controller)

Control what shape the particles form based on extended fingers:

Fingers Shape Color
1 "Hello" Neon Blue
2 "Joel" Neon Yellow
3 "Mike" Neon Pink
4 "Roger" Neon Green
5 (Open Palm) Catch Mode -

Right Hand (Physics Interactor)

  • Pointing/Fist: Scatter particles on contact (XY plane only)
  • Open Hand (5 fingers): Activates "Nebula Mode" - particles expand into 3D space with water ripple effects

Dual Hand Combo

  • Both hands open: Basketball Mode - all particles form a rotating 3D basketball at the left palm with bouncing trajectory animation

Tech Stack

  • Three.js - 3D rendering and particle system
  • MediaPipe Hands - Real-time hand tracking
  • Vanilla JavaScript - No build tools required

Usage

Simply open index.html in a modern browser (Chrome recommended) and allow camera access.

# Or serve locally
python3 -m http.server 8000
# Then visit http://localhost:8000

Requirements

  • Modern browser with WebGL support
  • Webcam
  • Good lighting for hand detection

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages