Initial commit

This commit is contained in:
Arkaprabha Chakraborty
2022-01-05 22:58:39 +05:30
commit b19ea4b759
7 changed files with 315 additions and 0 deletions

23
README.md Executable file
View File

@@ -0,0 +1,23 @@
# Description
These programs print a spinning ASCII torus (mathematical name for a doughnut-shaped object) on the terminal. Original post by Andy Sloane can be found [here](https://www.a1k0n.net/2011/07/20/donut-math.html).
# For Linux
## Prerequisites for Debian based distros
* `sudo apt install make` to install Make
* `make deb` to install the required compilers
## Prerequisites for Arch based distros
* `sudo pacman -S make` to install Make
* `make arch` to install the required compilers
## How to run?
* Clone or download the repository
* Open a terminal inside the project directory
* Complete the prerequisites for your OS
* `make c` to run the C version
* `make py` to run the Python version
## How to clean up the executable?
* `make clean` to delete the executable
# Screenshot
![screenshot](https://github.com/arkorty/Spinning-ASCII-Torus/blob/main/blob/screenshot.png)