NestList

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

Chaos game rendition of the Sierpinski triangle: