0
How do you get Javascript to influence Html?
I want to move a shape around the screen using the SVG circle in html and have a while loop in javascript influence the coordinates. I dont know much about the script tag sadly.
2 odpowiedzi
+ 5
Firstly manipulating svg with JavaScript can be laggy and unsmooth,thats why we have canvas.
Your request is quite hard,not something i can explain in a comment.Svg has its own <animate> tag,why not use that?
+ 1
Yeah, that was more of a case that I wouldnt have known was possible if I didnt research it. Thanks for the tip!