 
 (defn
   ^{:requires-bindings true
-    :processing-name "createOutput()"
-    :category "Output"
-    :subcategory "Files"
-    :added "1.0"}
-  create-output
-  "Similar to create-input, this creates a Java OutputStream for a
-  given filename or path. The file will be created in the sketch
-  folder, or in the same folder as an exported application.
-
-  If the path does not exist, intermediate folders will be created. If
-  an exception occurs, it will be printed to the console, and null
-  will be returned.
-
-  This method is a convenience over the Java approach that requires
-  you to 1) create a FileOutputStream object, 2) determine the exact
-  file location, and 3) handle exceptions. Exceptions are handled
-  internally by the function, which is more appropriate for sketch
-  projects.
-
-  If the output filename ends with .gz, the output will be
-  automatically GZIP compressed as it is written."
-  [filename]
-  (.createOutput (current-applet) (str filename)))
-
-(defn
-  ^{:requires-bindings true
     :processing-name "fillColor()"
     :category "Color"
     :subcategory "Creating & Reading"}

  the begin-raw docstring for details."
  []
  (.endRaw (current-graphics)))

(defn
  ^{:requires-bindings true
    :processing-name "endRecord()"
    :category "Output"
    :subcategory "Files"
    :added "1.0"}
  end-record
  "Stops the recording process started by begin-record and closes the
  file."
  []
  (.endRecord (current-applet)))

(defn
  ^{:requires-bindings true

  be made up of hundreds of triangles, rather than a single object. Or
  that a multi-segment line shape (such as a curve) will be rendered
  as individual segments."
  ([renderer ^String filename]
     (.beginRaw (current-applet) (resolve-renderer renderer) filename)))

(def ^{:private true}
     shape-modes {:points PApplet/POINTS
