/Kepler-Bouwkamp-constant-in-pygame

A Kepler-Bouwkamp constant I made with pygames and Python

Primary LanguagePythonMIT LicenseMIT


Kepler-Bouwkamp-constant-in-pygame


About


A Kepler-Bouwkamp constant I made with pygames and Python

Wikipedia imgage

Image was taken from Wikipedia Kepler–Bouwkamp constant

Pygame Image

This image was made directly form the pygame script window

Some controls

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