graph drawing tool
sx = function(vx)
	return vx/Viewport.zoom + Viewport.x
end