This repository provides an example of how to draw a fractal dragon curve using Bézier curves with short EPS code. Note that on close inspection the line doesn't touch itself at any point along its path.
The code is manually written but should comply with the standards. To put the code through a test, I sent the raw EPS file to a PS 3 emulating laser printer, and it printed the curve correctly without complaining.
To generate this preview PNG, execute
script/preview-gen
in the project folder.