Overview
This is a p5.js sketch implementing the basic Marching Squares algorithm, inspired by Coding Train’s video - Coding Marching Squares .
Next steps in upcoming sketches / iterations
- Fix the issue of not connecting the isolines to the left and top window edges.
- Enhance this by using interpolation to have smoother lines
- Allow for multiple steps within the 2D value field
Controls
(No interactivity implemented yet).
References:
- Marching Squares (Wikipedia) article describing the algorithm
- Coding Train’s video - Marching Squares - original inspiring video.