   []
   (PApplet/minute))
 
-(defn model-x [x y z] (.modelX *applet* (float x) (float y) (float z)))
-(defn model-y [x y z] (.modelY *applet* (float x) (float y) (float z)))
-(defn model-z [x y z] (.modelZ *applet* (float x) (float y) (float z)))
+(defn model-x
+  "Returns the three-dimensional x, y, z position in model space. This
+  returns the x value for a given coordinate based on the current set
+  of transformations (scale, rotate, translate, etc.) The x value can
+  be used to place an object in space relative to the location of the
+  original point once the transformations are no longer in use."
+  [x y z]
+  (.modelX *applet* (float x) (float y) (float z)))
+
+(defn model-y
+  "Returns the three-dimensional x, y, z position in model space. This
+  returns the y value for a given coordinate based on the current set
+  of transformations (scale, rotate, translate, etc.) The y value can
+  be used to place an object in space relative to the location of the
+  original point once the transformations are no longer in use."
+  [x y z]
+  (.modelY *applet* (float x) (float y) (float z)))
+
+(defn model-z
+  "Returns the three-dimensional x, y, z position in model space. This
+  returns the z value for a given coordinate based on the current set
+  of transformations (scale, rotate, translate, etc.) The z value can
+  be used to place an object in space relative to the location of the
+  original point once the transformations are no longer in use."
+  [x y z]
+  (.modelZ *applet* (float x) (float y) (float z)))
 
 (defn month
   "Returns the current month as a value from 1 - 12."

  ([a b] (PApplet/mag (float a) (float b)))
  ([a b c] (PApplet/mag (float a) (float b) (float c))))

(defn map-to [val istart istop ostart ostop]
  (PApplet/map (float val) (float istart) (float istop) (float ostart) (float ostop)))

(defn map-to-double [val istart istop ostart ostop]
  (PApplet/map (double val) (double istart) (double istop) (double ostart) (double ostop)))

(defn mask
  ([^ints alpha-array] (.mask *applet* alpha-array)))

(defn mask-image [^PImage img] (.mask *applet* img))

(defn millis
  "Returns the number of milliseconds (thousandths of a second) since

  recording shape data, use :model until you're ready to capture the
  geometry with begin-raw."
  [mode]
  (let [mode (resolve-text-mode mode)]
    (.textMode *applet* (int mode))))

(defn text-size
