GeoGebra Classroom Sine light on circle III
Based on Sine light on circle II
speed = 1
n = Slider( 1 , 8, 1 , 1 , 100, false, true, false, false)
t = Slider(-pi,pi, 0.01, speed, 170, false, true, false, false)
p = 2pi/n
P(x) = x - p*(1+floor((x/p-0.5)))
A(x) = exp(-(n*P(x-t))^2)
F(x,x0) = 4 + A(x)*sin(16*(x+x0))
s1 = Curve( (F(u, -0.09); u), u, -pi, pi)
s2 = Curve( (F(u, 0 ); u), u, -pi, pi)
s3 = Curve( (F(u, +0.09); u), u, -pi, pi)