Fractal Triangle (Sierpinski Gasket)
| The one shown in left is the famous fractal triangle (I forget the exact name). At the first glance, you might think that it is drawn by recursion: cutting an inverted triangle out from the original triangle and then repeat this process for the remaining three smaller triangle. However, this applet use a different way to draw this. At first, we locate three vertex of the triangle, then starting from a randomly located point, we randomly find the mid-point with three of the vertex, plot it, and repeat doing this with the new mid-point. interesting, right? |