Dissecting Rectangles into Squares

A rectangle can be dissected into a square as shown in http://www.geogebratube.org/student/m14308 . Explore how this dissection could be done with the following applet.

Anthony OR. GeoGebra Institute of Hong Kong.