   "Returns the current year as an integer (2003, 2004, 2005, etc)."
   []
   #?(:clj (PApplet/year)
-     :cljs (.year (current-applet))))
+     :cljs (.year (ap/current-applet))))
 
 (defn
   ^{:requires-bindings true

  "Height of the display window. The value of height is zero until
  size is called."
  []
  (.-height (current-applet)))

(defn
  ^{:requires-bindings true

  new sketches programmatically. See documentation for 'defsketch' for
  list of available options."
  [& opts]
  #?(:clj (apply ap/applet opts)
     :cljs (apply ap/sketch opts)))

#?(:clj
  (defmacro ^{:requires-bindings false
