Skip to content

marching squares implementation 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

danieledapo/marching_squares

Repository files navigation

marching-squares

Implementation of the marching squares algorithm to find the boundaries of shapes given a scalar field. This algorithm can also be used to generate heightmaps or to find the medial axis of a shape.

To understand what the library can do take a look at the examples.

$ cargo run --release --example function
$ cargo run --release --example heightmap data/italy.png
$ cargo run --release --example medial_axis data/logo.png 20

function-fill.png italy.png medial-axis.png

About

marching squares implementation in rust

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages