donalgrant / spiro

Code and notebooks related to spirograph and harmonographs
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Handle all corners the same #8

Closed donalgrant closed 1 year ago

donalgrant commented 1 year ago

Use one routine to handle moving through a corner: rotate around if the angle is greater than or equal to $\pi$, and stop (with a guard angle) if the angle is less than $\pi$.

donalgrant commented 1 year ago

corner_angles does this.