simple SVG -based mathematical animations (pure JS)