Skip to content
 
 

Latest commit

 

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages