Fractal curves in the plane can be described by an iterative process
of replacing lines by templates. We define our own language for describing
such curves. Computing their graphical representation involves state transition
systems. We also develop a fast way of removing duplicates from a list.