You didn't say how far you want the solids to move in 2 seconds so this example assumes 100 pixels to the right. Red position: dist = 100; startPos = [129,239]; linear(time,3,5,startPos,startPos+[dist,0]) Blue postion: dist = 100; startPos = [301,240]; linear(time,1,3,startPos,startPos+[dist,0]) Dan
... View more