command
module
Version:
v0.0.0-...-d5d32c5
Opens a new window with list of versions in this module.
Published: May 30, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
donut
Rendering a donut in the terminal using Go and some math.
Idea, math and code stolen from this excellent article

^ this was recorded with a terminal size of 120x240
. On a saner terminal, this will look much more pixelated.
Why?
Improvements
Some improvements from the original in the article:
Usage
- Clone this repo and
cd
into it
go run .
- Change some of the configuration (in
donut.go
) and play with it
- Look at it go!
TODO
- expose configurable parameters as command-line flags
- other shapes?
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.