(def w 36)
(def s (/ w 2))
(defn slash [i p]
(path/transform
(mat2d/* (translate p)
(scale-x (compare (rnd i) .5)))
(line [(- s) (- s)] [s s])))
(background "snow")
(style (stroke "salmon" 10)
(for [y (column -5 5 w)
x (column -5 5 w)
:index i]
(slash i [x y])))
Very often don't even want to appreciate the beauty and only see "annoying, pesky parentheses".https://glisp.app/commit:e7fbaae/
- its a very nice UI experience - try hello world then move the circle and see the code update automatically.
If you are interested in lisp and creative coding this is well worth experimenting with - really nice work!
[1] http://web.ist.utl.pt/antonio.menezes.leitao/Rosetta/index.h...