Is this valid parametric equation to create control points for a helix in 3D space?

652 Views Asked by At

Is this a valid way to compute new points that are on a helix and if not what is it wrong?

The Cartesian coordinates of each new helix control point could be described by the following parametrization:

$x (u)= a n_x u + p_x + b((1- \cos{(u\theta)})/ \theta) $
$y (u)= an_y u + p_y + b(\sin{(u\theta)}/ \theta)$
$z (u)= a n_z u + p_z + u $

where $a$ is the length of the helix, $u$ is in $[0,a) $, $(p_x, p_y, p_z)$ is a given center of a triangle in 3D space, $(n_x, n_y, n_z)$ is the normal of the given center in the triangle, $b$ is the radius of the helix and $\theta$ controls the frequency of the helix's curls.

1

There are 1 best solutions below

1
On

Why don't you just make it $x(u)= a+m(\cos(u)),$ $y(u)=b+n(\sin(u))$ and $z(u)=k*u$?