Circle Packing / Tutorial

My attempt at making brute force circle packing more efficient. Each circle avoids collision by validating the distance between circle centers is greater than the sum of their radii. Utilizing a grid and only comparing against neighboring cells resulted in significant performance increases.

If you want to run this project yourself, make sure to download Processing. Feel free to reach out to thebuffed@gmail.com if you have any questions.

Other links:

Examples