ronin/examples/random.lisp
2019-07-16 20:51:30 +02:00

21 lines
292 B
Common Lisp

; random
(
(clear)
(defn place
(rec)
(if (gt rec 0)
(
(draw "../static/crystal.jpg"
(rect
(random 200)
(random 200)
(random 200)
(random 200)))
(place (sub rec 1))
))
)
(place 30)
)