ANIMATING A LAMP WITH THE leap movement
The leap movement is a extremely great device, however so far we haven’t seen many applications of interacting with physical devices. [Xavier] wished to manage a adorable servo animated desk lamp with his hands, as well as with the assist of a leap as well as an Arduino he was able to do just that.
The leap movement API has a handy function that will output all its data over a websocket. It’s a extremely simple method to transfer hand positions with a minimum amount of overhead, as well as with just a bit bit of Node.js, it’s only two lines of code to link the leap to a websocket server.
With the leap data on a web server, the only thing delegated do is pulling it down to an Arduino. Again, [Xavier] utilized Node.js, this time around in the type of johnny five, a Javascript-based Arduino framework. After that, it was a simple matter of mapping the data from the leap to servo motions in [Xavier]’s Pixar-inspired lamp.
Video of the develop below.