An implementation of Weighted Voronoi Point Stippling in Rust along with some additional functionality.
To run with default/assumed parameters:
cargo run --release image_path
To run with declared parameters
cargo run --release image_path point_count iterations threshold
parameter | Definition | Default Value |
---|---|---|
image_path | path to weight image including extension | N/A |
point_count | target number of seed points | calculated from weight image |
iterations | number of relaxation iterations | 60 |
threshold | maximum grayscale threshold at seed location | 0.5 |