Title: phyllotaxis parastichy Post by: arturv on March 21, 2012, 09:11:31 AM Hello! I'm new here. Also relatively new to programming and math. I'm building sunflower pattern (phyllotaxis) in RSL (renderman) and I need to find secondary spirals (parastichy) and use them to define new x and y coordinates. I've got the pattern (phyllotaxis) in green and then parastichy arms (red and blue) matched by fudging some values in. You can see the values 0.0026 and 0.0010 used in defining parastichyR and parastichyL. But I'm curious how to find these values properly. How to define relationship between phyllotaxis pattern and parastichies or how to find spiral angles using existing variables (golden ratio etc) (http://www.vill.ee/attachment.php?attachmentid=6901&d=1332316322) Code: //cartesian to polar coordinate system I've stumbled across pretty cool website with java applets and all that does some explanation but just a bit beyond me. http://www.math.smith.edu/phyllo even some java source code for calculating parastitchies but it looks very different to my approach http://www.math.smith.edu/~cgole/PHYLLOH/SUSAN/psyral.java Any help appreciated art. |