Копия Chaos Game

Creates an image based on the Chaos Game wikipedia Wolfram It takes a random point in the polygon and then translates it by a fixed fraction of the distance to one of the vertices chosen at random. This iteration is repeated. Sides gives the number of sides in the polygon Points is the number of points per iteration Fraction sets the fraction Speed adjusts the animation speed The default settings produce the Sierpinski Triangle