Geogebra Simulation for Particle on a Transverse Wave

I am once again exploring the use of Geogebra to create simulations for Physics. This is what I managed to put together. It serves to help students visualise how a particle in a transverse wave moves. The slider allows the user to pick any particle along the horizontal direction of the wave.