Sierpenski Triangle
May. 28th, 2011 07:33 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I'm a big fan of fractals. I'm also trying to get myself into the mindset for starting Computer Science in October. This leads to me writing a (very simple) program to produce one of the most famous fractals - the Sierpenski Triangle/Gasket. This is what it looks like:

And yes, I did build that myself.
To generate your own Triangle, you canrun my code on Scratch here (the triangle should run if you have either Flash or Java on your browser). It will take some time to get to that quality (I left it running for several days accidentally) but the basic shape forms surprisingly quickly.

And yes, I did build that myself.
To generate your own Triangle, you canrun my code on Scratch here (the triangle should run if you have either Flash or Java on your browser). It will take some time to get to that quality (I left it running for several days accidentally) but the basic shape forms surprisingly quickly.
Ooo...
Date: 2011-05-28 08:25 pm (UTC)Re: Ooo...
Date: 2011-05-28 08:32 pm (UTC)