Variants of the Sierpinski Triangle

These are some variants on my Sierpinski triangle program with the chaos game method. I used a slightly different equation (by accident Рthis was a bug) to govern the transformation of a point. You can run the program for the first one here, or the second one here. You can also view the code for the first one or the second one. The change is only a slight variation in the numbers, but it produces quite a different result.

The first variant of the Sierpinski triangleThe second variant of the Sierpinski triangle