python code to generate a spin mirror from a kinda svg path format