I have used on/off switches for the markers. The parameters for each of them were created in a loop but there was an awful lot of connecting them. Maybe there is a better way how to do this. You could try an svg animation.
You can check this simple instrument here: