Skip to content

AlexEidt/Amaze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages