amaze

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

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

Go to latest
Published: Jan 8, 2022 License: MIT Imports: 10 Imported by: 0

README

Amaze Logo

Amaze

Maze pattern generator.

Boxwood

Boxwood Style

Labyrinth

Labyrinth Style

Metropolis

Metropolis Style

Palazzo

Palazzo Style

Path

Path Style

Sandcastle

Sandcastle Style

Underworld

Underworld Style

Utopia

Utopia Style

Ziggurat


Ziggurat Style

Usage

go run amaze.go [optional args] filename
  -a    Create one frame per character in character set.
  -bg string
        Background color in RGBA format. (default "255,255,255,255")
  -chars string
        Character set to use for patterns. (default "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~")       
  -fg string
        Foreground color in RGBA format. (default "0,0,0,255")
  -font string
        Font to write letters in. One of: boxwood, labyrinth, metropolis, palazzo, path, sandcastle, underworld, utopia, ziggurat (default "metropolis")      
  -h int
        Image height. (default 1080)
  -l int
        Limit the number of animation frames created. (default 94)
  -r    Generate Random Patterns.
  -size int
        Font Size. (default 100)
  -w int
        Image width. (default 1920)

Dependencies

This script depends on the Go Graphics (gg) library by Michael Fogleman.

go get -u github.com/fogleman/gg

Acknowledgements

  • These maze patterns were made possible by the fonts available at mazeletter.xyz. Credit goes to Paul Cronan and team for these incredible fonts.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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