Trying to rotate and transform SVG path - do I need trigonometry calculations?
I'm trying to manipulate with mouse SVG path which represents symbol of electronics resistor. This symbol requires manipulation with end of the "leads" (if you can picture real resistor); therefore I am trying to achieve draging 1st point arround (2nd is still there) and to all points of path to behave proportionally in when drag the 1st point on new coordinates. Try to group, try with trigonometry functions...so code is like: `<g id="r" > <!-- R - group for symbol of electronics resistor --> <path d="M 200 20 v80 h30 v150 h-60 v-150 h30 m 0 150 v80 " fill="none" stroke="blue" stroke-width="5"