Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have no idea if it works well, but the SVG spec has a .getTotalLength() method for path elements, which should mean it's possible to calculate the total length in a browser quite easily. A decent JavaScript developer should be able to prove whether it works well or not in an hour or two.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: