press the up/down arrows to show or hide the turbo mode instructions and the variable if you don't turn on turbo mode you will be sitting here watching it for a while, but if that is how you choose to spend your time then that's ok.
i don't have enough mathematical knowledge to explain the process behind this, but i do know that the sierpinski triangle is a kind of fractal. here's the wikipedia page: https://en.wikipedia.org/wiki/Sierpi%C5%84ski_triangle nobody asked for this, i just keep making mathematical scratch projects when i get bored