Cube rotation using Leap motion sensor + three.js

Maybe this will help.

also in the Collection of examples from discourse.threejs.org
see eXtended eXamples