Step 4. 3D cube Converting a rotating 2D square into a rotating 3D cube. Plus 75 lines of code to make it.