Point and handle editing on a preview canvas
Polygon mode gives draggable vertices over a preview box; moving a point updates its x/y position as a percentage of the box's width and height. Circle and ellipse modes swap the vertex grid for a radius and center handle, or an rx/ry pair, that can be dragged to adjust the shape.