Its simple, draw any triagle you like(the shape doesnt matter) than, pick a random point inside the triangle and than, pick any of the 3 corners, and move half the way to it (from your current position) and do this as often as you want and tada a sierpinski triangle