Edit 3D shapes with natural hand gestures.
- right hand: pinch to grab / move a corner of the cube
- pinch and drag in the color wheel
- left hand: make a fist and move to rotate the shape
Built with threejs / WebGL / MediaPipe.
Video | Live Demo | More Code & Tutorials
- Modern web browser with WebGL support
- Camera access
- Three.js for 3D rendering
- MediaPipe for hand tracking and gesture recognition
- HTML5 Canvas for visual feedback
- JavaScript for real-time interaction
# Clone this repository
git clone https://github.com/collidingScopes/3D-editor
# Navigate to the project directory
cd 3D-editor
# Serve with your preferred method (example using Python)
python -m http.server
Then navigate to http://localhost:8000
in your browser.
MIT License
- Three.js - https://threejs.org/
- MediaPipe - https://mediapipe.dev/
I've released several computer vision projects (with code + tutorials) here: Fun With Computer Vision
You can purchase lifetime access and receive the full project files and tutorials. I'm adding more content regularly 🪬
You might also like some of my other open source projects:
- Threejs shape creator - create / control 3D shapes with threejs and MediaPipe computer vision
- Threejs hand tracking tutorial - Basic hand tracking setup with threejs and MediaPipe computer vision
- Particular Drift - Turn photos into flowing particle animations
- Video-to-ASCII - Convert videos into ASCII pixel art
- Instagram: @stereo.drift
- Twitter/X: @measure_plan
- Email: stereodriftvisuals@gmail.com
- GitHub: collidingScopes
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 computer vision, games, and more. This would be much appreciated during late-night coding sessions!