Skip to content

Canvas built on top of BonsaiJS that allows for basic drawing using Leap Motion Pointables

Notifications You must be signed in to change notification settings

ja5087/leap-drawing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Leap-Drawing

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.

Instructions

  1. Clone repo
  2. Plug in Leap Motion and ensure client is on
  3. Open src\leap.html. Use any pointable tool to draw on the screen.
  4. Pen will "touch" canvas at z-index past the vertical plane intersecting Leap Origin.

Attributions

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.

TODO

  1. Massively fix the logic to scale from Leap Coordinate System to Canvas.
  2. Move past the current straight-path-joining method of drawing to create a true drawing application.

About

Canvas built on top of BonsaiJS that allows for basic drawing using Leap Motion Pointables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published