An ongoing extension of my d3.geometer library, which adds coordinate spaces for drawing / manipulating polygons.
It's somewhat mobile friendly!