Drawing of sierpiński triangle with given number of attempts.
There are 3 points at the beginning which have equal distance between them. At first, a point is randomly added. Then at each step, one of the 3 main points is chosen randomly and a point is added between (middle) the lastly added point and this chosen point.