It’s done! Finally! My entry for the Mix09 10k Challenge is submitted. Drag your mouse on the area surrounding the cube to rotate the entire cube. Click the cube itself to turn the sides of the cube. From the moment I got notice of this challenge I thought of doing something in 3D. I decided to build a Rubik’s Cube. I started out with the classes to make the 3D possible. To do this, I made a Vector3D class for position all vertices in the 3D world and a Matrix3D class for doing the rotations. Next ......
Before I share the details of my entry for the challenge I’ve got some tips for you to help you shrink the size your code: Xaml isn’t needed, it only takes up a lot of space. Read this article on using Silverlight without Xaml. Returns, tabs and spaces are bytes and increase the size of your file. Almost all may be removed. Every space next to punctuations may be removed, even next to keywords. Define arrays like this: int[]c=new{1,2,3,4,5}; Without any spaces. Note, the “int” that usualy goes between ......