A Kepler-Bouwkamp constant I made with pygames and Python
Image was taken from Wikipedia Kepler–Bouwkamp constant
This image was made directly form the pygame script window
Change the PolygonSide Value to alter the number of sides the initial polygon has:
PolygonSides = 3
Change the pygame.time.delay to change how long it take for the next update:
pygame.time.delay(5000)
Change the NumberOfPolygons Value to ajust the numer of polygons that pygame will draw inside the initial circle:
NumberOfPolygons = 5