Applet

(Click on any of the vertices of the triangle and move it)