javascript - Bezier curves in SVG -
i draw bezier curves in svg, , know code looks like:
path.setattributens(null, "d", "m5,5 c5,45 45,45 45,5") but if want give attributes on page mean like:
circ.setattributens(null, 'cx', x); circ.setattributens(null, 'cy', y); circ.setattributens(null, 'r', boku); where cx,cy,r given page text field after submit button. draw them in loop every curve difrent.
Comments
Post a Comment