This simple python program is based on the following article by Andy Sloane.
There are 2 versions of the program:
- donutplot.py - This version uses matplotlib to plot the donut
- donut.py - This version displays the donut in the terminal
Matplotlib is required to run this code (pip install matplotlib)
python donutplot.py
donut-matplotlib-2023-11-12_15.34.59.mp4
python donut.py