Dragon curve generator