Properties of a square

ABCD is a square. Change the dimensions of the square by moving the slider. Click and drag the point A to rotate the square.