into the third dimension
There have been a few posts on 3D collisions on the Processing forum recently, so it must be time to give it a go. First, here is a sphere bouncing off the insides of a cube. This one is straightforward as the faces of the cube are parallel to the planes described by the x, y and z axes.
Keys to press:
[s] toggles spinning
[a] toggles showing axes










