   Numbers outside the range are not clamped to 0 and 1, because
   out-of-range values are often intentional and useful."
   [val low1 high1 low2 high2]
-  (PApplet/map (float val) (float low1) (float high1) (float low2) (float high2)))
+  #+clj (PApplet/map (float val) (float low1) (float high1) (float low2) (float high2))
+  #+cljs (.map (current-applet) val low1 high1 low2 high2))
 
 #+clj
 (defn

  []
  (.noLoop (current-applet)))

#+clj
(defn
  ^{:requires-bindings true
    :processing-name "norm()"

  "Calculates the closest int value that is less than or equal to the valu  e of the parameter. For example, (floor 9.03) returns the
  value 9."
  [n]
  #+clj (PApplet/floor (float n))
  #+cljs (.floor (current-applet) n))

#+clj
(defn
