x = 0
ground = function()
if (x == 240) then
height = -1
else
height = 1 / math.cos((x / 1.19 - 100) * 3.14 / 180)
if (height < 0 or height > 800) then
height = 800
else
height = height + 60
end
end
x = x + 1
end
grass = function()
height = math.random(2, 5)
end