3D Cube Rotation! Use the arrow keys, and a, d to move the cube, or turn on auto and watch the cube rotate around the axes. Up, Down rotates about the x-axis. Right, Left rotates about the y-axis. A, D rotates about the z-axis. Note: The 3D plane rotates May 19. Optional settings for which 3D shape you want, and line pen size. Use your mouse to look around, change perspective. Toggle the Auto, and MouseControl buttons by clicking it. If any difficulty occurs, use keys o, p for Auto toggle or use t, s for MouseControl toggle. There is one easter egg! Let me know in the comments if it lags, or you find any glitches.
This project was made by using the Rotation Matrices, and a 3D Engine. No Lists are Used! The project demonstrates cool rotations by using Matrices. This just fascinates me, and it is so satisfying! Coding and thumbnail by me! I made a game from this project: https://scratch.mit.edu/projects/397029515/ To make it, it took about 10 hours of coding. Rotation Matrices are Matrices which give you the output coordinates of the original coordinates about the rotation of the angle θ. You take a 3 by 1 matrix with x in the first column, y in the second, and z in the third and multiply that matrix by a specific rotation matrix. For example, the X Rotation Matrix is {1, 0, 0}, {0, cosθ, -sinθ}, {0, sinθ, cosθ} You can search them up, to get a better understanding! Thank you!