From http://funprogramming.org/35-A-grid-of-rotating-objects-creates-a-wave-of-rectangles.html