CardiganBay, the software behind this wiki now supports a card type of basic Patterning patterns.
The following cards, of type :patterning, can be used to make patterns. Note that the embedded SVG in these cards was generated from Patterning at ExportTime
You can learn more about Patterning here : http://alchemyislands.com/tutorials/HelloWorld.html
And by looking at the following examples.
; Make a ring of polygons. Same number of polygons as number of sides. (defn a-round [n style] (clock-rotate n (poly 0 0.5 0.2 n style))) (a-round 5 {:stroke (p-color 220 140 180) :fill (p-color 190 55 250 100) })
;; Fill a grid layout from a repeated stream of those a-rounds (defn a-round [n style] (clock-rotate n (poly 0 0.5 0.2 n style))) (grid-layout 3 (repeat (a-round 5 {:stroke (p-color 220 140 180) :fill (p-color 190 255 200 100) }) ) )
;; Use a half-drop-grid-layout to stagger two different patterns ;; We use a cycle to create an alternating stream of them (defn a-round [n style] (clock-rotate n (poly 0 0.5 0.2 n style))) (half-drop-grid-layout 6 (cycle [ (a-round 6 {:stroke (p-color 140 220 180) :fill (p-color 190 255 200 100) :stroke-weight 2} ) (a-round 9 {:fill (p-color 255 100 100 ) :stroke (p-color 190 255 200 100) :stroke-weight 2} )]))