Skip to content

kylebeloin/marching-squares

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marching Squares

This app demonstrates the marching squares algorithm, which generates countours (or boundaries) for a two-dimensional array. In this example, the contours are generated around randomly selected binary values.

Playing

Playing the app will rapidly generate new fields around which contours are generated.

Resolution

Lower numbers generates a finer resolution; however, resolutions between 1 - 3 have noticeable impacts on performance.

Technologies Used

Built in React, this app also provided an opportunity to use 2D canvas and vector graphics. Originally, my approach was to represent the field using DOM-elements, but this had obvious performance limitations.

Demo

https://fabulous-hamster-9bd2e5.netlify.app/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published