The map() function is linear and is not going to give you a parabola type curve.
You need to do what johnwasser said. if some of the parameters change, use those
the parameters in the equation instead of the constant numeric literals.
The map() function is linear and is not going to give you a parabola type curve.
You need to do what johnwasser said. if some of the parameters change, use those
the parameters in the equation instead of the constant numeric literals.