This applet is a square:
This one is a rectangle: