+ 1
Please help
The Chaos Game is an algorithm for generating a fractal: * define the n vertices of a regular polygon; * choose an initial point, (x_0, y_0) at random within the polygon; * generate a sequence of points, starting with (x_0, y_0), where each point is a fraction r of the distance between the previous one and a polygon vertex chosen at random. with your own Python code for the above algorithm using NumPy and Matplotlib, to explore the Chaos Game for different values of n and r and pres
1 Answer