Skip to content

szogyenyid/pix

 
 

Repository files navigation

Pix

Turn photos into abstract art.

Road in the Winter Forest by Olga Malamud Pavlovich

Install the command-line tool with go get:

go get -u github.com/yurivish/pix/cmd/pix

Run it like so:

pix -in picture.jpg

Generate multiple outputs by sweeping the parameter space:

pix -in picture.jpg -sweep

Pix is capable of generating 8,000×8,000 outputs in around a minute.

The pixel-placement process is inherently serial and performs one nearest-neighbor search per output pixel, so the time taken depends significantly on the placement order and color distribution since those affect the size of the dynamic search tree and the shape of the frontier.

When the -sweep or -variations flags are used, variations are generated in parallel.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%