Spinning Diagrams with CSS don't use any JavaScript or animated image formats, just HTML and CSS. The original math thing involved a few other tricks, to embed the diagrams in LaTeX and generate their geometries. Each diagram is embedded in the LaTeX as a numeric ID, then replaced with generated HTML by a Python script.
Sort: