Drawing Spirograph curves in Python
johndcook.com
johndcook.com
I stole the relevant bit from here: https://stackoverflow.com/questions/22894942/plotting-hypotr...
Here's one video example: https://vimeo.com/99493389
When moving circle is outside, its called Epitrochoid https://en.wikipedia.org/wiki/Epitrochoid
The difference between two is sign for radius for moving circle.
Overall this is just ploting parametric equations in 2D in Python using complex number trick.
The combustion chamber of the Wankel engine is an epitrochoid. (From the above Wikipedia link.)
I had read up about Wankel (and also the more conventional internal combustion) engines as a kid. Thought the Wankel engine idea was cool. It has both pros and cons.