generative-art icon indicating copy to clipboard operation
generative-art copied to clipboard

Generative Art while learning Rust

Generative Art while learning Rust

The binaries in this repo create generative artworks that can be fed to an axidraw machine that uses a paint brush/pen/pencil to paint an actual painting.

Generate a new iteration of a given artwork by running cargo run --bin {{name}} e.g. cargo run --bin forces.

Currently Forces and Piet will add their configuration (all parameters that created the final output) as a comment at the end of the svg and they can be recreated (somewhat) by supplying them as CLI parameters

forces --size=1500.0 --line-count=5000 --chaos=1.5 --smoothness=1000.0 --seed=999
piet --size=1000 --rounds=5 --split-chance=0.7

Generated artworks can be found in ./outputs/{name}/{name}-{timestamp}.svg