GPX to Animated GIF

Hello

when uploading a GPX trace with timestamps to OSM an animated GIF is automatically rendered, representing the way taken.

I would like to know where to find a copy of the program/script which generates this animation or if someone could point me to another program which can fulfill this task locally on my computer?

Thanks
Markus