
JavaScript Robotics, By Your Command.
Next generation robotics framework with support for 36 different platforms
Take the Leap Motion for example. Install Cyclon.js using npm, and then use this little tad of code to start interacting via the Leap Motion:
var Cylon = require('cylon');
Cylon.robot({
connections: {
leapmotion: { adaptor: 'leapmotion' }
},
devices: {
leapmotion: { driver: 'leapmotion' }
},
work: function(my) {
my.leapmotion.on('hand', function(payload) {
Logger.info(payload.toString());
});
}
}).start();
It’s also possible to control an Arduino, BeagleBone, Raspberry Pi, etc. using Cyclon.js