Input
HTML5

 
circle (3 coords)

 
poly (6+2n coords)

 
rect (4 coords)