this all stuff for the 3D rotating balls demo
