Simulation.js is a simple graphics library for making interacting with shapes and animations simple and quick. At times this library is improved and changed fast, as a result Documentation may be out of date.To add simulationjs to your site with npm:
npm i simulationjs
You can also include the simulation.js file into the body tag.
<body><scriptsrc="simulation.js"></script></body>
The Simulation.js source code can be found at the GitHub link Simulation.jsCheck the Simulation tab on the left to find more information on creating a Simulation canvas