Interactive 3D cube renderer with custom perspective, translation, and axis rotation.
This project was originally developed as part of my 3D Computer Graphics and Animation course (September 2015). In 2025, I migrated the code from an old local machine into GitHub, so commit dates reflect the upload, not the original development time.
A simple graphical application that visualizes a 3D cube using perspective projection and allows the user to interactively modify:
- the vanishing point
- cube position in 3D space
- rotation along X, Y, or Z axes (real-time animation)
This project demonstrates the fundamentals of the 3D graphics pipeline: projection, transformation matrices, and rotation.
- Manually set the vanishing point (X, Y, Z)
- Observe how the cube shape changes under different projection parameters
- Choose the rotation axis (X / Y / Z)
- Start rotation animation with one click
- Switch axes on the fly without restarting the program
- Translate the cube along all three axes (X, Y, Z)
- View how transformations affect projection and geometry
- Canvas auto-refresh
- Immediate feedback as you adjust parameters


