The program starts with the center C of the

-sided polygon (it could be any point) and draws a new point at a fraction

of the distance between C and a random vertex. Repeating this process will, for certain initial conditions, produce fractal images.