Dragon curve: Difference between revisions

Content deleted Content added
Rdm (talk | contribs)
m minor wording clarification on J entry
Rdm (talk | contribs)
m slight code cleanup
Line 169: Line 169:
require 'plot'
require 'plot'
start=: 0 0, 1 0,: 1 1
start=: 0 0, 1 0,: 1 1
step=: ],{: +"1 (2 2$0 _1 1 0) +/ .*~ |.@}: -"1 {:
step=: ],{: +"1 (0 _1,: 1 0) +/ .*~ |.@}: -"1 {:
plot<"1|:step^:12 start
plot<"1|:step^:12 start