The dragon curve is a fractal that is produced by rotating the previous iteration ninety degrees, starting with a single line as the first iteration.
This JavaScript program uses the HTML canvas element to draw the fractal.
Multiple fractals fit together nicely.