Hello all,

Currently I am trying be able to input any profile curve into the definition, make a surface of revolution and populate it with points with a phyllotaxis pattern.

After extensive research on papers, gh forums and wolfram, I think I found what I needed.

http://blog.wolfram.com/2011/07/28/how-i-made-wine-glasses-from-sunflowers/

This blog thoroughly explains how any surface of revolution can be populated with this kind of pattern.Showing the math and explaining the logic behind it. It first populated a half a sphere (Thing I have achieve in GH with same results) and then goes on into populating any surface of revolution. Problem is it is coded in Mathematica.

I was able to interpret it with some help, and populated half a sphere correctly. Then I tried the rest, with a result, but not exactly the same. (If I input an arc to have half a sphre as a surface of revolution, the population varies, with many points stacked and superpositioning on top) this is not ok.

Both hemishpheres are supposed to be the same.

The first one in right.

The second one is not.

If someone could help me with finding errors in the translation, making a translation of his own, or coming up with a total different method it would be really helpful.

Phyllotaxis Surface Revolution 1.0.gh (11.0 KB)