For this assignment, you will implement the Marching Squares algorithm on eight yellow circles which collide with each other randomly.
This project involves eight circles that move around the screen randomly. Since you will be implementing the marching squares algorithm to approximate the shape of each sphere, when the spheres collide, they should appear to morph together into one blobby two-dimensional object. Note: the spheres in my code are equal in radius. I suggest trying different sizes for your marching squares. As you reduce the size of the square, the blobby object you create will be less aliased (stair-step effect). Experiment with different square sizes. I suggest a square size of 10 pixels by 10 pixels but you may use different pixel sizes if that that does not work well. You may use a higher screen resolution for the canvas size of your drawing screen if you wish as well. You do not need to use the same aspect ratio for your screen resolution as I have.
Please use my code called https://www.robertjamesbruce.com/cs116b_assignment1.tar.gz as the basis for this assignment.
An excellent reference for marching squares is Jamie Wong's website at http://jamie-wong.com/2014/08/19/metaballs-and-marching-squares/. Please do NOT cut-and-paste any program from Jamie Wong's website. I want to see you implement this code yourself.