Skip to content

Commit

Permalink
[#15] Update events example
Browse files Browse the repository at this point in the history
  • Loading branch information
jfacorro committed Nov 25, 2018
1 parent 89d22e5 commit 16e9a8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doodler/examples/events.clje
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
(d/stroke (d/random 255))
(d/stroke-weight (d/random 10))
(d/fill (d/random 255))
(d/circle (:x state) (:y state) (d/random 50)))
(let [diam (d/random 50)]
(d/ellipse (:x state) (:y state) diam diam)))

(d/defsketch sketch
:title "Handling events"
Expand Down

0 comments on commit 16e9a8a

Please sign in to comment.