Concave / Convex Increasing



This technique shows the code segment for a curve that can exhibit concave or convex curves that increase from left to right throughout the 0 to 100 input range. This is one of several complex curves that allow different shapes to be created by using input variables that can tune the shape of the curve.

With this curve the lower "base" (index 1) and the upper end of the curve (index 2) can be set with input variables. The curve can also be changed from convex to concave using another input (index 3). When input (index 3) is set to 50, a straight line results.

Graph with Adjustable Parameters