The sketch shows the type for the triangle that the student makes. Because it's so hard to make angles precisely 90 and lengths exactly equal, it allows the student to be off by a tiny bit and still say right or isosceles.
I added a parameter called tightness that you can adjust to make it easier or harder to match a type. Right now it is set at
tightness=.04
Change to a smaller number for more precision.