Arkaprabha Chakraborty 4f5526a474 Update main.c
2022-02-11 17:34:22 +05:30
2022-02-05 00:45:06 +05:30
2022-02-02 09:04:22 +05:30
2022-01-05 22:58:39 +05:30
2022-01-05 22:58:39 +05:30
2022-02-11 17:34:22 +05:30
2022-01-09 07:12:09 +05:30
2022-01-09 07:13:50 +05:30
2022-02-02 09:01:01 +05:30

Description

Prints a spinning ASCII torus (mathematical name for a doughnut-shaped object) on the terminal. Original post by Andy Sloane can be found here.

Updates

  • Now supports dynamic resolution based on terminal size

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.png

Description
Spinning ASCII donut on the terminal.
Readme MIT 883 KiB
Languages
C 98.3%
Makefile 1.7%