primitive

primitive is a Rust program that approximates images by drawing random lines.

Running

Assuming you have Rust installed, run

cargo install primitive

Usage

``` primitive 0.1.0 Anthony Nguyen anknguyen@gmail.com

USAGE: primitive [OPTIONS] --input [SUBCOMMAND]

FLAGS: -h, --help Prints help information -V, --version Prints version information

OPTIONS: -i, --input Input filename -n, --iterations Number of iterations to run [default: 1000000] -l, --line-length The length (in pixels) of the lines to draw [default: 25] --max-angle The maximum angle (in degrees) to generate [default: 360] --min-angle The minimum angle (in degrees) to generate [default: 0] -o, --output Output filename

SUBCOMMANDS: bench Runs in benchmark mode help Prints this message or the help of the given subcommand(s) ```

License

primitive is licensed under the MIT license. Please see the LICENSE file for more details.