This fascinating pattern is created by the following steps:
- Pick 3 vertices for a triangle
- Assign a color for each vertex (In this case, red, green and blue)
- Pick an arbitrary point "p" that is inside the triangle, with an arbitrary color
- Pick, at random, one of the vertices.
- Find the midpoint, "m", between "p" and the randomly picked vertex, along with the mid-point color
- Draw "m", and replace "p" with "m"
- Repeat from step 4
No comments:
Post a Comment