The dynamics of the Sierpiński curve