voronoice 0.2.0

A nice and fast way to construct 2D Voronoi Diagrams
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
if [[ $1 && $1 != -* ]]
then
    input="-p $1 ${@:2}"
    sinput="${@:2}"
else
    input=$@
    sinput=$@
fi

cargo run --example svg -- $input -o example.svg -w sites.json
cargo run --example svg -- -p sites.json -c RemoveSitesOutsideBoundingBoxOnly -o orig.svg $sinput 1> /dev/null