Convert Animated SVG to PNG
The code with the issue: https://sololearn.com/compiler-playground/WxnBIAgCO44j/?ref=app It renders graphics using turtle from Python in webpage using Brython. Problem is when I click download button to download the PNG, it is just a completely black/empty image. None of the drawing is there on it. I did try clicking download only after the animation has fully finished, but that still doesn't change anything about it. After checking the DOM update as the render happened, I realized it's because of the SVG having <animate> tags do the whole drawing. Converting to PNG reverts the action and effect of the <animate> tags, so only the black background is there and all the drawing is removed. So how can I instead download the final static version of the SVG as the PNG image instead? Can someone please help?