physics engine for 3d js code example Example: how to make a simple physics engine struct Circle { float radius Vec position };