Skip to content

A threejs / WebGL / MediaPipe-powered interactive demo that allows you to control a 3D sphere using hand gestures.

Notifications You must be signed in to change notification settings

collidingScopes/threejs-handtracking-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

3D Hand Tracking Demo

A threejs / WebGL / MediaPipe-powered interactive demo that allows you to control a 3D sphere using hand gestures.

Demo

Try the live demo: https://collidingscopes.github.io/threejs-handtracking-101/

Features

  • Real-time hand tracking using MediaPipe Hands
  • Left hand gesture control: Pinch thumb and index finger to resize the 3D sphere
  • Right hand interaction: Touch the sphere with your index finger to change its color
  • Responsive design that works on desktop and mobile browsers
  • Visual feedback with color-coded hand tracking

Requirements

  • Modern web browser with WebGL support
  • Camera access
  • No additional software or downloads needed

Technologies

  • Three.js for 3D rendering
  • MediaPipe for hand tracking and gesture recognition
  • HTML5 Canvas for visual feedback
  • JavaScript for real-time interaction

Setup for Development

# Clone this repository
git clone https://github.com/collidingScopes/threejs-handtracking-101

# Navigate to the project directory
cd threejs-handtracking-101

# Serve with your preferred method (example using Python)
python -m http.server

Then navigate to http://localhost:8000 in your browser.

License

MIT License

Credits

Related Projects

Check out other free and open-source projects by the same developer:

Contact

Donations

If you found this tool useful, feel free to buy me a coffee.

My name is Alan, and I enjoy building open source software for art, animation, games, and more. This would be much appreciated during late-night coding sessions!

Buy Me A Coffee

Releases

No releases published

Packages

No packages published

Languages