in-browser vector polygon editing with EPS export for 81hacks

click here to export an eps file

Okay, well, I guess so far I just have an EPS export, display, moving existing vertices with a mouse, zooming with a mouse, and creating new paths working. I'm still missing add touch support, saving in localStorage, and zooming anywhere besides the origin, but I guess I’m not going to get those done in this hack.

This is basically a prototype for making JS apps that directly generate files to drive laser cutters. You could conceivably take an EPS file from here and send it to a laser-cutting place, but it’s kind of clumsy, there’s no snap or cutter compensation, you can’t tell what the scale is, there’s no undo, and you lose all your work if you reload the page.

I learned some things writing this.