Hey everyone
well download the little attachement and try if you write a code that will produce the same...
(this is just the first version I think I will put something else up soon, if I find some time)
a little hint:
This is really simple (you might have done it in some programming class in school), don't think about any heavy math solution... I programmed this within 5 minuntes.
and if you wanna try this use the getpixel and setpixel api, using pset will be to slow for most machines...
Although they are probably all related, it reminded me of this technique that Stephen Wolfram is trying to use to make an equation for the universe or some such in his lates research.
Supposed to be based on a type of seed and then applying simple rules, it generates a pattern.
haha you know what? I learned about those automats some time ago, but reading a review about Wolframs book "a new science" I believe it is, made me write this
Last edited by /\/\isanThr0p; Jun 16th, 2002 at 02:50 PM.
alright I guess I can't post my code
I did not intend to go for Sierpinski I just programmed a cellular automat and played around and since I rembered having seen this one before I posted this... .
well my code is pretty crappy I guess...
I am impressed Janus...
(I guess I posted this for some beginners to give it some thought, but well you posted a great example on how to work with pixels and stuff... all I did in my code was getpixel in the line above and if its white do that if not do that....all simple (and slow))