I’m building a 3D cycloid drawing machine using a Kangaroo counter to drive the rotations. I saw I was getting periodic jumps in the resulting curve, and after investigating have realised it happens every time the counter (with scaling factor) reaches a multiple of Pi (3.14).

As I am performing further functions on the counter before inputting to the evaluate curve parameter I can’t see any mathematical reason why this reset to the “0” parameter position would happen.

Any pointers appreciated, I’ve probably missed something obvious…

3D Cyloid TEST.gh (20.1 KB)