c.width=1920; for(i=0;i<300;i++)for(j=0;j<6;j++){x.fillRect(960+200*C(i)*S(T(t/1.1)+j/i),540+200*S(i),10,10)}

Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).