Torus knots generation