Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 2.12 KB

README.md

File metadata and controls

48 lines (33 loc) · 2.12 KB

Polyhedral parallel mesher

Build Status Rust Tests

Polyhedral parallel mesher is an attempt at making a polyhedral and parallel mesher, in 2 steps :

  • Massively generating points
  • Forming polyhedral cells from those points

It is planned to use Honeycomb for its mesh structure. It currently only supports 2D.

Quickstart

You can build and run the project with Cargo after cloning the repository:

$ cargo run -- --help

The help flag will show you all the configuration options.

Default settings will generate Poisson-disk distributed points, in a 10*10 box, with a minimal distance of 1 between points. It will then generate a Voronoï diagram using the Jump Flooding Algorithm (with wgpu), with resolution 512*512 pixels, and display the result on a Javascript visualisation.

Reference

Jump flooding in GPU with applications to Voronoi diagram and distance transform Fast Poisson disk sampling in arbitrary dimensions Generating Blue Noise w/ Poisson Disk Sampling

License

Licensed under either of

at your preference.

The SPDX license identifier for this project is MIT OR Apache-2.0.

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.