Setting up a Three.js scene for Physijs is very simple and only takes a couple of steps. The first thing we need to do is include the correct JavaScript file, which you can get from the GitHub repository at http://chandlerprall.github.io/Physijs/. Add the Physijs library to your HTML page like this:
<script type="text/javascript" src="../libs/physi.js"></script>
Simulating a scene is rather processor-intensive. ...