I want to draw some geometric forms in GEM that resemble something like a flower. I want to watch the draw growing, like in a fractal algorithm, but the end result should be like a flower or something resembling an organic form. I was toying with the particles, but i didn't find any that would work. Does anyone have any ideas or tried to do this?
Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
On Tue, 18 Mar 2003, arm pdlist wrote:
I want to draw some geometric forms in GEM that resemble something like a flower. I want to watch the draw growing, like in a fractal algorithm, but the end result should be like a flower or something resembling an organic form. I was toying with the particles, but i didn't find any that would work. Does anyone have any ideas or tried to do this?
a petal-like shape can be obtained by drawing sine curves in the polar domain. something like this for N petals:
"time": t from 0 to 1 radius: r = sin(PI*N*t) angle: a = t
then you convert into cartesian:
x = r*cos(angle) y = r*sin(angle)
you could take points for t going from 0 to 1/N and make that a polygon.
growth of plants, is dictated by the Fibonacci sequence, as discovered by the Arabs during the middle ages.
The angle difference between two branches coming out of the stem is one number from the Fibonacci sequence divided by the next one.
the Fibonacci sequence goes like 0,1,1,2,3,5,8,13,21,34,55,... where every number is the sum of the two preceding ones.
Mathieu Bouchard http://artengine.ca/matju
an under-explored part of nqpoly is that using multiple gem-heads, you can use it to make large numbers of similar objects in gem.
the next version has a little more support for this kind of thing (each created object has an index, and knows how many objects there are in total)...
i might push through an earlier release, i was waiting until i'd made a better help patch.
pix.
On Tue, 18 Mar 2003 20:48:25 +0000 (GMT) arm pdlist arm_pdlist@yahoo.co.uk wrote:
I want to draw some geometric forms in GEM that resemble something like a flower. I want to watch the draw growing, like in a fractal algorithm, but the end result should be like a flower or something resembling an organic form. I was toying with the particles, but i didn't find any that would work. Does anyone have any ideas or tried to do this?
Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
okay,
earlier today i uploaded the new version of nqpoly:
http://pix.test.at/pd/nqpoly/nqpoly4.html
it includes a small gem example based on this question.
hmm.. i heard about the "clone" external just a few minutes after uploading this, and i'll conceed there are only very minor differences in functionality. although the implementations are radically different.
http://www.akustische-kunst.org/puredata/clone/index.html
pix.
On Wed, 19 Mar 2003 05:44:22 +0100 pix pix@test.at wrote:
an under-explored part of nqpoly is that using multiple gem-heads, you can use it to make large numbers of similar objects in gem.
the next version has a little more support for this kind of thing (each created object has an index, and knows how many objects there are in total)...
i might push through an earlier release, i was waiting until i'd made a better help patch.
pix.
On Tue, 18 Mar 2003 20:48:25 +0000 (GMT) arm pdlist arm_pdlist@yahoo.co.uk wrote:
I want to draw some geometric forms in GEM that resemble something like a flower. I want to watch the draw growing, like in a fractal algorithm, but the end result should be like a flower or something resembling an organic form. I was toying with the particles, but i didn't find any that would work. Does anyone have any ideas or tried to do this?
Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list