Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 802 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 802 Bytes

EPS Bézier Dragon Curve

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.

Dragon curve preview with magnified cutout

To generate this preview PNG, execute

script/preview-gen

in the project folder.