There's plenty of code in the archives showing how to work with Bezier curves or splines as they are also called. They are very easy to use and give excellent (i.e. natural) results for paths. And... you don't need sin and cos functions in order to work with splines...
Barney
Barney