This siulation simulate a charged particle move in sine-wave y(t)=Y *sin(wt)

It generate wave move in x-direction -which is moving in constant speed (speed of electromagnetic wave or speed of light). 

Do not confuse the speed of charged particle and the speed of the generated wave.