NestList

WMA link


NestList[f, expr, n]

starting with expr, iteratively applies f n times and returns a list of all intermediate results.

Chaos game rendition of the Sierpinski triangle:

Nest
NestWhile