The Path object is told to interpret the list of Control points as the definition of either a Cardinal or B-Spline curve. Both these types of spline curve require at least four Control points before a curve can be generated. Spl therefore automatically duplicates the first and last Control points specified for a given Path so that a curve will exist when only two Control points have been defined by the user. Groups of four consecutive Control points within a given Path define a segment of that Path Paths may be rendered in your scene by calling a spl function within your draw process which will draw all Paths which you have enabled for rendering. Spl is multiprocessing safe.
Followers are objects which travel along associated Paths .
When a Follower reaches a new Path segment, its velocity will be that specified for the first Control point in the set of four which define that segment. The Follower 's velocity is linearly interpolated along segments. All Rights Reserved. The author specifically disclaims any warranties, including but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Only download Spl if you agree with the copyright notice.