The animation was designed with help of program "Escher". It was found at http://www.cs.technion.ac.il/~gotsman/Escher/