math/formula behind line


    Jun 29 2011 | 9:18 am
    Can someone please give me some information about the line formula.
    I need to calculate a linear interpolation in a given time range in c++.
    Thanks a lot!

    • Jun 29 2011 | 10:51 am
      Basically, what line does is dividing the range by the number of steps (duration / grain size) to calculate an increment. Then for each grain, you just add the increment.
      Something like this, in patch: