The subsquares are numbered as follows, and initially oriented in the up direction as illustrated by the arrows in the image on the right.
Each design can be labeled by a string of length 9 corresponding to the numbered position of the subsquares as shown above, with each string item representing how the corresponding subsquare is rotated or deleted.
Label
Meaning
1
Rotate 0°
2
Rotate 90°
3
Rotate 180°
4
Rotate 270°
x
Remove square
So the Sierpinski Carpet would be labeled as 111-1x1-111 (dashes added to help readability).
Video Demonstrations
Click on the image to toggle between the design and the corresponding Sierpinski carpet relative.