trigonometricMotionExample on Github