A stochastic method to generate an approximation to the Sierpinski triangle. Made using p5.js.
- Pick a random point p inside the triangle (algorithm).
- Draw it.
- Pick a random vertex of the triangle and find its midpoint with p. Set p to that midpoint.
- Go to step 2.
Not sure. Need to figure this one out.