so… maybe I should try a new fresh approach. I gave up avoiding adding a new data structure and created a drawing_dict to iterate and draw. At this point it contains a reference to a drawing function and the attributes to use… it should give me enough flexibility. I’m using shapes as keys,
I have to think about the case of the complex body… the body should be the key in that case. But then, removing stuff will be harder.
https://github.com/villares/sketch-a-day/blob/main/2025/sketch_2025_04_27/sketch_2025_04_27.py