Python and Turtle Difficulty Level 6,games,list,loop,random Restricted Square Chaos Game 2

Restricted Square Chaos Game 2

In a previous project, you drew a Sierpinski Triangle with Chaos Game. Instead of a triangle, use four points of a square as the target points and play the chaos game. There is restriction: you can’t choose a vertex that is 2 places away. That is: you can only move to the same vertex as the last move or the immediate neighbor of the last move. It should draw something like this after 100,000 iterations:

Restricted Square Chaos Game

Related Post