I'll say a terrible vesch ...
If you hover the cursor on the element of interest on the page and click on the right mouse button, a menu opens from where you can poke "inspect" or "see the code" - and in the window that opens you can figure out what it is and how it works.
In your case, this is not a script, but the SVG language - specifically for this purpose and created to draw all sorts of shapes. Sometimes it is more effective to place some character in the form of SVG-code instead of a PNG image, since the number of pixels in a picture is limited ... and SVG has an "infinite" quality - no matter how long you get, it will always be displayed clearly.

But zadolbatsya copy it from there, although you can try.
But for example, here - - http://www.clker.com/inc/svgedit/svg-editor.html you can draw something and get its SVG-code by clicking on the appropriate button. You can draw in parts the same as on that site, then search for "SVG animation"