Python and Turtle Difficulty Level 7,games,list,loop,math,python,random Restricted Polygon Chaos Game 2 with Python Turtle

Restricted Polygon Chaos Game 2 with Python Turtle

In a previous project, you drew a Sierpinski Triangle with Chaos Game. You also did restricted chaos projects for square and pentagon. Now, generalize the project that allows chaos game for polygon of any number of vertices.

In this project, the restriction is: next vertex has to be immediate neighbors of the previous vertex or the same vertex as the previous vertex. This restriction should draw following figures from pentagon to decagon.

Pentagon Fractal with Chaos Game
Hexagon Fractal with Chaos Game
Heptagon Fractal with Chaos Game
Nonagon Fractal with Chaos Game
Decagon Fractal with Chaos Game

Related Post