Procedural Spirographs in Python