mikera / clisk

The Clojure Image Synthesis Kit
281 stars 13 forks source link

Readme example incomplete #4

Closed mchampine closed 12 years ago

mchampine commented 12 years ago

The first example in the readme (render-lit) doesn't work because vblocks is undefined. I found it on your blog:

https://clojurefun.wordpress.com/2012/08/12/voronoi-rocks/

(def vblocks (v* 5.0 (voronoi-function `(Math/sqrt (- (* ~'y ~'y) (* ~'x ~'x))))))

Enjoying clisk btw, thanks for making it!

mikera commented 12 years ago

Good spot, thanks!

Fixed by updating the README (vblocks is nice but didn't seem general enough to be defined in Clisk itself)