Arkaprabha Chakraborty 5a600ac4f4 Update README.md
2022-07-03 21:57:23 +05:30
2022-05-23 18:53:02 +05:30
2022-04-07 16:41:04 +05:30
2022-05-23 18:10:52 +05:30
2022-01-05 22:58:39 +05:30
2022-07-03 21:56:54 +05:30
2022-07-03 21:57:23 +05:30
2022-05-23 20:29:28 +05:30

Description

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

How to run

  • Clone or download and extract the repository
  • Open a terminal inside the project directory
  • Follow the steps for your Operating System

For Windows

Prerequisites for Windows

How to build and run

  • gcc -Ofast -o torus.exe torus.c -lm in the shell to compile using MinGW-w64
  • .\torus.exe in the shell to run the program

For Linux

Prerequisites for Debian based distributions

  • sudo apt install gcc to install the required compilers

Prerequisites for Arch based distributions

  • sudo pacman -S gcc to install the required compilers

How to compile, run and clean

  • make build to compile
  • make run to run
  • make clean to clean

Updates

  • Added support for dynamic resolution based on current terminal size
  • Added Windows support
  • Added support for on-the-fly dynamic resolution
  • Added help option to the program

Screenshot

Screenshot

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