ronin/examples/random.lisp
2019-07-20 17:13:40 +02:00

17 lines
272 B
Common Lisp

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