Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.61 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.61 KB

Voronoi Cell Visualization

This is a simple program that draws Voronoi cells for a set of points. There are options to use different Lp distance metrics or display the farthest-point Voronoi cells instead.

Voronoi diagram for a set of six points

Building on Linux or macOS

  1. Download/install Cargo.
  2. Clone this project and build/run:
git clone https://github.com/HactarCE/Voronoi
cd Voronoi
cargo run --release

Building on Windows

  1. Download/install Rustup.
  2. Run rustup.exe toolchain install stable-x86_64-pc-windows-msvc to install the MSVC toolchain.
  3. Run rustup.exe default stable-msvc to select that toolchain as the default.
  4. Download this project and extract it somewhere.
  5. Open a terminal in the folder where you extracted the project (it should have Cargo.toml in it) and build it using cargo build --release or run it using cargo run --release.

License

Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.