this is a 3D IFS fractal generator using an algorithm known as Chaos Game. The generator is preloaded with a Sierpinski tetrahedron, and you can edit it by going into the editor and changing the lists.
everything I used to understand Chaos Game: https://math.hws.edu/eck/js/chaos-game/chaos-game-info.html https://math.bu.edu/DYSYS/chaos-game/node1.html https://www.maa.org/sites/default/files/pdf/upload_library/2/Devaney%202005.pdf https://beltoforion.de/en/recreational_mathematics/chaos_game.php https://en.wikipedia.org/wiki/Chaos_game