zeeshan020dev
Interactive-3D-Particle-System
HTML

A real-time, hand-controlled 3D particle physics engine built with Three.js and MediaPipe. Architected entirely by Google Gemini 3.0 via prompt engineering in under 59.3 seconds.

Last updated Aug 3, 2026
20
Stars
5
Forks
0
Issues
0
Stars/day
Attention Score
38
Language breakdown
HTML 100.0%
โ–ธ Files click to expand
README

๐ŸŒŒ AI Hand-Controlled Particle System

Gemini 3.0 Three.js MediaPipe

"From blank canvas to a physics-based, hand-tracking engine in exactly 59.3 seconds."

๐Ÿš€ Overview

This project is a real-time, interactive 3D particle system controlled entirely by hand gestures. It was architected and coded using Google's Gemini 3.0 inside AI Studio via advanced prompt engineering.

The application utilizes MediaPipe for skeletal hand tracking and Three.js for high-performance WebGL rendering, mapping 2D hand coordinates to a 3D volumetric space.

๐Ÿ”ด Live Demo


๐ŸŽฎ How to Interact

Ensure your webcam is enabled. The system detects your hand landmarks to drive the physics engine.

| Gesture | Action | Visual Effect | | :--- | :--- | :--- | | ๐Ÿ– Open Hand | Navigation | Rotate the particle universe and position the center. | | ๐Ÿ‘Œ Pinch (Thumb + Index) | Morph Shape | Transforms particles into complex geometries (Sphere โ†’ Heart โ†’ Saturn โ†’ Flower โ†’ Torus). | | โœŠ Closed Fist | Implode | Triggers a physics collapse (implosion), shrinking the universe. |


๐Ÿ› ๏ธ Technical Stack

  • AI Architect: Google Gemini 3.0 (via Google AI Studio)
  • Rendering Engine: Three.js (WebGL)
  • Computer Vision: MediaPipe Hands (Client-side ML)
  • Language: JavaScript (ES6+), HTML5

๐Ÿง  The "Gemini 3.0" Workflow

This code was not manually written line-by-line. It was generated using a single, comprehensive prompt structure that defined:
  • Context: "Expert Creative Technologist"
  • Constraints: Single file, CDN links only, no build steps.
  • Logic: Mapping specific MediaPipe landmarks (Tips 4 & 8) to Three.js vector attributes.
  • Math: Parametric equations for the "Heart" and "Rose Curve" shapes.
Generation Time: 59.3 Seconds.

๐Ÿ“ฆ Installation & Usage

No installation required! This is a vanilla JS project.
  • Clone the repo:
git clone https://github.com/YOUR_USERNAME/gemini-particle-system.git
  • Open index.html in your browser.
Note: For MediaPipe to work correctly locally, it is recommended to use a local server (like Live Server in VS Code) due to browser security policies regarding webcams.*

๐Ÿ“„ License

MIT License. Feel free to use this as a base for your own AI experiments.

๐Ÿ‘ค Author

Muhammad Zeeshan Islam

Co-Founder โ€“ Unicodrex | Unity Game Developer

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท zeeshan020dev/Interactive-3D-Particle-System ยท Updated daily from GitHub