Processing with Leap Motion and Processing.js

edited November 2017 in JavaScript Mode

How would I go about including the Leap library when using Processing.js to put the sketch on the web?

When I try, I get this:

Uncaught ReferenceError: LeapMotion is not defined at Processing.Processing.setup (eval at attach (processing.js:885), :12:3) at executeSketch (processing.js:21571) at new Processing.Processing (processing.js:21598) at callback (processing.js:964) at XMLHttpRequest.xhr.onreadystatechange (processing.js:943)

Which to me looks like it fails to load the library, and thus stops loading the rest of the sketch due to an error. Can anyone help me out?



Sign In or Register to comment.