One of my summer projects to try and create a basic drawing program using Leap Motion and BonsaiJS. You can draw by pointing any leap Pointable (e.g. chopstick) and putting the tip across the z-plane.
- Clone repo
- Plug in Leap Motion and ensure client is on
- Open
src\leap.html
. Use any pointable tool to draw on the screen. - Pen will "touch" canvas at z-index past the vertical plane intersecting Leap Origin.
This project uses BonsaiJS, LeapJS, and jQuery.
Thank you to FiBO Institute at King Mongkut's University of Technology Thonburi for lending me a Leap Motion to experiment on.
- Massively fix the logic to scale from Leap Coordinate System to Canvas.
- Move past the current straight-path-joining method of drawing to create a true drawing application.