Sg2.9
Fractals
Recent RSS
Fractals
From:  Osro
Date:  3. December 2005, 11:41

I've been busy making something based on fractals. Basically it repeats an object. In this case (see url). The object repeats itself twice, each under its own angle and a little bit smaller. These two pieces repeat themselves twice with the same angle according to their own axis (I hope it's a bit understandable, English isn't my mother's tongue). Afterwards i've put in some very slight random functions just to make sure I don't get the same result twice. This I've done this with ActionScript in Flash, because it is the only script language I understand enough to make such things.

The result is a tree by the way. Flash crashes once you cross the borderline of about 2000 duplicated objects, so I try not to cross that border.

Would it be possible to make a similar script with java? Say you take an object, for instance a rectangle and make it repeat itself two or three times under different angles. These repeat themselves three times... and so on. Eventually creating some bizar object or even a tree :) !! I'm sure once you have the basic code you would be able to get wonderful results. Put in the positions where the objects must repeat, the amount of repetitions, ...

The url: http://pluto.curious.be/karel/temp/fractal_tree01.swf

What do you think?

re:
From:  osro
Date:  4. December 2005, 11:11

thx!

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
Script of the Moment
Phyllotactic Spirals 25.03.11