This project renders an animated ASCII representation of a spinning torus using C++. The torus rotates around both the Y and Z axes, creating a dynamic visual effect.
- 3D Rotation: The torus rotates around both the Y and Z axes.
- Perspective Projection: Correct perspective projection ensures objects further away appear smaller.
- Dynamic Lighting: Surface normals provide depth and shading.
Adjustable parameters:
- Screen Dimensions:
width
,height
- Torus Radii:
R1
,R2
- Spacing:
theta_spacing
,phi_spacing
- Perspective:
K1
,K2
This project is licensed under the MIT License.