Open bmcminn opened 3 years ago
Lines are currently drawn based on their start and end coordinates (x1,y1 | x2,y2) which causes a few issues:
lines[]
an object list like tiles{}
so a given coordinate pair will overwrite a matching coordinate pair2,4|10,12 == 10,12|2,4
but my system wouldn't know that without rearranging the coordinate order before pushing to the lines[]
arrayline1 = 2,4|10,12
completely overlaps line2 = 5,7|8,10
but it wouldn't be possible to determine which line to delete here...It's possible that eventually upgrading the system to D3.js/SVG would be the better option going forward. Vector tooling would simplify scaling, and native hover event targets would make identifying lines to delete easier... not to mention being able to adjust existing geometry
Add ability to draw straight line stitches between points at corners of stitches
Add ability to remove straight line stitches from design via a seam ripper tool
lineStitch[]
array with a similar schema to thestitches[]
collection