Skip to content

Voronoi cell visualizer written in Rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

HactarCE/Voronoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Voronoi cell visualizer written in Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published