   radians (values from 0 to PI*2). Values are returned in the range
   infinity to -infinity."
   [angle]
-  (PApplet/tan (float angle)))
+  #+clj (PApplet/tan (float angle))
+  #+cljs (.tan (current-applet) angle))
 
 #+clj
 (defn

  expects the values in the range of -1 to 1 and values are returned
  in the range -PI/2 to PI/2."
  [n]
  (PApplet/asin (float n)))

#+clj
(defn
  ^{:requires-bindings false
    :processing-name "atan()"

  trigonometric methods in Processing require their parameters to be
  specified in radians."
  [radians]
  #+clj (PApplet/degrees (float radians))
  #+cljs (.degrees (current-applet) radians))

(defn
  ^{:requires-bindings true
