// Otware script library, http://www.thegreat.free-online.co.uk/scripts.html { var xoff,yoff; xoff = x - (view_left + view_width/2); // offset from the view center yoff = y - ystart; // offset from start position x += xoff * 0.015; // Play with these values y += 0.2 + yoff * 0.02; }