Making continious wave like formation with servo's like sinus

yes some kind of that

could you write an example code how 16 servos would run in a loop ? I can run them at the same time at same position but the delay or difference is not working