An interactive system for drawing and animating shapes using hand gestures.
- Hand-based drawing using pinch gestures
- Left-hand / right-hand mode
- Dual-hand interaction (draw + control)
- Shape creation and automatic closing
- Real-time shape manipulation
- Animation recording
- Export as
.webm - Customizable styling (color, stroke, transparency)
- Drawing hand: used to create shapes
- Control hand: used to move and animate shapes
- Pinch thumb + index finger → place a point
- Spread fingers → draw a line
- Pinch again → confirm line
- Connect the start and end points
- The outline highlights in white when ready to close
Note: This may require some precision and practice.
- After closing a shape:
- Use the control hand to move and animate it
- Record your animation in the settings
- A
.webmfile will be downloaded automatically - Open it locally to view the final render (no camera preview)
You can customize:
- Fill color
- Stroke color
- Fill transparency
- Stroke thickness
git clone https://github.com/your-username/your-repo.git
cd your-repo
npm install
npm run dev