Nice code for Sierpinski

This is not a question but I just wanted to share some nice code I was able
to write to create the Sierpinski carpet.
Nothing new probably but it seemed pretty cool to me,
I also formatted it in a fancy way to match the graph result:
https://www.desmos.com/geometry/wrr3yzgz90

(This for a lesson I’m gonna be giving about fractals …)