0)make 2 points
1)go through all the points
2)make a new point in the middle of 2 points
3)change the hight of that new point with some number, we call it now = Ratio. so we do like :
You, as the author, should code in a fix for that, rather than being rude to someone trying to help you out. Also, I glanced at the code: you should work on polishing. I've attached a version that I polished a bit for you: little things like changing the controls to up/down and lowercasing all the variable names, big things like changing smoothness to be whole numbers (to avoid floating point errors) and moving function definitions outside of other functions, good-habit things like checking user input and putting startup variables into love.load
I think it's cool but I think you should make it so if you hold down the buttons for, say, a second, it starts shooting the number up at a stupidly fast speed :-D