Genuary 12: Packing

January 12, 2022

This is a sketch for Genuary 2022, which provides a creative coding prompt for each day of January. This is day 12: "Packing (squares, circles, any shape…)"

This uses a simple Monte Carlo algorithm to place spheres where there are no other spheres, and then renders them inside a bigger sphere that adds some blur when the viewing angle gets shallow.