hey everyone,

in my never ending quest to find interesting maths based animations i created a trig function but dont understand it.

the function is y = sin(x) where x = x+k*sin(x). k has a starting value of 20 and x starts at 180 (or PI).
the function iterates once every frame.

have a look at the animation strange trig

when k is changed (using the buttons) to a multiple of 22 the the function becomes very stable, and i cant work out why.