Permalink
Browse files

Update to add main method for "run balls".

  • Loading branch information...
1 parent 80d2ed5 commit ce08f20ca034b793ad85664b47970f71d904a820 @dalethatcher dalethatcher committed May 3, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/coloured_balls/core.clj
@@ -1,6 +1,7 @@
(ns coloured-balls.core
(:use [rosado.processing]
- [rosado.processing.applet]))
+ [rosado.processing.applet])
+ (:gen-class))
;; here's a function which will be called by Processing's (PApplet)
;; draw method every frame. Place your code here. If you eval it
@@ -32,5 +33,6 @@
(defapplet balls :title "Coloured balls"
:setup setup :draw draw :size [400 400])
- (run balls)
+(defn -main [& args]
+ (run balls))

0 comments on commit ce08f20

Please sign in to comment.