Flocking with leap motion and three.js