Reproducing images with geometric primitives. Rust implementation of [primitive](https://github.com/fogleman/primitive).
It’s a rust implementation of fogleman’s primitive.
Created at Rusty Days Hackathon, 2020.
For more details about the algorithm, check this out: Hill Climbing
purrmitive
as rust libpurrmitive = “*“
purr
as binarycargo install —bin purr —features=”cli” purrmitive
or
cd purrmitive && cargo run —release —features=cli —bin=purr — -i ./assets/input.png -o output.gif -n 100
most primitive
flags are supported, it should be a dropin replacement in most cases.
see purrmitive-ffi