The carpet manufacturing process, up to phase six, can be seen here: https://commons.wikimedia.org/wiki/File:Animated_Sierpinski%27s_carpet.gif
From the carpets hung close to each other, one is pulled out very slowly vertically upwards, according to the illustration below. Those next to it do not move, but they act on the extracted carpet with a frictional force which is proportional to the contact surface area.