Position control 2
//stepmodel() u= -100*x -20*v; if(u>1){u=1;} if(u<-1){u=-1;} v = v + u*dt; x = x + v*dt; // Move the picture Place(cube , xscale*x + 369, bbase); //round again setTimeout("stepmodel()",10);