fabricjs.com stickman: move the lines and affect the related circles
问题 using the stickman example of http://fabricjs.com/, I have been trying to achieve moving the related circles when a line is moved. The code in the example is not well structured, heavy & with errors :), as I can not to move the the related circles symmetrically. If in the //move the other circle part is used next line obj.set({ 'left': (s.calcLinePoints().x1 + _l), 'top': ( -s.calcLinePoints().y1 + _t) }); the difference is in the sign of collected information for y1 and we move some