Skip to content
masonelmorePublic

About

Generate interesting images with quadtrees.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quad

Generates interesting pictures by using a bastardized implementation of a quadtree to group colors into squares based on how far away their average color is from their region.

usage

  1. Install Go https://golang.org/dl/
  2. Install quad go get github.com/masonelmore/quad
  3. Run quad # $GOROOT\bin\quad <filename>.png tolerance

notes and limitations

  • PNG is currently the only supported filetype.
  • Tolerance is a float between 0 and 1. Lower values produce more detailed images.

examples

original quadified tolerance
obama original obama quad 0.045
park original park quad 0.06
sunset original sunset quad 0.06

About

Generate interesting images with quadtrees.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages