donut

command module
v0.0.0-...-ce73456 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2022 License: MIT Imports: 9 Imported by: 0

README

donut

An implementation of Andy Sloane’s donut.c, written in Go.

Features

  • Renders to ASCII and GIF
  • Supports grayscale (default) and monochrome colors
  • Supports custom colors and logic
  • Properties of the scene can be controlled

Examples

monochromegrayscale

asciicast

Usage

Usage of ./donut:
  -delay int
        Delay between frames, in milliseconds (default 50)
  -gif string
        Generate a GIF file with the given name
  -height int
        Height of the GIF file, if needed (default 100)
  -steps int
        Number of frames to generate (default 200)
  -width int
        Width of the GIF file, if needed (default 100)

If the gif flag is omitted, the program will print to the terminal, scaled proportionally to the terminal size.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL