4 ms·
Here's a Heighway dragon (it follows the same idea as your Koch snowflake). It could be shorter if 45 degree turns were possible. rrr@4[a rrr rrr rrr [c@0.
by penteract 5y ago
Here's a Heighway dragon (it follows the same idea as your Koch snowflake). It could be shorter if 45 degree turns were possible.
rrr@4[a rrr rrr rrr [c@0.5a]f rrr [d@0.5[b cf rrr df rrr rrr rrr cf rrr rrr rrr df rrr]]f rrr cf rrr rrr rrr df]
http://canonical.org/~kragen/sw/dev3/skitch#!rrr@4[a_rrr_rrr_rrr_@0.5a@2f_rrr_@0.5[b_@0.5a@2f_rrr_@0.5b@2f_rrr_rrr_rrr_@0.5a@2f_rrr_rrr_rrr_@0.5b@2f_rrr]@2f_rrr_@0.5a@2f_rrr_rrr_rrr_@0.5b@2f http://canonical.org/~kragen/sw/dev3/skitch#!rrr@4[a_rrr_rrr...]
and a Lévy dragon
rrrrrrrrr@3.5[a rrr rrr rrr [b@0.5a]f rrr bf bf rrr bf]
- kragen 5y agoWow, that's wonderful! The Lévy dragon, like the Koch snowflake, shows one of the weaknesses of the system; I was thinking of adding G to go forward without leaving a trace and /3 to divide the turn angle by 3 (for any value of 3, including negative values).