A bouncing ball with code that integrates three.js and cannon.js