First, the unit length is calculated.
unitLength = maxLength / (complexity + 1)
Second, how many units the actual length can have
is calculated to determine how many CVs will be
inserted between between the start point and the
end point of the actual curve. Then, the CVs
positions areadjusted so that each length between
CVs become equal length.
Finally, each CVs are randomized. |