So I have two points in 1D, point A at 0, and point B at 1. Now I want to place X number points between these two points and control how close each point is to A and B based on a "shift" value. A lower value would push the X points closer to A, while a higher value pushes the points closer to B.
For example, when Shift = 0 and X = 2, then two points would lie equidistant between A and B (at .33 and .66). As shift increases, the two points start getting closer to B (ie, .5 and .75). However, I am having a hard time finding an equation that will produce the desired results. Any ideas?