This flutter project is using the flutter canvas to generate a Sierpinski's Triangle using chaos game formula. The explanation is provided on Wikipedia
The image below showcase what a Sierpinski's Triangle looks like.
Following is the screenshot of the triangle plotted on the canvas.