Control a 3D particle animation in real-time using hand gestures. This demo is powered by three.js, WebGL, and MediaPipe. With this project, you can experience the magic of augmented reality and hand tracking right in your browser.
The Force is an innovative project that allows users to control a 3D particle animation through hand gestures. By leveraging cutting-edge technologies, this project provides an interactive experience that blends the digital and physical worlds.
Imagine waving your hands in front of your screen and watching particles dance in response. This project not only showcases the capabilities of modern web technologies but also serves as a practical tutorial for developers interested in augmented reality and gesture recognition.
- Real-Time Interaction: Control animations in real-time with hand gestures.
- 3D Visualization: Experience stunning 3D particle effects.
- Cross-Platform Compatibility: Works on most modern browsers.
- Easy to Understand: The code is well-documented and easy to follow.
- Open Source: Feel free to modify and improve the code.
- Three.js: A JavaScript library that simplifies the creation of 3D graphics in the browser.
- WebGL: A web standard for rendering 3D graphics.
- MediaPipe: A framework for building multimodal applied machine learning pipelines, particularly useful for hand tracking.
To run this project, you need the following:
- A modern web browser (Chrome, Firefox, Safari, etc.)
- Basic knowledge of HTML, CSS, and JavaScript
-
Clone the Repository: Open your terminal and run the following command:
git clone https://github.com/tinchotinn/the-force.git
-
Navigate to the Project Directory:
cd the-force
-
Install Dependencies: If there are any dependencies, install them using npm or yarn.
npm install
To run the demo, open the index.html
file in your web browser. You can also use a local server for better performance. If you have Python installed, you can run:
python -m http.server
Then navigate to http://localhost:8000
in your browser.
For the latest release, download it here and execute the necessary files.
Once the demo is running, you will see a 3D particle animation on your screen. Follow these steps to interact with it:
-
Allow Camera Access: The application requires access to your webcam for hand tracking. Make sure to allow this when prompted.
-
Gesture Recognition: Move your hands in front of the camera. The system will recognize gestures and control the particle animation accordingly.
-
Explore Different Gestures: Experiment with various hand movements to see how they affect the animation.
We welcome contributions! If you want to improve the project, please follow these steps:
-
Fork the Repository: Click the "Fork" button on the top right of the page.
-
Create a New Branch: Use the following command to create a new branch:
git checkout -b feature/YourFeature
-
Make Your Changes: Implement your changes and commit them.
git commit -m "Add your message here"
-
Push to Your Branch:
git push origin feature/YourFeature
-
Create a Pull Request: Go to the original repository and click "New Pull Request".
This project is licensed under the MIT License. Feel free to use it for personal or commercial purposes, but please give credit to the original authors.
For questions or feedback, please reach out to the project maintainer:
- Name: Tinchotinn
- Email: tinchotinn@example.com
- GitHub: tinchotinn
Explore the magic of hand-tracking and particle animation with The Force. For the latest updates and releases, check the Releases section.
Happy coding!