Sierpinksi Carpet

This is one of the fractals that is named after the Polish mathematician Wacław Sierpiński, together with the much more famous triangle and the much less famous curve.

View code on Github