create polygons with clicks