A curva que se representa é \[ \left\{ \begin{array}{lcl} x & = & 5 \cos(s) \\ y & = & s \\ z & = & 5 \sin(s) \end{array} \right. \] onde \(s \in [-6 \pi, 6 \pi]\).

Obxectos da escea:



	var helix = new THREE.Curve();
	helix.getPoint = function(t)
		{
		var s = (t - 0.5) * 12*Math.PI;  
		// Segundo t toma valores de 0 a 1, s fainos de -6*PI a 6*PI.
		return new THREE.Vector3( 5*Math.cos(s), s, 5*Math.sin(s) );
		}

	var curveGeom = new THREE.Geometry();
	curveGeom.vertices = helix.getPoints(128);
	var material = new THREE.LineBasicMaterial({ color:0x0000ff, linewidth:2 });
	var curve = new THREE.Line(curveGeom, material);
	scene.add(curve);