Directions: Click and drag to rotate the cube. Shift-click and drag up and down to zoom in/out.
In my efforts to teach myself the new Actionscript 3.0, I created a neat little 3-dimentional
cube. This was an interesting project since I learned for the first time how to display 3d objects
in a 2d environment. The best part is that I figured it all out myself! Okay, so I had to look up the
transformation matrix for rotating the cube, but that was before I took Linear Algebra :).
Source:
cube.zip
<< Return to Code Samples