Sg2.9
Phyllotactic Spirals
Recent RSS
Creator:  ken frederick
Date:  25. March 2011, 18:52

** UPDATE **

a small little script that generates phyllotactic spirals.

http://en.wikipedia.org/wiki/Phyllotaxis

settings and different modes are set using the panel and spirals are placed by using the scriptographer tool (shortut: ~)

General Settings: (applies to either mode)

  • ----------------------------------------------------

Dot Spacing = spacing between dots
Size = size of dot
Auto Sizing = dot size increases from center point, the maximum size being what is set by Size

Drawing Type:
Circles = draws dots
Points = draws single points (for easy use with Voronoi Tool)
Lines = connects the vertices (in order) with lines

Modes:

  • ----------------------------------------------------

1/ Concentric Rings

Number of Rings = self explanatory
Ring Spacing = number of points spacing between rings
Ring Rotation = (i'll try and explain) this is the angle of rotations that the last ring will make i.e. if you have 10 rings the 10th ring will be rotate 90 deg, the 9th ring 80 deg, the 8th ring 70 deg, and so on...

  • ----------------------------------------------------

2/ Phyllotactic Spiral

Number of points = i couldn't find a formula that would build these out of rings so it's based on the number of points

  • ----------------------------------------------------

Notes
** finally i have access to cs5 and so far as i have tested this script functions without problems using the latest version of scriptographer (2.9.072). i still currently have no consistent way to test on other versions of illustrator (i.e. CS2 or CS4 or CS?) or windows. email is the best way to contact me.

thanks.
Ken

Re: circle sizes?
From:  pepito sanchez
Date:  24. October 2013, 23:51

You must install the scriptographer plugin on AI CS3, it doesn't work on CS6. You must install PhyllotacticSpiral_0_1.js as well, then you can do spirals and modify the parameters.

Re: circle sizes?
From:  ken frederick
Date:  26. October 2013, 10:51

@allen Pepito is correct, you will only be able to use this script with CS3. As to your specific question, the "Auto Sizing" should generate what you're looking for.

If not with some slight modifications of the script you can achieve the desired effect.

here's some pseudo-untested-code:

var pt = new Point(origin.x + x,origin.y + y);
r = origin.getDistance(pt) + values.dotSize;
var dot = Path.Circle( pt, r );
dot.strokeColor = null;
dot.fillColor = new CMYKColor(1,1,1,1);

Ken

Re: circle sizes?
From:  David
Date:  29. July 2014, 18:44

How were you able to make the different spirals as was done in this image?

Re: circle sizes?
From:  ken frederick
Date:  4. August 2014, 17:33

by changing the "Drawing Type" dropdown menu

Ken

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19