var ylean = (input.leftright*(i/screenwidth-0.5) + 0.5) * screendata.canvas.height / 4; DrawVerticalLine(i, heightonscreen+ylean, hiddeny[i]+ylean, map.color[mapoffset]);