Question: condition on the colors to illustrate the periodicity of the sine function

Hi,

I am looking to refine my animation. I would like to add a condition on the colors to illustrate the periodicity of the sine function: the first circle in red, and the curve in red from 0 to 2π, then the second circle in blue and the curve in blue from 2π to 4π, etc. Any ideas? Thank you very much in advance.

AnimSinusCouleurs.mw

Please Wait...