Not animated or svg, but along the same lines, some years ago I wrote https://bazzargh.github.io/stripmap/ which automates generating stripmaps. The idea was to eventually use this for travelogues of my cycling trips; a map of the route would be a sidebar to the text.
Since then I learned about https://en.wikipedia.org/wiki/Dubins_path as a way to find the path segments; combined with Douglas-Puecker that's probably what I'd use today.
Since then I learned about https://en.wikipedia.org/wiki/Dubins_path as a way to find the path segments; combined with Douglas-Puecker that's probably what I'd use today.