Js acquires the coordinates of a point in svg path path

demand: as the screen slides, div moves according to a complex svg route, including rotate angle
question: can I get the coordinates and radians of a point on the svg path path as needed?
chase: ladies and gentlemen, if you have api, you will win an api, and if you don"t have api, you will have a follow.

Mar.01,2021

you can use the forming frame

getBBox () Native method

https://blog.csdn.net/NEWSEKA.


compare commonly used path.getTotalLength (); and path.getPointAtLength (Len);
radians calculate tangents by getting two points

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b347d8-2bf2f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b347d8-2bf2f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?