0
Chaos game challenge
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
2 Respostas
0
This is interesting and I'll try it out. Unfortunately SoloLearn Code Playground doesn't support Matplotlib so I'll end up making this in Jupyter Notebook. I'll save the code to a pastebin and send it over when I finish it. :)
0
help me please