soulwire/sketch.js

Trying to use sketch.js Particles example with Webcam motion tracking Gest.js library

bamboolix opened this issue · 1 comments

Hello,

First of all this library is amazing. Thank you for sharing it with the community. I'm trying to use the gest.js library used to manipulate MMI by tracking user moves with the webcam like in the examples beneath :

https://hadi.io/gest.js/demos/slidesjs/index.html

I would like to use camera tracking with the particles example which only seems to listen to mouse events :

http://soulwire.github.io/sketch.js/examples/particles.html

Is their I could simulate mouse events with JS ?

Best regards

It seems after reading the API, that they would be a way by overwriting the mousemove API event (https://github.com/soulwire/sketch.js/wiki/API). I am going to try and do something with this.

David