______ /| /| /_|___/ | | |___|_| Cube Rotater | / | / By: Mattinc |/____|/ This is a program that creates the illusion of a rotating cube. Keys: Left and right rotate the cube in the corresponding direction. Clear Quits Thanks to Kerm Martin. (Though he doesn't know it) for the rotation formula found in Radar (a screensaver he released). How this program works: First it changes your screen settings to -47 xmin 47 xmax -23 ymin 39 ymax (Don't worry it changes the screen back to your settings when you exit) The Formula rotates around the origin. So I moved it down to center the cube Then I figured out what it would take in the formula to create a rotating square I put vertical lines up from each point of the square and set the lines so they would stay the same length as they moved Then I built another square on them and (wa la) A cube that rotates. I was going to make it rotate in all directions Up down left and right. But I could never figure out how I was going to do it. I hope this is a start to 3d programming for Mattinc and (if all else works) 3d ASM programs like Quake, Doom, Unreal Tournament, UT2003, GTA3, and many more. I have an Idea how you could use this formula on the ASM screen ( do the calculations WITHOUT displaying anything. Then add a sufficient number to the X and Y so it translates onto the Asm screen. I think it could be done. With ASM speed it would look great!) Plus you could animate it so It wouldn't be sprites in a 3d enviroment. It would be 3d people in a 3d enviroment. It can be done. Enjoy