Lissajous

A path based on the Lissajous figure but in 3D. I added this curve as a bit of fun.

lissajous path

Creating the Lissajous path

Constructors
Lissajous(int nbrSlices)
Lissajous(int xCoef, int yCoef, int zCoef, int nbrSlices)
Lissajous(int xCoef, int yCoef, int zCoef, int nbrSlices, PathOrthogonal ortho)
Parameter Comments
xCoef, yCoef, zCoef
the Lissajous coefficients. Best results are from small prime numbers. The first constructor uses the default values 1, 3 and 5
nbrSlices
the number of slices along the length of the path
ortho
this is used to reduce the amount of twist along the length of the shape. If this parameter is omitted Shapes3D will try and find the best value. Alternatively you can specify 1 of 4 possible values - S3D.ORTHO_X, S3D.ORTHO_Y, S3D.ORTHO_Z or S3D.ORTHO_A.