Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bg-generation-schotter

Command line that generates SVG images based on a grid of squares with increasing disorder. The idea is inspired by "Schotter" from Georg Nees, one of the earliest known examples of computer generated art.

Example of image generated by this project with the schotter pattern Example of image generated by this project with the drifted_echoes pattern Example of image generated by this project with the drifted_square pattern

Usage

The SVG image is written to stdout, redirect it to a file:

zig build --release=fast run -- <pattern> <palette> > output.svg
  • pattern is one of schotter, drifted_echoes, drifted_square (default: schotter)
  • palette is one of beige, blue (default: beige)

For example:

zig build --release=fast run -- drifted_echoes blue > drifted_echoes.svg

Dependencies

We use :

  • Zig : 0.16.0
  • zpp : SIMD low level processing library.
  • zyra : command line argument parsing.
  • zsvg : SVG generation.

Compilation

zig build

Disclaimer

It's a fun project. So if you spot error, improvement comments are welcome.

About

Generative Art

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages