Position control 1
//stepmodel() u= -2*x - 5*v; v = v + u*dt; x = x + v*dt; // Move the picture Place(cube , xscale*x + 369, bbase); //round again setTimeout("stepmodel()",10);