Demo 1 is typical of "proofs" in books and is much easier to construct.
This demo probably looks better and is easier to follow.
BTW: This applet is much harder to make with the half-wedges.
I love the simplicity of the design and the use of a target rectangle! Just imagine how we (the world of GeoGebra users) could do collectively about the fundamental ideas of mathematics. The process of designing a model like this is absolutely problem solving, full of pedagogical implications! (lgbu)
MACC.912.G-GMD.1.1