L-System makes a twisty / organic frame

a24

(def l1  (l-system [ ["F" "F+GF"] 
                   ["G" "[F+G-G]--F-G"]   ]))

(def t1  (basic-turtle [0 0] 0.1 0 0.5 (l1 3 "F") {} 
             {:stroke (p-color 0 255 100) :stroke-weight 4}))

(def ref2 (comp groups/v-reflect groups/h-reflect))

(def twisty-frame (layouts/four-mirror  
                     (ref2 (groups/reframe  t1))) )

Leave a Reply