8 algorithms to create a SierpinskiTriangle
Chaos Game
Pascals triangle
Pythagoras tree
Cellular automata : rule 90
Arrowhead Curve
Recursive function
Shrinking and duplication
Finite subdivision rule
https://martijnkunstman.github.io/SierpinskiTrianglesP5/
(examples are using p5.js https://p5js.org/)