Koch fractal curve

Use the control polygon below to change the shape of the curve (click and drag the three control points, which are indicated by the circles).

(The fractal dimension computed is the similarity dimension; this is correct if the curve does not intersect itself.)