sculptgl icon indicating copy to clipboard operation
sculptgl copied to clipboard

Can LeapMotion be an input device?

Open irisred opened this issue 9 years ago • 2 comments

Can this web page thing use LeapMotion as an input device? If can, could you tell how to add it to the web page? (no need to say too much details, I even didn't know which part of the code should change) thanks

PS: I use your code to do some programming won't be used in commercial category, just to develop the page

irisred avatar Jun 14 '15 14:06 irisred

You'd need to include https://github.com/leapmotion/leapjs. I don't know how the api work though. All the controller stuffs is managed in the SculptGL.js file (for now it uses Hammer for mobile and standard mouse event for desktop).

ps : sculptgl's LICENSE is MIT so you can do almost whatever you want.

stephomi avatar Jun 15 '15 08:06 stephomi

Thanks for your reply, I'll try myself. Also thanks for telling me the license's thing

irisred avatar Jun 17 '15 14:06 irisred