An implementation of the curlicue fractal