Hey there! It shouldn't be too hard to do so.
Are you planning on using Leap Motion V2 or Orion? Either way, you can just follow the docs on how to setup a project (basically just install the SDK you want and include the javascript library in the HTML).
After that, you just have to create a simple script that uses the direction of one hand, and use the offset position between a previous frame and the most recent to rotate the sprite (reel.js things).