|
Author |
Topic: fibonacci variants (Read 3345 times) |
|
benelek
|
Re: fibonacci variants
« Reply #1 on: Nov 24th, 2003, 3:45am » |
|
*sigh* fibonacci is always cool.
|
|
|
|
REAS
|
Re: fibonacci variants
« Reply #4 on: Jan 1st, 2004, 7:54pm » |
|
bzor, these are the best i've seen. it's a shame you didn't include the source code. + casey
|
|
|
|
TomC
|
Re: fibonacci variants
« Reply #5 on: Jan 6th, 2004, 1:58pm » |
|
I just tried something similar using Mike's as a starting point... Code: // By Tom Carden www.tom-carden.co.uk // Adapted from Phyllotaxis by Michael Szell (03.Oct.2003) http://stud3.tuwien.ac.at/~e0225885/programmieren2_en.html void setup(){ size(400,400); rectMode(CENTER_DIAMETER); strokeWeight(1); //noFill(); noStroke(); } float del= random(TWO_PI); void loop(){ background(255); float ang=PI; float size = 50.0; for (int n=1; n<255; n++){ //stroke(n%2==0?color(255,100,50,n):color(50,100,255,255-n)); //stroke(255-n); fill(n); push(); translate(width/2+sin(ang)*(width/2)*((float)n/255), height/2+cos(ang)*(height/2)*((float)n/255)); rotate(ang); rect(0,0,size*(1.0f-0.5*(float)n/255),size*(1.0f-0.5*(float)n/255)); pop(); ang += del; } del += 0.0005; } |
| But then I saw Olivier's work... wow.
|
« Last Edit: Jan 6th, 2004, 2:02pm by TomC » |
|
|
|
|
Koenie
|
Re: fibonacci variants
« Reply #7 on: Jan 6th, 2004, 8:24pm » |
|
Hey toxi, didn't you use that in your macronaut movie? Koenie
|
http://koeniedesign.com
|
|
|
|