This C program generates a 3D wireframe animation of a rotating torus (donut shape) using ASCII characters. It utilizes mathematical computations and ANSI escape sequences for terminal manipulation to create the animation.
To execute the program, follow these steps:
- Clone the repository:
git clone https://github.com/RetherSzu/torus-ascii-animation.git
- Navigate to the cloned directory:
cd torus-ascii-animation
- Compile the C program using a C compiler such as GCC:
gcc -o torus torus.c -lm
- Run the compiled executable:
./torus
Feel free to customize the parameters in the code to create different animations or change the appearance of the 3D wireframe torus according to your preferences.
This project is licensed under the MIT License - see the LICENSE file for details.