Hi cjj,
Let me show you how I would create a 2D golden spiral. Once you understand this in 2D, you should be able to figure out how to do this in 3D. All angles are in radians, not degrees, in this post. I used the equations from following Wiki pages:
https://en.wikipedia.org/wiki/Golden_ratio
https://en.wikipedia.org/wiki/Golden_spiral
https://en.wikipedia.org/wiki/Logarithmic_spiral
Add the following user parameters:
num_turns = 4
a = 1.0
Phi = ( 1 + sqrt(5) ) / 2
b = ln( Phi ) / ( PI/2 )
where Phi is the golden ratio and b is the growth factor.

The equation for the golen spiral, using the polar coordinate system, is the following:
r(t) = a * exp( b * t )
theta(t) = 1 rad * t
t min = 0
t max = num_turns * (2*PI)

You can change the spiral direction by adding a minus sign to r(t).
If you prefer the Cartesian coordinate system, use this equation:
x(t) = a * exp( b * t ) * cos( 1 rad * t )
y(t) = a * exp( b * t ) * sin( 1 rad * t )
Play with the growth factor by changing the user parameter b. For example, 1/4, 1/10, 1/20, etc. The parameter a is just a scale.



Hope this helps,
Glenn
Glenn Chun
Sr. Principal Engineer