Skip to content

Instantly share code, notes, and snippets.

@edap
Created August 7, 2016 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edap/d42a0b5b244c00c1f9ab3b3406d8e484 to your computer and use it in GitHub Desktop.
Save edap/d42a0b5b244c00c1f9ab3b3406d8e484 to your computer and use it in GitHub Desktop.
(defn da-example-apply-recursively
[]
(let [hex (mg/apply-recursively (mg/reflect :e) 5 [1] 1)
seed (a/aabb [0 0 0] 0.95)
tree (mg/skew
:n
:e
:offset 0.3
:out [hex])
]
[seed tree]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment