In the case anyone is interested, I have found [url=https://blackpawn.com/texts/pqtorus/default.html]an interesting page on PQ-Torus Knot[/url] and has some initiating steps on it that I have been followed making some programs to see what they do. The attached zip contains both the source and compiled code.

- TorusKnotWC01.c. The first step drawing a circle.
- TorusKnotWC01b.c. The same seen in 3D.
- TorusKnotWC02.c. Now let's mix it up a bit by oscillating along y.
- TorusKnotWC03.c. Change it to also oscillate radially...
- TorusKnotWC04.c. Now make it loop around three times. At this point we have just made a (3,8)-torus knot.

Regards.
