I have made some modifications to my cube experiment so I thought I’d share them. In this version I have added Z support for the random position of cubes, as well as the “Chatoic” rotations and movements. Using any of the normal rotate functions you will get a single rotation in Y, using a chaotic rotation will give you rotation on all 3 axies. Of course the source is available for the taking.
Check out the Project in Action
View the Source Code (Update: I added some more descriptive comments to the source code)