 (def ^{:dynamic true} *state*)
 
 (defn state
-  "Retrieve canvas-specific state by key. Must initially call set-state! to
-  store state.
+  "Retrieve canvas-specific state by key. Must initially call
+  set-state! to store state.
 
   (set-state! :foo 1)
   (state :foo) ;=> 1 "

                    (float cx2) (float cy2) (float cz2)
                    (float x) (float y) (float z))))

;; $$binary

(def ^{:private true}
  blend-map {:blend BLEND

  (.frameCount *applet*))

(defn frame-rate
  "With no args, returns the current framerate. With one arg specifies
  a new target framerate (number of frames to be displayed every
  second). If the processor is not fast enough to maintain the
  specified rate, it will not be achieved. For example, the function
  call (frame-rate 30) will attempt to refresh 30 times a second. It
  is recommended to set the frame rate within setup. The default rate
  is 60 frames per second."
  ([] (.frameRate *applet*))
  ([new-rate]
     (.frameRate *applet* (float new-rate))))
