The marching squares algorithm is used to display a contour of an explicit function. This project was inspired by this video. More information about the marching squares algorithm and metaballs animation that was used as one of the examples can be found here:
Here are some examples of how this algorithm can be used:
- Displaying a circle:
- Displaying an ellipse:
- Metaballs animation: