Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor() {
this.options = {
host: '127.0.0.1',
port: 6437,
enableGestures: false,
background: false,
optimizeHMD: false,
frameEventName: 'animationFrame',
useAllPlugins: false
}
Leap.loop(function(frame){
console.log(frame.hands.length);
});
// this.controller = new Leap.Controller();
// this.controller = new Leap.Controller(options);
// controller.connect();
}