This can be used to linearly blend any two things, as for t in between 0 and 1, we'll get part of f(a) and part of f(b).
Now, if we want to use x instead of t, where x goes from a to b, we need to convert:
x = a <=> t = 0
x = b <=> t = 1
The distance that x has travelled from a is (x-a). The total distance from a to b is (b-a). t is the proportion of that total distance, so t is the distance travelled over the total distance:
x-a
t = ---
b-a
Now (renaming g to f as we're changing parameterisation* )
Now, if we want to use x instead of t, where x goes from a to b, we need to convert:
The distance that x has travelled from a is (x-a). The total distance from a to b is (b-a). t is the proportion of that total distance, so t is the distance travelled over the total distance: Now (renaming g to f as we're changing parameterisation* ) Does that explain it?* g(x) is something different: g(x) = (1-x) f(a) + x f(b), just by substituting in.