Bezier Curves Library - 2d and 3d, Linear, Quadratic, and Cubic

Created By Neil Silver(aks Hemlos), November 18,2009

These math functions are documented on Wikipedia:

http://en.wikipedia.org/wiki/B%C3%A9zier_curveUsage of this math is up to your imagination.

Really, this functionality gives alot of power.

You can merge this array with other structures of math to create some awesome stuff.

These curvatures can be applied to structures in middle of the line, or anywhere on it.

You can do alot, you could create tradjectories, or paths.

You can use these with polyvectors to make dynamic flexing objects.

If done proper, you could apply these to 3d object creations also.

The sky is the limit here, and i wish i had more time to makes more samples, but i dont.

6 function library:

LinearBezier2d

LinearBezier3d

QuadraticBezier2d

QuadraticBezier3d

CubicBezier2d

CubicBezier3d

Here is the lib with 3 sample projects:

sample1 draws the 2d curves.

sample2 draws a bezier spline

sample3 is a game player and an AI critter following a path

[attachment deleted by admin]