summaryrefslogtreecommitdiff
path: root/assets/viz/1/quil
diff options
context:
space:
mode:
Diffstat (limited to 'assets/viz/1/quil')
-rw-r--r--assets/viz/1/quil/core.cljc4993
-rw-r--r--assets/viz/1/quil/core.cljc.cache.edn1
-rw-r--r--assets/viz/1/quil/core.js6643
-rw-r--r--assets/viz/1/quil/core.js.map1
-rw-r--r--assets/viz/1/quil/middleware.cljc144
-rw-r--r--assets/viz/1/quil/middleware.cljc.cache.edn1
-rw-r--r--assets/viz/1/quil/middleware.js118
-rw-r--r--assets/viz/1/quil/middleware.js.map1
-rw-r--r--assets/viz/1/quil/middlewares/deprecated_options.cljc26
-rw-r--r--assets/viz/1/quil/middlewares/deprecated_options.cljc.cache.edn1
-rw-r--r--assets/viz/1/quil/middlewares/deprecated_options.js95
-rw-r--r--assets/viz/1/quil/middlewares/deprecated_options.js.map1
-rw-r--r--assets/viz/1/quil/middlewares/fun_mode.cljc78
-rw-r--r--assets/viz/1/quil/middlewares/fun_mode.cljc.cache.edn1
-rw-r--r--assets/viz/1/quil/middlewares/fun_mode.js155
-rw-r--r--assets/viz/1/quil/middlewares/fun_mode.js.map1
-rw-r--r--assets/viz/1/quil/middlewares/navigation_2d.cljc89
-rw-r--r--assets/viz/1/quil/middlewares/navigation_2d.cljc.cache.edn1
-rw-r--r--assets/viz/1/quil/middlewares/navigation_2d.js116
-rw-r--r--assets/viz/1/quil/middlewares/navigation_2d.js.map1
-rw-r--r--assets/viz/1/quil/middlewares/navigation_3d.cljc188
-rw-r--r--assets/viz/1/quil/middlewares/navigation_3d.cljc.cache.edn1
-rw-r--r--assets/viz/1/quil/middlewares/navigation_3d.js261
-rw-r--r--assets/viz/1/quil/middlewares/navigation_3d.js.map1
-rw-r--r--assets/viz/1/quil/sketch.cljs128
-rw-r--r--assets/viz/1/quil/sketch.cljs.cache.edn1
-rw-r--r--assets/viz/1/quil/sketch.js348
-rw-r--r--assets/viz/1/quil/sketch.js.map1
-rw-r--r--assets/viz/1/quil/util.cljc109
-rw-r--r--assets/viz/1/quil/util.cljc.cache.edn1
-rw-r--r--assets/viz/1/quil/util.js183
-rw-r--r--assets/viz/1/quil/util.js.map1
32 files changed, 13690 insertions, 0 deletions
diff --git a/assets/viz/1/quil/core.cljc b/assets/viz/1/quil/core.cljc
new file mode 100644
index 0000000..dcdaa94
--- /dev/null
+++ b/assets/viz/1/quil/core.cljc
@@ -0,0 +1,4993 @@
+(ns ^{:doc "Wrappers and extensions around the core Processing.org API."}
+ quil.core
+ #?(:clj
+ (:import [processing.core PApplet PImage PGraphics PFont PConstants PShape]
+ [processing.opengl PShader]
+ [java.awt.event KeyEvent]))
+ #?(:clj
+ (:require quil.sketch
+ [clojure.set]
+ [quil.helpers.docs :as docs]
+ [quil.util :as u]
+ [quil.applet :as ap])
+
+ :cljs
+ (:require clojure.string
+ org.processingjs.Processing
+ [quil.sketch :as ap :include-macros true]
+ [quil.util :as u :include-macros true])))
+
+(def ^{:dynamic true
+ :private true}
+ *graphics* nil)
+
+(def ^{:private true} no-fill-prop "no-fill-quil")
+
+(defn
+ ^{:requires-bindings true
+ :category "Environment"
+ :subcategory nil
+ :added "2.0"
+ :tag PGraphics}
+ current-graphics
+ "Graphics currently used for drawing. By default it is sketch graphics,
+ but if called inside with-graphics macro - graphics passed to the macro
+ is returned. This method should be used if you need to call some methods
+ that are not implemented by quil. Example:
+ (.beginDraw (current-graphics))."
+ []
+ (or *graphics*
+ #?(:clj (.-g (ap/current-applet))
+ :cljs (ap/current-applet))))
+
+;; -------------------- PConstants section -----------------------
+
+(u/generate-quil-constants #?(:clj :clj :cljs :cljs)
+ arc-modes (:open :chord :pie)
+ shape-modes (:points :lines :triangles :triangle-fan :triangle-strip :quads :quad-strip)
+ blend-modes (:blend :add :subtract :darkest :lightest :difference :exclusion :multiply
+ :screen :overlay :replace :hard-light :soft-light :dodge :burn)
+ color-modes (:rgb :hsb)
+ image-formats (:rgb :argb :alpha)
+ ellipse-modes (:center :radius :corner :corners)
+ hint-options (:enable-depth-test :disable-depth-test
+ :enable-depth-sort :disable-depth-sort
+ :enable-depth-mask :disable-depth-mask
+ :enable-opengl-errors :disable-opengl-errors
+ :enable-optimized-stroke :disable-optimized-stroke
+ :enable-stroke-perspective :disable-stroke-perspective
+ :enable-stroke-pure :disable-stroke-pure
+ :enable-texture-mipmaps :disable-texture-mipmaps)
+ image-modes (:corner :corners :center)
+ rect-modes (:corner :corners :center :radius)
+ p-shape-modes (:corner :corners :center)
+ stroke-cap-modes (:square :round :project :model)
+ stroke-join-modes (:miter :bevel :round)
+ horizontal-alignment-modes (:left :center :right)
+ vertical-alignment-modes (:top :bottom :center :baseline)
+ text-modes (:model :shape)
+ texture-modes (:image :normal)
+ texture-wrap-modes (:clamp :repeat)
+ filter-modes (:threshold :gray :invert :posterize :blur :opaque :erode :dilate)
+ cursor-modes (:arrow :cross :hand :move :text :wait))
+
+;;; Useful trig constants
+#?(:clj (def PI (float Math/PI))
+ :cljs (def PI (.-PI js/Math)))
+(def HALF-PI (/ PI (float 2.0)))
+(def THIRD-PI (/ PI (float 3.0)))
+(def QUARTER-PI (/ PI (float 4.0)))
+(def TWO-PI (* PI (float 2.0)))
+
+(def DEG-TO-RAD (/ PI (float 180.0)))
+(def RAD-TO-DEG (/ (float 180.0) PI))
+
+#?(:clj
+ (def ^{:private true}
+ KEY-CODES {KeyEvent/VK_UP :up
+ KeyEvent/VK_DOWN :down
+ KeyEvent/VK_LEFT :left
+ KeyEvent/VK_RIGHT :right
+ KeyEvent/VK_ALT :alt
+ KeyEvent/VK_CONTROL :control
+ KeyEvent/VK_SHIFT :shift
+ KeyEvent/VK_WINDOWS :command
+ KeyEvent/VK_META :command
+ KeyEvent/VK_F1 :f1
+ KeyEvent/VK_F2 :f2
+ KeyEvent/VK_F3 :f3
+ KeyEvent/VK_F4 :f4
+ KeyEvent/VK_F5 :f5
+ KeyEvent/VK_F6 :f6
+ KeyEvent/VK_F7 :f7
+ KeyEvent/VK_F8 :f8
+ KeyEvent/VK_F9 :f9
+ KeyEvent/VK_F10 :f10
+ KeyEvent/VK_F11 :f11
+ KeyEvent/VK_F12 :f12
+ KeyEvent/VK_F13 :f13
+ KeyEvent/VK_F14 :f14
+ KeyEvent/VK_F15 :f15
+ KeyEvent/VK_F16 :f16
+ KeyEvent/VK_F17 :f17
+ KeyEvent/VK_F18 :f18
+ KeyEvent/VK_F19 :f19
+ KeyEvent/VK_F20 :f20
+ KeyEvent/VK_F21 :f21
+ KeyEvent/VK_F22 :f22
+ KeyEvent/VK_F23 :f23
+ KeyEvent/VK_F24 :f24})
+
+ :cljs
+ (def ^{:private true}
+ KEY-CODES {38 :up
+ 40 :down
+ 37 :left
+ 39 :right
+ 18 :alt
+ 17 :control
+ 16 :shift
+ 157 :command
+ 112 :f1
+ 113 :f2
+ 114 :f3
+ 115 :f4
+ 116 :f5
+ 117 :f6
+ 118 :f7
+ 119 :f8
+ 120 :f9
+ 121 :f10
+ 122 :f11
+ 123 :f12}))
+
+;; ------------------ end PConstants section ---------------------
+
+#?(:cljs
+ (defn
+ ^{:require-bindings true
+ :category "Output"
+ :subcategory "Text area"
+ :added "1.0"}
+ prc-println
+ "Writes to the text area of the Processing environment's console.
+ This is often helpful for looking at the data a program is producing.
+ Each call to this function creates a new line of output.
+ Individual elements can be separated with quotes (\"\") and joined with the string concatenation operator (+).
+ Also writes the content of an array to the text area of the Processing environment.
+ This is often helpful for looking at the data a program is producing.
+ A new line is put between each element of the array. This function can only print 1D arrays,
+ but can test to see if the content are null or not null for 2+ dimensional arrays."
+ [msg]
+ (.println (ap/current-applet) msg)))
+
+#?(:cljs
+ (defn
+ ^{:require-bindings true
+ :category "Output"
+ :subcategory "Text area"
+ :added "1.0"}
+ prc-print
+ "Writes to the console area of the Processing environment.
+ This is often helpful for looking at the data a program is producing.
+ The companion function println() works like print(), but creates a new line of text for each call to the function.
+ Individual elements can be separated with quotes (\"\") and joined with the addition operator (+). "
+ [msg]
+ (.print (ap/current-applet) msg)))
+
+#?(:cljs
+ (defn
+ ^{:requires-bindings true
+ :processing-name "getSketchById()"
+ :category nil
+ :subcategory nil
+ :added "1.0"}
+ get-sketch-by-id
+ "Returns sketch object by id of canvas element of sketch."
+ [id]
+ (.getInstanceById js/Processing id)))
+
+(defmacro with-sketch [applet & body]
+ (when-not (u/clj-compilation?)
+ `(quil.sketch/with-sketch ~applet ~@body)))
+
+(defn
+ ^{:requires-bindings true
+ :category "State"
+ :subcategory nil
+ :added "1.0"}
+ state-atom
+ "Retrieve sketch-specific state-atom. All changes to the
+ atom will be reflected in the state.
+
+ (set-state! :foo 1)
+ (state :foo) ;=> 1
+ (swap! (state-atom) update-in [:foo] inc)
+ (state :foo) ;=> 2"
+ #?(:clj ([] (-> (ap/current-applet) meta :state))
+ :cljs ([] (. (ap/current-applet) -quil))))
+
+(defn
+ ^{:requires-bindings true
+ :category "State"
+ :subcategory nil
+ :added "1.0"}
+ state
+ "Retrieve sketch-specific state by key. Must initially call
+ set-state! to store state. If no parameter passed whole
+ state map is returned.
+
+ (set-state! :foo 1)
+ (state :foo) ;=> 1
+ (state) ;=> {:foo 1}"
+ ([] @(state-atom))
+
+ ([key] (let [state (state)]
+ (when-not (contains? state key)
+ (throw #?(:clj (Exception. (str "Unable to find state with key: " key))
+ :cljs (js/Error (str "Unable to find state with key: " key)))))
+ (get state key))))
+
+(defn
+ ^{:requires-bindings true
+ :category "State"
+ :subcategory nil
+ :added "1.0"}
+ set-state!
+ "Set sketch-specific state. May only be called once (ideally in the
+ setup fn). Subsequent calls have no effect.
+
+ Example:
+ (set-state! :foo 1 :bar (atom true) :baz (/ (width) 2))"
+ [& state-vals]
+ (let [state* (state-atom)]
+ (when-not @state*
+ (let [state-map (apply hash-map state-vals)]
+ (reset! state* state-map)))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings false
+ :processing-name "abs()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ abs-int
+ "Calculates the absolute value (magnitude) of a number. The absolute
+ value of a number is always positive. Takes and returns an int."
+ [n]
+ (PApplet/abs (int n))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings false
+ :processing-name "abs()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ abs-float
+ "Calculates the absolute value (magnitude) of a number. The absolute
+ value of a number is always positive. Takes and returns a float."
+ [n]
+ (PApplet/abs (float n))))
+
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "abs()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ abs
+ "Calculates the absolute value (magnitude) of a number. The
+ absolute value of a number is always positive. Dynamically casts to
+ an int or float appropriately"
+ [n]
+ #?(:clj
+ (if (u/int-like? n)
+ (abs-int n)
+ (abs-float n))
+ :cljs
+ (.abs (ap/current-applet) n)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "acos()"
+ :category "Math"
+ :subcategory "Trigonometry"
+ :added "1.0"}
+ acos
+ "The inverse of cos, returns the arc cosine of a value. This
+ function expects the values in the range of -1 to 1 and values are
+ returned in the range 0 to Math/PI (3.1415927)."
+ [n]
+ #?(:clj (PApplet/acos (float n))
+ :cljs (.acos (ap/current-applet) n)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "alpha()"
+ :category "Color"
+ :subcategory "Creating & Reading"
+ :added "1.0"}
+ alpha
+ "Extracts the alpha value from a color."
+ [color]
+ (.alpha (current-graphics) (unchecked-int color)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "ambient()"
+ :category "Lights, Camera"
+ :subcategory "Material Properties"
+ :added "1.0"}
+ ambient-float
+ "Sets the ambient reflectance for shapes drawn to the screen. This
+ is combined with the ambient light component of environment. The
+ color components set through the parameters define the
+ reflectance. For example in the default color mode, setting x=255,
+ y=126, z=0, would cause all the red light to reflect and half of the
+ green light to reflect. Used in combination with emissive, specular,
+ and shininess in setting the material properties of shapes."
+ ([gray] (.ambient (current-graphics) (float gray)))
+ ([x y z] (.ambient (current-graphics) (float x) (float y) (float z))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "ambient()"
+ :category "Lights, Camera"
+ :subcategory "Material Properties"
+ :added "1.0"}
+ ambient-int
+ "Sets the ambient reflectance for shapes drawn to the screen. This
+ is combined with the ambient light component of environment. The rgb
+ color components set define the reflectance. Used in combination
+ with emissive, specular, and shininess in setting the material
+ properties of shapes."
+ [rgb]
+ (.ambient (current-graphics) (int rgb)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "ambient()"
+ :category "Lights, Camera"
+ :subcategory "Material Properties"
+ :added "1.0"}
+ ambient
+ "Sets the ambient reflectance for shapes drawn to the screen. This
+ is combined with the ambient light component of environment. The
+ color components set through the parameters define the
+ reflectance. For example in the default color mode, setting x=255,
+ y=126, z=0, would cause all the red light to reflect and half of the
+ green light to reflect. Used in combination with emissive, specular,
+ and shininess in setting the material properties of shapes."
+ ([rgb]
+ #?(:clj (if (u/int-like? rgb) (ambient-int rgb) (ambient-float rgb))
+ :cljs (ambient-float rgb)))
+ ([x y z] (ambient-float x y z)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "ambientLight()"
+ :category "Lights, Camera"
+ :subcategory "Lights"
+ :added "1.0"}
+ ambient-light
+ "Adds an ambient light. Ambient light doesn't come from a specific direction,
+ the rays have light have bounced around so much that objects are
+ evenly lit from all sides. Ambient lights are almost always used in
+ combination with other types of lights. Lights need to be included
+ in the draw to remain persistent in a looping program. Placing them
+ in the setup of a looping program will cause them to only have an
+ effect the first time through the loop. The effect of the
+ parameters is determined by the current color mode."
+ ([red green blue]
+ (.ambientLight (current-graphics) (float red) (float green) (float blue)))
+ ([red green blue x y z]
+ (.ambientLight (current-graphics) (float red) (float green) (float blue)
+ (float x) (float y) (float z))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "applyMatrix()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ apply-matrix
+ "Multiplies the current matrix by the one specified through the
+ parameters. This is very slow because it will try to calculate the
+ inverse of the transform, so avoid it whenever possible. The
+ equivalent function in OpenGL is glMultMatrix()."
+ #?(:clj
+ ([n00 n01 n02 n10 n11 n12]
+ (.applyMatrix (current-graphics)
+ (float n00) (float n01) (float n02)
+ (float n10) (float n11) (float n12))))
+ ([n00 n01 n02 n03
+ n10 n11 n12 n13
+ n20 n21 n22 n23
+ n30 n31 n32 n33]
+ (.applyMatrix (current-graphics)
+ (float n00) (float n01) (float n02) (float n03)
+ (float n10) (float n11) (float n12) (float n13)
+ (float n20) (float n21) (float n22) (float n23)
+ (float n30) (float n31) (float n32) (float n33))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "arc()"
+ :category "Shape"
+ :subcategory "2D Primitives"
+ :added "1.0"}
+ arc
+ "Draws an arc in the display window. Arcs are drawn along the outer
+ edge of an ellipse defined by the x, y, width and height
+ parameters. The origin or the arc's ellipse may be changed with the
+ ellipse-mode function. The start and stop parameters specify the
+ angles at which to draw the arc. The mode is either :open, :chord or :pie."
+ ([x y width height start stop]
+ (.arc (current-graphics) (float x) (float y) (float width) (float height)
+ (float start) (float stop)))
+
+ #?(:clj
+ ([x y width height start stop mode]
+ (let [arc-mode (u/resolve-constant-key mode arc-modes)]
+ (.arc (current-graphics) (float x) (float y) (float width) (float height)
+ (float start) (float stop) (int arc-mode))))))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "asin()"
+ :category "Math"
+ :subcategory "Trigonometry"
+ :added "1.0"}
+ asin
+ "The inverse of sin, returns the arc sine of a value. This function
+ expects the values in the range of -1 to 1 and values are returned
+ in the range -PI/2 to PI/2."
+ [n]
+ #?(:clj (PApplet/asin (float n))
+ :cljs (.asin (ap/current-applet) n)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "atan()"
+ :category "Math"
+ :subcategory "Trigonometry"
+ :added "1.0"}
+ atan
+ "The inverse of tan, returns the arc tangent of a value. This
+ function expects the values in the range of -Infinity to
+ Infinity (exclusive) and values are returned in the range -PI/2 to
+ PI/2 ."
+ [n]
+ #?(:clj (PApplet/atan (float n))
+ :cljs (.atan (ap/current-applet) n)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "atan2()"
+ :category "Math"
+ :subcategory "Trigonometry"
+ :added "1.0"}
+ atan2
+ "Calculates the angle (in radians) from a specified point to the
+ coordinate origin as measured from the positive x-axis. Values are
+ returned as a float in the range from PI to -PI. The atan2 function
+ is most often used for orienting geometry to the position of the
+ cursor. Note: The y-coordinate of the point is the first parameter
+ and the x-coordinate is the second due to the structure of
+ calculating the tangent."
+ [y x]
+ #?(:clj (PApplet/atan2 (float y) (float x))
+ :cljs (.atan2 (ap/current-applet) y x)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "PFont.list()"
+ :category "Typography"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ available-fonts
+ "A sequence of strings representing the fonts on this system
+ available for use.
+
+ Because of limitations in Java, not all fonts can be used and some
+ might work with one operating system and not others. When sharing a
+ sketch with other people or posting it on the web, you may need to
+ include a .ttf or .otf version of your font in the data directory of
+ the sketch because other people might not have the font installed on
+ their computer. Only fonts that can legally be distributed should be
+ included with a sketch."
+ []
+ #?(:clj (seq (PFont/list))
+ :cljs (seq (.list js/PFont))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "background()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ background-float
+ "Sets the color used for the background of the Processing
+ window. The default background is light gray. In the draw function,
+ the background color is used to clear the display window at the
+ beginning of each frame.
+
+ It is not possible to use transparency (alpha) in background colors
+ with the main drawing surface, however they will work properly with
+ create-graphics. Converts args to floats."
+ ([gray] (.background (current-graphics) (float gray)))
+ ([gray alpha] (.background (current-graphics) (float gray) (float alpha)))
+ ([r g b] (.background (current-graphics) (float r) (float g) (float b)))
+ ([r g b a] (.background (current-graphics) (float r) (float g) (float b) (float a))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "background()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ background-int
+ "Sets the color used for the background of the Processing
+ window. The default background is light gray. In the draw function,
+ the background color is used to clear the display window at the
+ beginning of each frame.
+
+ It is not possible to use transparency (alpha) in background colors
+ with the main drawing surface, however they will work properly with
+ create-graphics. Converts rgb to an int and alpha to a float."
+ ([rgb] (.background (current-graphics) (unchecked-int rgb)))
+ ([rgb alpha] (.background (current-graphics) (unchecked-int rgb) (float alpha))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "background()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ background
+ "Sets the color used for the background of the Processing
+ window. The default background is light gray. In the draw function,
+ the background color is used to clear the display window at the
+ beginning of each frame.
+
+ It is not possible to use transparency (alpha) in background colors
+ with the main drawing surface, however they will work properly with
+ create-graphics. Converts args to floats."
+ #?(:clj ([rgb] (if (u/int-like? rgb) (background-int rgb) (background-float rgb)))
+ :cljs ([rgb] (.background (current-graphics) rgb)))
+ #?(:clj ([rgb alpha] (if (u/int-like? rgb) (background-int rgb alpha) (background-float rgb alpha)))
+ :cljs ([rgb alpha] (.background (current-graphics) rgb alpha)))
+ ([r g b] (background-float r g b))
+ ([r g b a] (background-float r g b a)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "background()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ background-image
+ "Specify an image to be used as the background for a sketch. Its
+ width and height must be the same size as the sketch window. Images
+ used as background will ignore the current tint setting."
+ [^PImage img]
+ (.background (current-graphics) img))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "beginCamera()"
+ :category "Lights, Camera"
+ :subcategory "Camera"
+ :added "1.0"}
+ begin-camera
+ "Sets the matrix mode to the camera matrix so calls such as
+ translate, rotate, apply-matrix and reset-matrix affect the
+ camera. begin-camera should always be used with a following
+ end-camera and pairs of begin-camera and end-camera cannot be
+ nested.
+
+ For most situations the camera function will be sufficient."
+ []
+ (.beginCamera (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "beginContour()"
+ :category "Shape"
+ :subcategory "Vertex"
+ :added "2.0"}
+ begin-contour
+ "Use the begin-contour and end-contour function to create negative
+ shapes within shapes. These functions can only be within a
+ begin-shape/end-shape pair and they only work with the :p2d and :p3d
+ renderers."
+ []
+ (.beginContour (current-graphics)))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name "beginRaw()"
+ :category "Output"
+ :subcategory "Files"
+ :added "1.0"}
+ begin-raw
+ "Enables the creation of vectors from 3D data. Requires
+ corresponding end-raw command. These commands will grab the shape
+ data just before it is rendered to the screen. At this stage, your
+ entire scene is nothing but a long list of individual lines and
+ triangles. This means that a shape created with sphere method will
+ 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 filename]
+ (.beginRaw (ap/current-applet) (ap/resolve-renderer renderer) (u/absolute-path filename)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "beginShape()"
+ :category "Shape"
+ :subcategory "Vertex"
+ :added "1.0"}
+ begin-shape
+ "Enables the creation of complex forms. begin-shape begins recording
+ vertices for a shape and end-shape stops recording. Use the mode
+ keyword to specify which shape create from the provided
+ vertices. With no mode specified, the shape can be any irregular
+ polygon.
+
+ The available mode keywords are :points, :lines, :triangles,
+ :triangle-fan, :triangle-strip,
+ :quads, :quad-strip.
+
+ After calling the begin-shape function, a series of vertex commands
+ must follow. To stop drawing the shape, call end-shape. The vertex
+ function with two parameters specifies a position in 2D and the
+ vertex function with three parameters specifies a position in
+ 3D. Each shape will be outlined with the current stroke color and
+ filled with the fill color.
+
+ Transformations such as translate, rotate, and scale do not work
+ within begin-shape. It is also not possible to use other shapes,
+ such as ellipse or rect within begin-shape."
+ ([] (.beginShape (current-graphics)))
+ ([mode]
+ (let [mode (u/resolve-constant-key mode shape-modes)]
+ (.beginShape (current-graphics) (int mode)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "bezier()"
+ :category "Shape"
+ :subcategory "Curves"
+ :added "1.0"}
+ bezier
+ "Draws a Bezier curve on the screen. These curves are defined by a
+ series of anchor and control points. The first two parameters
+ specify the first anchor point and the last two parameters specify
+ the other anchor point. The middle parameters specify the control
+ points which define the shape of the curve."
+ ([x1 y1 cx1 cy1 cx2 cy2 x2 y2]
+ (.bezier (current-graphics)
+ (float x1) (float y1)
+ (float cx1) (float cy1)
+ (float cx2) (float cy2)
+ (float x2) (float y2)))
+ ([x1 y1 z1 cx1 cy1 cz1 cx2 cy2 cz2 x2 y2 z2]
+ (.bezier (current-graphics)
+ (float x1) (float y1) (float z1)
+ (float cx1) (float cy1) (float cz1)
+ (float cx2) (float cy2) (float cz2)
+ (float x2) (float y2) (float z2))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "bezierDetail()"
+ :category "Shape"
+ :subcategory "Curves"
+ :added "1.0"}
+ bezier-detail
+ "Sets the resolution at which Beziers display. The default value is
+ 20. This function is only useful when using the :p3d or :opengl
+ renderer as the default (:java2d) renderer does not use this
+ information."
+ [detail]
+ (.bezierDetail (current-graphics) (int detail)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "bezierPoint()"
+ :category "Shape"
+ :subcategory "Curves"
+ :added "1.0"}
+ bezier-point
+ "Evaluates the Bezier at point t for points a, b, c, d. The
+ parameter t varies between 0 and 1, a and d are points on the curve,
+ and b and c are the control points. This can be done once with the x
+ coordinates and a second time with the y coordinates to get the
+ location of a bezier curve at t."
+ [a b c d t]
+ (.bezierPoint (current-graphics) (float a) (float b) (float c)
+ (float d) (float t)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "bezierTangent()"
+ :category "Shape"
+ :subcategory "Curves"
+ :added "1.0"}
+ bezier-tangent
+ "Calculates the tangent of a point on a Bezier curve.
+ (See http://en.wikipedia.org/wiki/Tangent)"
+ [a b c d t]
+ (.bezierTangent (current-graphics) (float a) (float b) (float c)
+ (float d) (float t)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "bezierVertex()"
+ :category "Shape"
+ :subcategory "Vertex"
+ :added "1.0"}
+ bezier-vertex
+ "Specifies vertex coordinates for Bezier curves. Each call to
+ bezier-vertex defines the position of two control points and one
+ anchor point of a Bezier curve, adding a new segment to a line or
+ shape. The first time bezier-vertex is used within a begin-shape
+ call, it must be prefaced with a call to vertex to set the first
+ anchor point. This function must be used between begin-shape and
+ end-shape and only when there is no parameter specified to
+ begin-shape."
+ ([cx1 cy1 cx2 cy2 x y]
+ (.bezierVertex (current-graphics)
+ (float cx1) (float cy1)
+ (float cx2) (float cy2)
+ (float x) (float y)))
+ ([cx1 cy1 cz1 cx2 cy2 cz2 x y z]
+ (.bezierVertex (current-graphics)
+ (float cx1) (float cy1) (float cz1)
+ (float cx2) (float cy2) (float cz2)
+ (float x) (float y) (float z))))
+
+(defn
+ ^{:require-binding false
+ :processing-name "binary()"
+ :category "Data"
+ :subcategory "Conversion"
+ :added "1.0"}
+ binary
+ "Returns a string representing the binary value of an int, char or
+ byte. When converting an int to a string, it is possible to specify
+ the number of digits used."
+ ([val]
+ #?(:clj (PApplet/binary (int val))
+ :cljs (.binary (ap/current-applet) val)))
+ ([val num-digits]
+ #?(:clj (PApplet/binary (int val) (int num-digits))
+ :cljs (.binary (ap/current-applet) val num-digits))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "blend()"
+ :category "Image"
+ :subcategory "Pixels"
+ :added "1.0"}
+ blend
+ "Blends a region of pixels from one image into another with full alpha
+ channel support. If src is not specified it defaults to current-graphics.
+ If dest is not specified it defaults to current-graphics.
+
+ Note: blend-mode function is recommended to use instead of this one.
+
+ Available blend modes are:
+
+ :blend - linear interpolation of colours: C = A*factor + B
+ :add - additive blending with white clip:
+ C = min(A*factor + B, 255)
+ :subtract - subtractive blending with black clip:
+ C = max(B - A*factor, 0)
+ :darkest - only the darkest colour succeeds:
+ C = min(A*factor, B)
+ :lightest - only the lightest colour succeeds:
+ C = max(A*factor, B)
+ :difference - subtract colors from underlying image.
+ :exclusion - similar to :difference, but less extreme.
+ :multiply - Multiply the colors, result will always be darker.
+ :screen - Opposite multiply, uses inverse values of the colors.
+ :overlay - A mix of :multiply and :screen. Multiplies dark values
+ and screens light values.
+ :hard-light - :screen when greater than 50% gray, :multiply when
+ lower.
+ :soft-light - Mix of :darkest and :lightest. Works like :overlay,
+ but not as harsh.
+ :dodge - Lightens light tones and increases contrast, ignores
+ darks.
+ Called \"Color Dodge\" in Illustrator and Photoshop.
+ :burn - Darker areas are applied, increasing contrast, ignores
+ lights. Called \"Color Burn\" in Illustrator and
+ Photoshop."
+ ([x y width height dx dy dwidth dheight mode]
+ (blend (current-graphics) (current-graphics) x y width height dx dy dwidth dheight mode))
+ ([^PImage src-img x y width height dx dy dwidth dheight mode]
+ (blend src-img (current-graphics) x y width height dx dy dwidth dheight mode))
+ ([^PImage src-img ^PImage dest-img x y width height dx dy dwidth dheight mode]
+ (let [mode (u/resolve-constant-key mode blend-modes)]
+ (.blend dest-img src-img (int x) (int y) (int width) (int height)
+ (int dx) (int dy) (int dwidth) (int dheight) (int mode)))))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "blendColor()"
+ :processing-link nil
+ :category "Color"
+ :subcategory "Creating & Reading"
+ :added "1.0"}
+ blend-color
+ "Blends two color values together based on the blending mode given specified
+ with the mode keyword.
+
+ Available blend modes are:
+
+ :blend - linear interpolation of colours: C = A*factor + B
+ :add - additive blending with white clip:
+ C = min(A*factor + B, 255)
+ :subtract - subtractive blending with black clip:
+ C = max(B - A*factor, 0)
+ :darkest - only the darkest colour succeeds:
+ C = min(A*factor, B)
+ :lightest - only the lightest colour succeeds:
+ C = max(A*factor, B)
+ :difference - subtract colors from underlying image.
+ :exclusion - similar to :difference, but less extreme.
+ :multiply - Multiply the colors, result will always be darker.
+ :screen - Opposite multiply, uses inverse values of the colors.
+ :overlay - A mix of :multiply and :screen. Multiplies dark values
+ and screens light values.
+ :hard-light - :screen when greater than 50% gray, :multiply when
+ lower.
+ :soft-light - Mix of :darkest and :lightest. Works like :overlay,
+ but not as harsh.
+ :dodge - Lightens light tones and increases contrast, ignores
+ darks.
+ Called \"Color Dodge\" in Illustrator and Photoshop.
+ :burn - Darker areas are applied, increasing contrast, ignores
+ lights. Called \"Color Burn\" in Illustrator and
+ Photoshop."
+ [c1 c2 mode]
+ (let [mode (u/resolve-constant-key mode blend-modes)]
+ #?(:clj (PApplet/blendColor (unchecked-int c1) (unchecked-int c2) (int mode))
+ :cljs (.blendColor (current-graphics) c1 c2 mode))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name "blendMode()"
+ :category "Image"
+ :subcategory "Rendering"
+ :added "2.0"}
+ blend-mode
+ "Blends the pixels in the display window according to the defined mode.
+ There is a choice of the following modes to blend the source pixels (A)
+ with the ones of pixels already in the display window (B):
+
+ :blend - linear interpolation of colours: C = A*factor + B
+ :add - additive blending with white clip:
+ C = min(A*factor + B, 255)
+ :subtract - subtractive blending with black clip:
+ C = max(B - A*factor, 0)
+ :darkest - only the darkest colour succeeds:
+ C = min(A*factor, B)
+ :lightest - only the lightest colour succeeds:
+ C = max(A*factor, B)
+ :exclusion - similar to :difference, but less extreme.
+ :multiply - Multiply the colors, result will always be darker.
+ :screen - Opposite multiply, uses inverse values of the colors.
+ :replace - the pixels entirely replace the others and don't utilize
+ alpha (transparency) values
+
+ Note: :hard-light, :soft-light, :dodge, :overlay, :dodge, :burn, :difference
+ modes are not supported by this function.
+
+ factor is alpha value of pixel being drawed"
+ ([mode]
+ (let [mode (u/resolve-constant-key mode blend-modes)]
+ (.blendMode (current-graphics) mode)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "blue()"
+ :category "Color"
+ :subcategory "Creating & Reading"
+ :added "1.0"}
+ blue
+ "Extracts the blue value from a color, scaled to match current color-mode.
+ Returns a float."
+ [color]
+ (.blue (current-graphics) (unchecked-int color)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "box()"
+ :category "Shape"
+ :subcategory "3D Primitives"
+ :added "1.0"}
+ box
+ "Creates an extruded rectangle."
+ ([size] (.box (current-graphics) (float size)))
+ ([width height depth] (.box (current-graphics) (float width) (float height) (float depth))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "brightness()"
+ :category "Color"
+ :subcategory "Creating & Reading"
+ :added "1.0"}
+ brightness
+ "Extracts the brightness value from a color. Returns a float."
+ [color]
+ (.brightness (current-graphics) (unchecked-int color)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "camera()"
+ :category "Lights, Camera"
+ :subcategory "Camera"
+ :added "1.0"}
+ camera
+ "Sets the position of the camera through setting the eye position,
+ the center of the scene, and which axis is facing upward. Moving the
+ eye position and the direction it is pointing (the center of the
+ scene) allows the images to be seen from different angles. The
+ version without any parameters sets the camera to the default
+ position, pointing to the center of the display window with the Y
+ axis as up. The default values are:
+
+ eyeX: (/ (width) 2.0)
+ eyeY: (/ (height) 2.0)
+ eyeZ: (/ (/ (height) 2.0) (tan (/ (* Math/PI 60.0) 360.0)))
+ centerX: (/ (width) 2.0)
+ centerY: (/ (height) 2.0)
+ centerZ: 0
+ upX: 0
+ upY: 1
+ upZ: 0
+
+ Similar imilar to gluLookAt() in OpenGL, but it first clears the
+ current camera settings."
+ ([] (.camera (current-graphics)))
+ ([eyeX eyeY eyeZ centerX centerY centerZ upX upY upZ]
+ (.camera (current-graphics) (float eyeX) (float eyeY) (float eyeZ)
+ (float centerX) (float centerY) (float centerZ)
+ (float upX) (float upY) (float upZ))))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "ceil()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ ceil
+ "Calculates the closest int value that is greater than or equal to
+ the value of the parameter. For example, (ceil 9.03) returns the
+ value 10."
+ [n]
+ #?(:clj (PApplet/ceil (float n))
+ :cljs (.ceil (ap/current-applet) n)))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name "clear()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "2.4.0"}
+ clear
+ "Clears the pixels within a buffer. This function only works on
+ graphics objects created with the (create-graphics) function meaning
+ that you should call it only inside (with-graphics) macro. Unlike
+ the main graphics context (the display window), pixels in additional
+ graphics areas created with (create-graphics) can be entirely or
+ partially transparent. This function clears everything in a graphics
+ object to make all of the pixels 100% transparent."
+ []
+ (.clear (current-graphics))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name "clip()"
+ :category "Rendering"
+ :subcategory nil
+ :added "2.4.0"}
+ clip
+ "Limits the rendering to the boundaries of a rectangle defined by
+ the parameters. The boundaries are drawn based on the state of
+ the (image-mode) fuction, either :corner, :corners, or :center.
+ To disable use (no-clip)."
+ [x y w h]
+ (.clip (current-graphics) (float x) (float y) (float w) (float h))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "color()"
+ :category "Color"
+ :subcategory "Creating & Reading"
+ :added "1.0"}
+ color
+ "Creates an integer representation of a color The parameters are
+ interpreted as RGB or HSB values depending on the current
+ color-mode. The default mode is RGB values from 0 to 255 and
+ therefore, the function call (color 255 204 0) will return a bright
+ yellow. Args are cast to floats.
+
+ r - red or hue value
+ g - green or saturation value
+ b - blue or brightness value
+ a - alpha value"
+ ([gray] (.color (current-graphics) (float gray)))
+ ([gray alpha] (.color (current-graphics) (float gray) (float alpha)))
+ ([r g b] (.color (current-graphics) (float r) (float g) (float b)))
+ ([r g b a] (.color (current-graphics) (float r) (float g) (float b) (float a))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "colorMode()"
+ :category "Color"
+ :subcategory "Creating & Reading"
+ :added "1.0"}
+ color-mode
+ "Changes the way Processing interprets color data. Available modes
+ are :rgb and :hsb.By default, the parameters for fill, stroke,
+ background, and color are defined by values between 0 and 255 using
+ the :rgb color model. The color-mode fn is used to change the
+ numerical range used for specifying colors and to switch color
+ systems. For example, calling
+ (color-mode :rgb 1.0) will specify that values are specified between
+ 0 and 1. The limits for defining colors are altered by setting the
+ parameters range1, range2, range3, and range 4."
+ ([mode]
+ (let [mode (u/resolve-constant-key mode color-modes)]
+ (.colorMode (current-graphics) (int mode))))
+ ([mode max]
+ (let [mode (u/resolve-constant-key mode color-modes)]
+ (.colorMode (current-graphics) (int mode) (float max))))
+ ([mode max-x max-y max-z]
+ (let [mode (u/resolve-constant-key mode color-modes)]
+ (.colorMode (current-graphics) (int mode) (float max-x) (float max-y) (float max-z))))
+ ([mode max-x max-y max-z max-a]
+ (let [mode (u/resolve-constant-key mode color-modes)]
+ (.colorMode (current-graphics) (int mode) (float max-x) (float max-y) (float max-z) (float max-a)))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings false
+ :processing-name "constrain()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ constrain-float
+ "Constrains a value to not exceed a maximum and minimum value. All
+ args are cast to floats."
+ [amt low high]
+ (PApplet/constrain (float amt) (float low) (float high))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings false
+ :processing-name "constrain()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ constrain-int
+ "Constrains a value to not exceed a maximum and minimum value. All
+ args are cast to ints."
+ [amt low high]
+ (PApplet/constrain (int amt) (int low) (int high))))
+
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "constrain()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ constrain
+ "Constrains a value to not exceed a maximum and minimum value."
+ [amt low high]
+ #?(:clj
+ (if (u/int-like? amt)
+ (constrain-int amt low high)
+ (constrain-float amt low high))
+ :cljs (.constrain (ap/current-applet) amt low high)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "copy()"
+ :category "Image"
+ :subcategory "Pixels"
+ :added "1.0"}
+ copy
+ "Copies a region of pixels from the one image to another. If src-img
+ is not specified it defaults to current-graphics. If dest-img is not
+ specified - it defaults to current-graphics. If the source
+ and destination regions aren't the same size, it will automatically
+ resize the source pixels to fit the specified target region. No
+ alpha information is used in the process, however if the source
+ image has an alpha channel set, it will be copied as well. "
+ ([[sx sy swidth sheight] [dx dy dwidth dheight]]
+ (.copy (current-graphics)
+ (int sx) (int sy) (int swidth) (int sheight)
+ (int dx) (int dy) (int dwidth) (int dheight)))
+
+ ([^PImage src-img [sx sy swidth sheight] [dx dy dwidth dheight]]
+ (copy src-img (current-graphics) [sx sy swidth sheight] [dx dy dwidth dheight]))
+
+ ([^PImage src-img ^PImage dest-img [sx sy swidth sheight] [dx dy dwidth dheight]]
+ (.copy dest-img src-img (int sx) (int sy) (int swidth) (int sheight)
+ (int dx) (int dy) (int dwidth) (int dheight))))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "cos()"
+ :category "Math"
+ :subcategory "Trigonometry"
+ :added "1.0"}
+ cos
+ "Calculates the cosine of an angle. This function expects the values
+ of the angle parameter to be provided in radians (values from 0 to
+ Math/PI*2). Values are returned in the range -1 to 1."
+ [angle]
+ #?(:clj (PApplet/cos (float angle))
+ :cljs (.cos (ap/current-applet) angle)))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings false
+ :processing-name nil
+ :category "Typography"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ font-available?
+ "Returns true if font (specified as a string) is available on this
+ system, false otherwise"
+ [font-str]
+ (if (some #{font-str} (available-fonts))
+ true
+ false)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "createFont()"
+ :category "Typography"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ create-font
+ "Dynamically converts a font to the format used by Processing (a
+ PFont) from either a font name that's installed on the computer, or
+ from a .ttf or .otf file inside the sketches 'data' folder. This
+ function is an advanced feature for precise control.
+
+ Use available-fonts to obtain the names for the fonts recognized by
+ the computer and are compatible with this function.
+
+ The size parameter states the font size you want to generate. The
+ smooth parameter specifies if the font should be antialiased or not,
+ and the charset parameter is an array of chars that specifies the
+ characters to generate.
+
+ This function creates a bitmapped version of a font It loads a font
+ by name, and converts it to a series of images based on the size of
+ the font. When possible, the text function will use a native font
+ rather than the bitmapped version created behind the scenes with
+ create-font. For instance, when using the default renderer
+ setting (JAVA2D), the actual native version of the font will be
+ employed by the sketch, improving drawing quality and
+ performance. With the :p2d, :p3d, and :opengl renderer settings, the
+ bitmapped version will be used. While this can drastically improve
+ speed and appearance, results are poor when exporting if the sketch
+ does not include the .otf or .ttf file, and the requested font is
+ not available on the machine running the sketch."
+ ([name size] (.createFont (ap/current-applet) (str name) (float size)))
+ ([name size smooth] (.createFont (ap/current-applet) (str name) (float size) smooth))
+ ([name size smooth ^chars charset]
+ (.createFont (ap/current-applet) (str name) (float size) smooth charset)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "createGraphics()"
+ :category "Image"
+ :subcategory "Rendering"
+ :added "1.0"}
+ create-graphics
+ "Creates and returns a new PGraphics object of the types :p2d, :p3d,
+ :java2d, :pdf. By default :java2d is used. Use this class if you
+ need to draw into an off-screen graphics buffer. It's not possible
+ to use create-graphics with the :opengl renderer, because it doesn't
+ allow offscreen use. The :pdf renderer requires the filename parameter.
+
+ Note: don't use create-graphics in draw in clojurescript, it leaks memory.
+ You should create graphic in setup and reuse it in draw instead of creating
+ a new one.
+
+ It's important to call any drawing commands between (.beginDraw graphics) and
+ (.endDraw graphics) statements or use with-graphics macro. This is also true
+ for any commands that affect drawing, such as smooth or color-mode.
+
+ If you're using :pdf renderer - don't forget to call (.dispose graphics)
+ as last command inside with-graphics macro, otherwise graphics won't be
+ saved.
+
+ Unlike the main drawing surface which is completely opaque, surfaces
+ created with create-graphics can have transparency. This makes it
+ possible to draw into a graphics and maintain the alpha channel. By
+ using save to write a PNG or TGA file, the transparency of the
+ graphics object will be honored."
+ ([w h]
+ (.createGraphics (ap/current-applet) (int w) (int h) #?(:cljs :p2d)))
+ ([w h renderer]
+ (.createGraphics (ap/current-applet) (int w) (int h) (ap/resolve-renderer renderer)))
+ ([w h renderer path]
+ (.createGraphics (ap/current-applet) (int w) (int h) (ap/resolve-renderer renderer)
+ #?(:clj (u/absolute-path path)
+ :cljs path))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "createImage()"
+ :category "Image"
+ :subcategory nil
+ :added "1.0"}
+ create-image
+ "Creates a new PImage (the datatype for storing images). This
+ provides a fresh buffer of pixels to play with. Set the size of the
+ buffer with the width and height parameters. The format parameter
+ defines how the pixels are stored. See the PImage reference for more
+ information.
+
+ Possible formats: :rgb, :argb, :alpha (grayscale alpha channel)
+
+ Prefer using create-image over initialising new PImage instances
+ directly."
+ [w h format]
+ (let [format (u/resolve-constant-key format image-formats)]
+ (.createImage (ap/current-applet) (int w) (int h) (int format))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "PGraphics.fillColor"
+ :processing-link "http://processing.github.io/processing-javadocs/core/processing/core/PGraphics.html#fillColor"
+ :category "Color"
+ :subcategory "Creating & Reading"}
+ current-fill
+ "Return the current fill color."
+ []
+ (.-fillColor (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "PGraphics.strokeColor"
+ :processing-link "http://processing.github.io/processing-javadocs/core/processing/core/PGraphics.html#strokeColor"
+ :category "Color"
+ :subcategory "Creating & Reading"}
+ current-stroke
+ "Return the current stroke color."
+ []
+ (.-strokeColor (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "cursor()"
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ cursor
+ "Sets the cursor to a predefined symbol or makes it
+ visible if already hidden (after no-cursor was called).
+
+ Available modes: :arrow, :cross, :hand, :move, :text, :wait
+
+ See cursor-image for specifying a generic image as the cursor
+ symbol."
+ ([] (.cursor (ap/current-applet)))
+ ([cursor-mode]
+ (let [cursor-mode (u/resolve-constant-key cursor-mode cursor-modes)]
+ (.cursor (ap/current-applet)
+ #?(:clj (int cursor-mode)
+ :cljs (str cursor-mode))))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "cursor()"
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ cursor-image
+ "Set the cursor to a predefined image. The horizontal and vertical
+ active spots of the cursor may be specified with hx and hy.
+ It is recommended to make the size 16x16 or 32x32 pixels."
+ ([^PImage img] (.cursor (ap/current-applet) img))
+ ([^PImage img hx hy] (.cursor (ap/current-applet) img (int hx) (int hy))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "curve()"
+ :category "Shape"
+ :subcategory "Curves"
+ :added "1.0"}
+ curve
+ "Draws a curved line on the screen. The first and second parameters
+ specify the beginning control point and the last two parameters
+ specify the ending control point. The middle parameters specify the
+ start and stop of the curve. Longer curves can be created by putting
+ a series of curve fns together or using curve-vertex. An additional
+ fn called curve-tightness provides control for the visual quality of
+ the curve. The curve fn is an implementation of Catmull-Rom
+ splines."
+ ([x1 y1 x2 y2 x3 y3 x4 y4]
+ (.curve (current-graphics)
+ (float x1) (float y1)
+ (float x2) (float y2)
+ (float x3) (float y3)
+ (float x4) (float y4)))
+ ([x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4]
+ (.curve (current-graphics)
+ (float x1) (float y1) (float z1)
+ (float x2) (float y2) (float z2)
+ (float x3) (float y3) (float z3)
+ (float x4) (float y4) (float z4))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "curveDetail()"
+ :category "Shape"
+ :subcategory "Curves"
+ :added "1.0"}
+ curve-detail
+ "Sets the resolution at which curves display. The default value is
+ 20. This function is only useful when using the :p3d or :opengl
+ renderer as the default (:java2d) renderer does not use this
+ information."
+ [detail]
+ (.curveDetail (current-graphics) (int detail)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "curvePoint()"
+ :category "Shape"
+ :subcategory "Curves"
+ :added "1.0"}
+ curve-point
+ "Evalutes the curve at point t for points a, b, c, d. The parameter
+ t varies between 0 and 1, a and d are points on the curve, and b c
+ and are the control points. This can be done once with the x
+ coordinates and a second time with the y coordinates to get the
+ location of a curve at t."
+ [a b c d t]
+ (.curvePoint (current-graphics) (float a) (float b) (float c) (float d) (float t)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "curveTangent()"
+ :category "Shape"
+ :subcategory "Curves"
+ :added "1.0"}
+ curve-tangent
+ "Calculates the tangent of a point on a curve.
+ See: http://en.wikipedia.org/wiki/Tangent"
+ [a b c d t]
+ (.curveTangent (current-graphics) (float a) (float b) (float c) (float d) (float t)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "curveTightness()"
+ :category "Shape"
+ :subcategory "Curves"
+ :added "1.0"}
+ curve-tightness
+ "Modifies the quality of forms created with curve and
+ curve-vertex. The parameter squishy determines how the curve fits
+ to the vertex points. The value 0.0 is the default value for
+ squishy (this value defines the curves to be Catmull-Rom splines)
+ and the value 1.0 connects all the points with straight
+ lines. Values within the range -5.0 and 5.0 will deform the curves
+ but will leave them recognizable and as values increase in
+ magnitude, they will continue to deform."
+ [ti]
+ (.curveTightness (current-graphics) (float ti)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "curveVertex()"
+ :category "Shape"
+ :subcategory "Vertex"
+ :added "1.0"}
+ curve-vertex
+ "Specifies vertex coordinates for curves. This function may only be
+ used between begin-shape and end-shape and only when there is no
+ mode keyword specified to begin-shape. The first and last points in a
+ series of curve-vertex lines will be used to guide the beginning and
+ end of a the curve. A minimum of four points is required to draw a
+ tiny curve between the second and third points. Adding a fifth point
+ with curve-vertex will draw the curve between the second, third, and
+ fourth points. The curve-vertex function is an implementation of
+ Catmull-Rom splines."
+ ([x y] (.curveVertex (current-graphics) (float x) (float y)))
+ ([x y z] (.curveVertex (current-graphics) (float x) (float y) (float z))))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "day()"
+ :category "Input"
+ :subcategory "Time & Date"
+ :added "1.0"}
+ day
+ "Get the current day of the month (1 through 31)."
+ []
+ #?(:clj (PApplet/day)
+ :cljs (.day (ap/current-applet))))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "degrees()"
+ :category "Math"
+ :subcategory "Trigonometry"
+ :added "1.0"}
+ degrees
+ "Converts a radian measurement to its corresponding value in
+ degrees. Radians and degrees are two ways of measuring the same
+ thing. There are 360 degrees in a circle and (* 2 Math/PI) radians
+ in a circle. For example, (= 90° (/ Math/PI 2) 1.5707964). All
+ trigonometric methods in Processing require their parameters to be
+ specified in radians."
+ [radians]
+ #?(:clj (PApplet/degrees (float radians))
+ :cljs (.degrees (ap/current-applet) radians)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "delay()"
+ :processing-link nil
+ :category "Structure"
+ :subcategory nil
+ :added "1.0"}
+ delay-frame
+ "Forces the program to stop running for a specified time. Delay
+ times are specified in thousandths of a second, therefore the
+ function call (delay 3000) will stop the program for three
+ seconds. Because the screen is updated only at the end of draw,
+ the program may appear to 'freeze', because the screen will not
+ update when the delay fn is used. This function has no affect
+ inside setup."
+ [freeze-ms]
+ (.delay (ap/current-applet) (int freeze-ms)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "directionalLight()"
+ :category "Lights, Camera"
+ :subcategory "Lights"
+ :added "1.0"}
+ directional-light
+ "Adds a directional light. Directional light comes from one
+ direction and is stronger when hitting a surface squarely and weaker
+ if it hits at a gentle angle. After hitting a surface, a
+ directional lights scatters in all directions. Lights need to be
+ included in the draw fn to remain persistent in a looping
+ program. Placing them in the setup fn of a looping program will cause
+ them to only have an effect the first time through the loop. The
+ affect of the r, g, and b parameters is determined by the current
+ color mode. The nx, ny, and nz parameters specify the direction the
+ light is facing. For example, setting ny to -1 will cause the
+ geometry to be lit from below (the light is facing directly upward)"
+ [r g b nx ny nz]
+ (.directionalLight (current-graphics) (float r) (float g) (float b)
+ (float nx) (float ny) (float nz)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "dist()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ dist
+ "Calculates the distance between two points"
+ ([x1 y1 x2 y2]
+ #?(:clj (PApplet/dist (float x1) (float y1) (float x2) (float y2))
+ :cljs (.dist (ap/current-applet) x1 y1 x2 y2)))
+ ([x1 y1 z1 x2 y2 z2]
+ #?(:clj (PApplet/dist (float x1) (float y1) (float z1) (float x2) (float y2) (float z2))
+ :cljs (.dist (ap/current-applet) x1 y1 z1 x2 y2 z2))))
+
+(defmacro
+ ^{:requires-bindings true
+ :processing-name nil
+ :category "Output"
+ :subcategory "Files"
+ :added "2.5"}
+ do-record
+ "Macro for drawing on graphics which saves result in the file at the end.
+ Similar to 'with-graphics' macro. do-record assumed to be used with :pdf
+ graphics. Example:
+
+ (q/do-record (q/create-graphics 200 200 :pdf \"output.pdf\")
+ (q/fill 250 0 0)
+ (q/ellipse 100 100 150 150))
+ "
+ [graphics & body]
+ `(let [gr# ~graphics]
+ (with-graphics gr#
+ ~@body)
+ (.dispose gr#)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "ellipse()"
+ :category "Shape"
+ :subcategory "2D Primitives"
+ :added "1.0"}
+ ellipse
+ "Draws an ellipse (oval) in the display window. An ellipse with an
+ equal width and height is a circle. The origin may be changed with
+ the ellipse-mode function"
+ [x y width height]
+ (.ellipse (current-graphics) (float x) (float y) (float width) (float height)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "ellipseMode()"
+ :category "Shape"
+ :subcategory "Attributes"
+ :added "1.0"}
+ ellipse-mode
+ "Modifies the origin of the ellispse according to the specified mode:
+
+ :center - specifies the location of the ellipse as
+ the center of the shape. (Default).
+ :radius - similar to center, but the width and height parameters to
+ ellipse specify the radius of the ellipse, rather than the
+ diameter.
+ :corner - draws the shape from the upper-left corner of its bounding
+ box.
+ :corners - uses the four parameters to ellipse to set two opposing
+ corners of the ellipse's bounding box."
+ [mode]
+ (let [mode (u/resolve-constant-key mode ellipse-modes)]
+ (.ellipseMode (current-graphics) (int mode))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "emissive()"
+ :category "Lights, Camera"
+ :subcategory "Material Properties"
+ :added "1.0"}
+ emissive-float
+ "Sets the emissive color of the material used for drawing shapes
+ drawn to the screen. Used in combination with ambient, specular, and
+ shininess in setting the material properties of shapes. Converts all
+ args to floats"
+ ([float-val] (.emissive (current-graphics) (float float-val)))
+ ([r g b] (.emissive (current-graphics) (float r) (float g) (float b))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "emissive()"
+ :category "Lights, Camera"
+ :subcategory "Material Properties"
+ :added "1.0"}
+ emissive-int
+ "Sets the emissive color of the material used for drawing shapes
+ drawn to the screen. Used in combination with ambient, specular, and
+ shininess in setting the material properties of shapes. Converts all
+ args to ints"
+ [int-val] (.emissive (current-graphics) (int int-val)))
+
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "emissive()"
+ :category "Lights, Camera"
+ :subcategory "Material Properties"
+ :added "1.0"}
+ emissive
+ "Sets the emissive color of the material used for drawing shapes
+ drawn to the screen. Used in combination with ambient, specular, and
+ shininess in setting the material properties of shapes.
+
+ If passed one arg - it is assumed to be an int (i.e. a color),
+ multiple args are converted to floats."
+ ([c]
+ #?(:clj (if (u/int-like? c) (emissive-int c) (emissive-float c))
+ :cljs (emissive-float c)))
+ ([r g b] (emissive-float r g b)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "endCamera()"
+ :category "Lights, Camera"
+ :subcategory "Camera"
+ :added "1.0"}
+ end-camera
+ "Unsets the matrix mode from the camera matrix. See begin-camera."
+ []
+ (.endCamera (current-graphics)))
+
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "endContour()"
+ :category "Shape"
+ :subcategory "Vertex"
+ :added "2.0"}
+ end-contour
+ "Use the begin-contour and end-contour function to create negative
+ shapes within shapes. These functions can only be within a
+ begin-shape/end-shape pair and they only work with the :p2d and :p3d
+ renderers."
+ []
+ (.endContour (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "endRaw()"
+ :category "Output"
+ :subcategory "Files"
+ :added "1.0"}
+ end-raw
+ "Complement to begin-raw; they must always be used together. See
+ the begin-raw docstring for details."
+ []
+ (.endRaw (current-graphics)))
+
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "endShape()"
+ :category "Shape"
+ :subcategory "Vertex"
+ :added "1.0"}
+ end-shape
+ "May only be called after begin-shape. When end-shape is called,
+ all of image data defined since the previous call to begin-shape is
+ written into the image buffer. The keyword :close may be passed to
+ close the shape (to connect the beginning and the end)."
+ ([] (.endShape (current-graphics)))
+ ([mode]
+ (when-not (= :close mode)
+ #?(:clj (throw (Exception. (str "Unknown mode value: " mode ". Expected :close")))
+ :cljs nil))
+ (.endShape (current-graphics)
+ #?(:clj PApplet/CLOSE
+ :cljs 2))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "exit()"
+ :category "Structure"
+ :subcategory nil
+ :added "1.0"}
+ exit
+ "Quits/stops/exits the program. Rather than terminating
+ immediately, exit will cause the sketch to exit after draw has
+ completed (or after setup completes if called during the setup
+ method). "
+ []
+ (.exit (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "exp()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ exp
+ "Returns Euler's number e (2.71828...) raised to the power of the
+ value parameter."
+ [val]
+ #?(:clj (PApplet/exp (float val))
+ :cljs (.exp (ap/current-applet) val)))
+
+#?(:cljs
+ (defn- clear-no-fill-cljs
+ "Sets custom property on graphcs object indicating that it has
+ fill color."
+ [graphics]
+ (aset graphics no-fill-prop false)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "fill()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ fill-float
+ "Sets the color used to fill shapes. For example, (fill 204 102 0),
+ will specify that all subsequent shapes will be filled with orange."
+ ([gray]
+ (.fill (current-graphics) (float gray))
+ #?(:cljs (clear-no-fill-cljs (current-graphics))))
+ ([gray alpha]
+ (.fill (current-graphics) (float gray) (float alpha))
+ #?(:cljs (clear-no-fill-cljs (current-graphics))))
+ ([r g b]
+ (.fill (current-graphics) (float r) (float g) (float b))
+ #?(:cljs (clear-no-fill-cljs (current-graphics))))
+ ([r g b alpha]
+ (.fill (current-graphics) (float r) (float g) (float b) (float alpha))
+ #?(:cljs (clear-no-fill-cljs (current-graphics)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "fill()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ fill-int
+ "Sets the color used to fill shapes."
+ ([rgb]
+ (.fill (current-graphics) (unchecked-int rgb))
+ #?(:cljs (clear-no-fill-cljs (current-graphics))))
+ ([rgb alpha]
+ (.fill (current-graphics) (unchecked-int rgb) (float alpha))
+ #?(:cljs (clear-no-fill-cljs (current-graphics)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "fill()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ fill
+ "Sets the color used to fill shapes."
+ ([rgb]
+ #?(:clj (if (u/int-like? rgb) (fill-int rgb) (fill-float rgb))
+ :cljs (fill-float rgb)))
+
+ ([rgb alpha]
+ #?(:clj (if (u/int-like? rgb) (fill-int rgb alpha) (fill-float rgb alpha))
+ :cljs (fill-float rgb alpha)))
+
+ ([r g b] (fill-float r g b))
+ ([r g b a] (fill-float r g b a)))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name "displayDensity()"
+ :category "Environment"
+ :subcategory nil
+ :added "2.4.0"}
+ display-density
+ "This function returns the number 2 if the screen is a high-density
+ screen (called a Retina display on OS X or high-dpi on Windows and
+ Linux) and a 1 if not. This information is useful for a program to
+ adapt to run at double the pixel density on a screen that supports
+ it. Can be used in conjunction with (pixel-density)"
+ ([] (.displayDensity (ap/current-applet)))
+ ([display] (PApplet/displayDensity display))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "filter()"
+ :category "Image"
+ :subcategory "Pixels"
+ :added "1.0"}
+ display-filter
+ "Originally named filter in Processing Language.
+ Filters the display window with the specified mode and level.
+ Level defines the quality of the filter and mode may be one of the
+ following keywords:
+
+ :threshold - converts the image to black and white pixels depending
+ if they are above or below the threshold defined by
+ the level parameter. The level must be between
+ 0.0 (black) and 1.0 (white). If no level is specified,
+ 0.5 is used.
+ :gray - converts any colors in the image to grayscale
+ equivalents. Doesn't work with level.
+ :invert - sets each pixel to its inverse value. Doesn't work with
+ level.
+ :posterize - limits each channel of the image to the number of
+ colors specified as the level parameter. The parameter can
+ be set to values between 2 and 255, but results are most
+ noticeable in the lower ranges.
+ :blur - executes a Guassian blur with the level parameter
+ specifying the extent of the blurring. If no level
+ parameter is used, the blur is equivalent to Guassian
+ blur of radius 1.
+ :opaque - sets the alpha channel to entirely opaque. Doesn't work
+ with level.
+ :erode - reduces the light areas. Doesn't work with level.
+ :dilate - increases the light areas. Doesn't work with level."
+ ([mode]
+ (.filter (current-graphics)
+ (int (u/resolve-constant-key mode filter-modes))))
+
+ ([mode level]
+ (let [mode (u/resolve-constant-key mode filter-modes)]
+ (.filter (current-graphics) (int mode) (float level)))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name "filter()"
+ :category "Image"
+ :subcategory "Pixels"
+ :added "2.0"}
+ filter-shader
+ "Originally named filter in Processing Language.
+ Filters the display window with given shader (only in :p2d and :p3d modes)."
+ [^PShader shader-obj] (.filter (current-graphics) shader-obj)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "floor()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "2.0"}
+ floor
+ "Calculates the closest int value that is less than or equal to the
+ value of the parameter. For example, (floor 9.03) returns the value 9."
+ [n]
+ #?(:clj (PApplet/floor (float n))
+ :cljs (.floor (ap/current-applet) n)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "focused"
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ focused
+ "Returns a boolean value representing whether the applet has focus."
+ [] (.-focused (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "frameCount"
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ frame-count
+ "The system variable frameCount contains the number of frames
+ displayed since the program started. Inside setup() the value is 0
+ and after the first iteration of draw it is 1, etc."
+ []
+ #?(:clj (.frameCount (ap/current-applet))
+ :cljs (.-frameCount (ap/current-applet))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "frameRate"
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ current-frame-rate
+ "Returns the current framerate"
+ []
+ #?(:clj (.frameRate (ap/current-applet))
+ :cljs (.-__frameRate (ap/current-applet))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "frameRate()"
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ frame-rate
+ "Specifies a new target framerate (number of frames to be displayed every
+ second). If the processor is not fast enough to maintain the
+ specified rate, it will not be achieved. For example, the function
+ call (frame-rate 30) will attempt to refresh 30 times a second. It
+ is recommended to set the frame rate within setup. The default rate
+ is 60 frames per second."
+ [new-rate]
+ (do
+ #?(:cljs (reset! (.-target-frame-rate (ap/current-applet)) new-rate))
+ (.frameRate (ap/current-applet) (float new-rate))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "frustum()"
+ :category "Lights, Camera"
+ :subcategory "Camera"
+ :added "1.0"}
+ frustum
+ "Sets a perspective matrix defined through the parameters. Works
+ like glFrustum, except it wipes out the current perspective matrix
+ rather than muliplying itself with it."
+ [left right bottom top near far]
+ (.frustum (current-graphics) (float left) (float right) (float bottom) (float top)
+ (float near) (float far)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "get()"
+ :category "Image"
+ :subcategory "Pixels"
+ :added "1.0"}
+ get-pixel
+ "Reads the color of any pixel or grabs a section of an image. If no
+ parameters are specified, a copy of entire image is returned. Get the
+ value of one pixel by specifying an x,y coordinate. Get a section of
+ the image by specifying an additional width and height parameter.
+ If the pixel requested is outside of the image window, black is returned.
+ The numbers returned are scaled according to the current color ranges,
+ but only RGB values are returned by this function. For example, even though
+ you may have drawn a shape with (color-mode :hsb), the numbers returned
+ will be in RGB.
+
+ Getting the color of a single pixel with (get x y) is easy, but not
+ as fast as grabbing the data directly using the pixels fn.
+
+ If no img specified - current-graphics is used."
+ ([] (get-pixel (current-graphics)))
+ ([^PImage img] (.get img))
+ ([x y] (get-pixel (current-graphics) x y))
+ ([^PImage img x y] (.get img (int x) (int y)))
+ ([x y w h] (get-pixel (current-graphics) x y w h))
+ ([^PImage img x y w h] (.get img (int x) (int y) (int w) (int h))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "green()"
+ :category "Color"
+ :subcategory "Creating & Reading"
+ :added "1.0"}
+ green
+ "Extracts the green value from a color, scaled to match current
+ color-mode. This value is always returned as a float so be careful
+ not to assign it to an int value."
+ [col]
+ (.green (current-graphics) (unchecked-int col)))
+
+(defn
+ ^{:require-binding false
+ :processing-name "hex()"
+ :category "Data"
+ :subcategory "Conversion"}
+ hex
+ "Converts a byte, char, int, or color to a String containing the
+ equivalent hexadecimal notation. For example color(0, 102, 153) will
+ convert to the String \"FF006699\". This function can help make your
+ geeky debugging sessions much happier. "
+ ([val]
+ #?(:clj (PApplet/hex (int val))
+ :cljs (.hex (ap/current-applet) val)))
+ ([val num-digits]
+ #?(:clj (PApplet/hex (int val) (int num-digits))
+ :cljs (.hex (ap/current-applet) val num-digits))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "getHeight()"
+ :processing-link nil
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ height
+ "Height of the display window. The value of height is zero until
+ size is called."
+ []
+ (.-height (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "hint()"
+ :processing-link nil
+ :category "Rendering"
+ :subcategory nil
+ :added "1.0"}
+ hint
+ "Set various hints and hacks for the renderer. This is used to
+ handle obscure rendering features that cannot be implemented in a
+ consistent manner across renderers. Many options will often graduate
+ to standard features instead of hints over time.
+
+ Options:
+
+ :enable-native-fonts - Use the native version fonts when they are
+ installed, rather than the bitmapped version from a .vlw
+ file. This is useful with the default (or JAVA2D) renderer
+ setting, as it will improve font rendering speed. This is not
+ enabled by default, because it can be misleading while testing
+ because the type will look great on your machine (because you have
+ the font installed) but lousy on others' machines if the identical
+ font is unavailable. This option can only be set per-sketch, and
+ must be called before any use of text-font.
+
+ :disable-native-fonts - Disables native font support.
+
+ :disable-depth-test - Disable the zbuffer, allowing you to draw on
+ top of everything at will. When depth testing is disabled, items
+ will be drawn to the screen sequentially, like a painting. This
+ hint is most often used to draw in 3D, then draw in 2D on top of
+ it (for instance, to draw GUI controls in 2D on top of a 3D
+ interface). Starting in release 0149, this will also clear the
+ depth buffer. Restore the default with :enable-depth-test
+ but note that with the depth buffer cleared, any 3D drawing that
+ happens later in draw will ignore existing shapes on the screen.
+
+ :enable-depth-test - Enables the zbuffer.
+
+ :enable-depth-sort - Enable primitive z-sorting of triangles and
+ lines in :p3d and :opengl rendering modes. This can slow
+ performance considerably, and the algorithm is not yet perfect.
+
+ :disable-depth-sort - Disables hint :enable-depth-sort
+
+ :disable-opengl-errors - Speeds up the OPENGL renderer setting
+ by not checking for errors while running.
+
+ :enable-opengl-errors - Turns on OpenGL error checking
+
+ :enable-depth-mask
+ :disable-depth-mask
+
+ :enable-optimized-stroke
+ :disable-optimized-stroke
+ :enable-retina-pixels
+ :disable-retina-pixels
+ :enable-stroke-perspective
+ :disable-stroke-perspective
+ :enable-stroke-pure
+ :disable-stroke-pure
+ :enable-texture-mipmaps
+ :disable-texture-mipmaps
+"
+ [hint-type]
+ (let [hint-type (if (keyword? hint-type)
+ (get hint-options hint-type)
+ hint-type)]
+ (.hint (current-graphics) (int hint-type))))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "hour()"
+ :category "Input"
+ :subcategory "Time & Date"
+ :added "1.0"}
+ hour
+ "Returns the current hour as a value from 0 - 23."
+ []
+ #?(:clj (PApplet/hour)
+ :cljs (.hour (ap/current-applet))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "hue()"
+ :category "Color"
+ :subcategory "Creating & Reading"
+ :added "1.0"}
+ hue
+ "Extracts the hue value from a color."
+ [col]
+ (.hue (current-graphics) (unchecked-int col)))
+
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "image()"
+ :category "Image"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ image
+ "Displays images to the screen. Processing currently works with GIF,
+ JPEG, and Targa images. The color of an image may be modified with
+ the tint function and if a GIF has transparency, it will maintain
+ its transparency. The img parameter specifies the image to display
+ and the x and y parameters define the location of the image from its
+ upper-left corner. The image is displayed at its original size
+ unless the width and height parameters specify a different size. The
+ image-mode fn changes the way the parameters work. A call to
+ (image-mode :corners) will change the width and height parameters to
+ define the x and y values of the opposite corner of the image.
+
+ Starting with release 0124, when using the default (JAVA2D)
+ renderer, smooth will also improve image quality of resized
+ images."
+ (#?(:clj [^PImage img x y]
+ :cljs [img x y])
+ (.image (current-graphics) img (float x) (float y)))
+
+ (#?(:clj [^PImage img x y c d]
+ :cljs [img x y c d])
+ (.image (current-graphics) img (float x) (float y) (float c) (float d))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "PImage.filter()"
+ :category "Image"
+ :subcategory "Pixels"
+ :added "2.0"}
+ image-filter
+ "Originally named filter in Processing Language.
+ Filters given image with the specified mode and level.
+ Level defines the quality of the filter and mode may be one of
+ the following keywords:
+
+ :threshold - converts the image to black and white pixels depending
+ if they are above or below the threshold defined by
+ the level parameter. The level must be between
+ 0.0 (black) and 1.0 (white). If no level is specified,
+ 0.5 is used.
+ :gray - converts any colors in the image to grayscale
+ equivalents. Doesn't work with level.
+ :invert - sets each pixel to its inverse value. Doesn't work with
+ level.
+ :posterize - limits each channel of the image to the number of
+ colors specified as the level parameter. The parameter can
+ be set to values between 2 and 255, but results are most
+ noticeable in the lower ranges.
+ :blur - executes a Guassian blur with the level parameter
+ specifying the extent of the blurring. If no level
+ parameter is used, the blur is equivalent to Guassian
+ blur of radius 1.
+ :opaque - sets the alpha channel to entirely opaque. Doesn't work
+ with level.
+ :erode - reduces the light areas. Doesn't work with level.
+ :dilate - increases the light areas. Doesn't work with level."
+ ([^PImage img mode]
+ (let [mode (u/resolve-constant-key mode filter-modes)]
+ (.filter img (int mode))))
+ ([^PImage img mode level]
+ (let [mode (u/resolve-constant-key mode filter-modes)]
+ (.filter img (int mode) (float level)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "imageMode()"
+ :category "Image"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ image-mode
+ "Modifies the location from which images draw. The default mode is :corner.
+ Available modes are:
+
+ :corner - specifies the location to be the upper left corner and
+ uses the fourth and fifth parameters of image to set the
+ image's width and height.
+
+ :corners - uses the second and third parameters of image to set the
+ location of one corner of the image and uses the fourth
+ and fifth parameters to set the opposite corner.
+
+ :center - draw images centered at the given x and y position."
+ [mode]
+ (let [mode (u/resolve-constant-key mode image-modes)]
+ (.imageMode (current-graphics) (int mode))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "keyCode"
+ :category "Input"
+ :subcategory "Keyboard"
+ :added "1.0"}
+ key-code
+ "The variable keyCode is used to detect special keys such as the UP,
+ DOWN, LEFT, RIGHT arrow keys and ALT, CONTROL, SHIFT. When checking
+ for these keys, it's first necessary to check and see if the key is
+ coded. This is done with the conditional (= (key) CODED).
+
+ The keys included in the ASCII specification (BACKSPACE, TAB, ENTER,
+ RETURN, ESC, and DELETE) do not require checking to see if they key
+ is coded, and you should simply use the key variable instead of
+ key-code If you're making cross-platform projects, note that the
+ ENTER key is commonly used on PCs and Unix and the RETURN key is
+ used instead on Macintosh. Check for both ENTER and RETURN to make
+ sure your program will work for all platforms.
+
+ For users familiar with Java, the values for UP and DOWN are simply
+ shorter versions of Java's KeyEvent.VK_UP and
+ KeyEvent.VK_DOWN. Other keyCode values can be found in the Java
+ KeyEvent reference."
+ []
+ (.-keyCode (ap/current-applet)))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name nil
+ :category "Input"
+ :subcategory "Keyboard"
+ :added "2.4.0"}
+ key-modifiers
+ "Set of key modifiers that were pressed when event happened.
+ Possible modifiers :ctrl, :alt, :shift, :meta. Not available in
+ ClojureScript."
+ []
+ (let [modifiers
+ (if-let [^processing.event.Event
+ event (-> (ap/current-applet) meta :key-event deref)]
+ [(if (.isAltDown event) :alt nil)
+ (if (.isShiftDown event) :shift nil)
+ (if (.isControlDown event) :control nil)
+ (if (.isMetaDown event) :meta nil)]
+ [])]
+ (set (remove nil? modifiers)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "keyPressed"
+ :category "Input"
+ :subcategory "Keyboard"
+ :added "1.0"}
+ key-pressed?
+ "true if any key is currently pressed, false otherwise."
+ []
+ #?(:clj (.-keyPressed (ap/current-applet))
+ :cljs (.-__keyPressed (ap/current-applet))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "lightFalloff()"
+ :category "Lights, Camera"
+ :subcategory "Lights"
+ :added "1.0"}
+ light-falloff
+ "Sets the falloff rates for point lights, spot lights, and ambient
+ lights. The parameters are used to determine the falloff with the
+ following equation:
+
+ d = distance from light position to vertex position
+ falloff = 1 / (CONSTANT + d * LINEAR + (d*d) * QUADRATIC)
+
+ Like fill, it affects only the elements which are created after it
+ in the code. The default value is (light-falloff 1.0 0.0 0.0).
+ Thinking about an ambient light with a falloff can be tricky. It is
+ used, for example, if you wanted a region of your scene to be lit
+ ambiently one color and another region to be lit ambiently by
+ another color, you would use an ambient light with location and
+ falloff. You can think of it as a point light that doesn't care
+ which direction a surface is facing."
+ [constant linear quadratic]
+ (.lightFalloff (current-graphics) (float constant) (float linear) (float quadratic)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "lerpColor()"
+ :category "Color"
+ :subcategory "Creating & Reading"
+ :added "1.0"}
+ lerp-color
+ "Calculates a color or colors between two color at a specific
+ increment. The amt parameter is the amount to interpolate between
+ the two values where 0.0 equal to the first point, 0.1 is very near
+ the first point, 0.5 is half-way in between, etc."
+ [c1 c2 amt]
+ (.lerpColor (current-graphics) (unchecked-int c1) (unchecked-int c2) (float amt)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "lerp()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ lerp
+ "Calculates a number between two numbers at a specific
+ increment. The amt parameter is the amount to interpolate between
+ the two values where 0.0 equal to the first point, 0.1 is very near
+ the first point, 0.5 is half-way in between, etc. The lerp function
+ is convenient for creating motion along a straight path and for
+ drawing dotted lines."
+ [start stop amt]
+ #?(:clj (PApplet/lerp (float start) (float stop) (float amt))
+ :cljs (.lerp (ap/current-applet) start stop amt)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "lights()"
+ :category "Lights, Camera"
+ :subcategory "Lights"
+ :added "1.0"}
+ lights
+ "Sets the default ambient light, directional light, falloff, and
+ specular values. The defaults are:
+
+ (ambient-light 128 128 128)
+ (directional-light 128 128 128 0 0 -1)
+ (light-falloff 1 0 0)
+ (light-specular 0 0 0).
+
+ Lights need to be included in the draw to remain persistent in a
+ looping program. Placing them in the setup of a looping program
+ will cause them to only have an effect the first time through the
+ loop."
+ []
+ (.lights (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "lightSpecular()"
+ :category "Lights, Camera"
+ :subcategory "Lights"
+ :added "1.0"}
+ light-specular
+ "Sets the specular color for lights. Like fill, it affects only the
+ elements which are created after it in the code. Specular refers to
+ light which bounces off a surface in a perferred direction (rather
+ than bouncing in all directions like a diffuse light) and is used
+ for creating highlights. The specular quality of a light interacts
+ with the specular material qualities set through the specular and
+ shininess functions."
+ [r g b]
+ (.lightSpecular (current-graphics) (float r) (float g) (float b)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "line()"
+ :category "Shape"
+ :subcategory "2D Primitives"
+ :added "1.0"}
+ line
+ "Draws a line (a direct path between two points) to the screen. The
+ version of line with four parameters draws the line in 2D. To color
+ a line, use the stroke function. A line cannot be filled, therefore
+ the fill method will not affect the color of a line. 2D lines are
+ drawn with a width of one pixel by default, but this can be changed
+ with the stroke-weight function. The version with six parameters
+ allows the line to be placed anywhere within XYZ space. "
+ ([p1 p2] (apply line (concat p1 p2)))
+ ([x1 y1 x2 y2] (.line (current-graphics) (float x1) (float y1) (float x2) (float y2)))
+ ([x1 y1 z1 x2 y2 z2]
+ (.line (current-graphics) (float x1) (float y1) (float z1)
+ (float x2) (float y2) (float z2))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "loadFont()"
+ :category "Typography"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ load-font
+ "Loads a font into a variable of type PFont. To load correctly,
+ fonts must be located in the data directory of the current sketch.
+ To create a font to use with Processing use the create-font fn.
+
+ Like load-image and other methods that load data, the load-font fn
+ should not be used inside draw, because it will slow down the sketch
+ considerably, as the font will be re-loaded from the disk (or
+ network) on each frame.
+
+ For most renderers, Processing displays fonts using the .vlw font
+ format, which uses images for each letter, rather than defining them
+ through vector data. When hint :enable-native-fonts is used with the
+ JAVA2D renderer, the native version of a font will be used if it is
+ installed on the user's machine.
+
+ Using create-font (instead of load-font) enables vector data to be
+ used with the JAVA2D (default) renderer setting. This can be helpful
+ when many font sizes are needed, or when using any renderer based on
+ JAVA2D, such as the PDF library."
+ [filename]
+ (.loadFont (ap/current-applet) (str filename)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "loadImage()"
+ :category "Image"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ load-image
+ "Loads an image into a variable of type PImage. Four types of
+ images ( .gif, .jpg, .tga, .png) images may be loaded. To load
+ correctly, images must be located in the data directory of the
+ current sketch. In most cases, load all images in setup to preload
+ them at the start of the program. Loading images inside draw will
+ reduce the speed of a program.
+
+ The filename parameter can also be a URL to a file found online.
+
+ If an image is not loaded successfully, the null value is returned
+ and an error message will be printed to the console. The error
+ message does not halt the program, however the null value may cause
+ a NullPointerException if your code does not check whether the value
+ returned from load-image is nil.
+
+ Depending on the type of error, a PImage object may still be
+ returned, but the width and height of the image will be set to
+ -1. This happens if bad image data is returned or cannot be decoded
+ properly. Sometimes this happens with image URLs that produce a 403
+ error or that redirect to a password prompt, because load-image
+ will attempt to interpret the HTML as image data."
+ [filename]
+ (.loadImage (ap/current-applet) (str filename)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "loadShader()"
+ :category "Rendering"
+ :subcategory "Shaders"
+ :added "2.0"}
+ load-shader
+ "Loads a shader into the PShader object. Shaders are compatible with the
+ P2D and P3D renderers, but not with the default renderer."
+ ([fragment-filename]
+ (.loadShader (current-graphics) fragment-filename))
+ ([fragment-filename vertex-filename]
+ (.loadShader (current-graphics) fragment-filename vertex-filename)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "loadShape()"
+ :category "Shape"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ load-shape
+ "Load a geometry from a file as a PShape."
+ [filename]
+ (.loadShape (ap/current-applet) filename))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "log()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ log
+ "Calculates the natural logarithm (the base-e logarithm) of a
+ number. This function expects the values greater than 0.0."
+ [val]
+ #?(:clj (PApplet/log (float val))
+ :cljs (.log (ap/current-applet) val)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "mag()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ mag
+ "Calculates the magnitude (or length) of a vector. A vector is a
+ direction in space commonly used in computer graphics and linear
+ algebra. Because it has no start position, the magnitude of a vector
+ can be thought of as the distance from coordinate (0,0) to its (x,y)
+ value. Therefore, mag is a shortcut for writing (dist 0 0 x y)."
+ ([a b]
+ #?(:clj (PApplet/mag (float a) (float b))
+ :cljs (.mag (ap/current-applet) a b)))
+ ([a b c]
+ #?(:clj (PApplet/mag (float a) (float b) (float c))
+ :cljs (.mag (ap/current-applet) a b c))))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "map()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ map-range
+ "Re-maps a number from one range to another.
+
+ 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]
+ #?(:clj (PApplet/map (float val) (float low1) (float high1) (float low2) (float high2))
+ :cljs (.map (ap/current-applet) val low1 high1 low2 high2)))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings false
+ :processing-name "PImage.mask()"
+ :category "Image"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ mask-image
+ "Masks part of an image from displaying by loading another image and
+ using it as an alpha channel. This mask image should only contain
+ grayscale data, but only the blue color channel is used. The mask
+ image needs to be the same size as the image to which it is
+ applied.
+
+ If single argument function is used - masked image is sketch itself
+ or graphics if used inside with-graphics macro. If you're passing
+ graphics to this function - it works only with :p3d and :opengl renderers.
+
+ This method is useful for creating dynamically generated alpha
+ masks."
+ ([^PImage mask] (mask-image (current-graphics) mask))
+ ([^PImage img ^PImage mask] (.mask img mask))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "millis()"
+ :category "Input"
+ :subcategory "Time & Date"
+ :added "1.0"}
+ millis
+ "Returns the number of milliseconds (thousandths of a second) since
+ starting the sketch. This information is often used for timing
+ animation sequences."
+ []
+ (.millis (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "minute()"
+ :category "Input"
+ :subcategory "Time & Date"
+ :added "1.0"}
+ minute
+ "Returns the current minute as a value from 0 - 59"
+ []
+ #?(:clj (PApplet/minute)
+ :cljs (.minute (ap/current-applet))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "modelX()"
+ :category "Lights, Camera"
+ :subcategory "Coordinates"
+ :added "1.0"}
+ 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 (current-graphics) (float x) (float y) (float z)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "modelY()"
+ :category "Lights, Camera"
+ :subcategory "Coordinates"
+ :added "1.0"}
+ 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 (current-graphics) (float x) (float y) (float z)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "modelZ()"
+ :category "Lights, Camera"
+ :subcategory "Coordinates"
+ :added "1.0"}
+ 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 (current-graphics) (float x) (float y) (float z)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "month()"
+ :category "Input"
+ :subcategory "Time & Date"
+ :added "1.0"}
+ month
+ "Returns the current month as a value from 1 - 12."
+ []
+ #?(:clj (PApplet/month)
+ :cljs (.month (ap/current-applet))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "mouseButton"
+ :category "Input"
+ :subcategory "Mouse"
+ :added "1.0"}
+ mouse-button
+ "The value of the system variable mouseButton is either :left, :right,
+ or :center depending on which button is pressed. nil if no button pressed"
+ []
+ (let [button-code (.-mouseButton (ap/current-applet))]
+ #?(:clj
+ (condp = button-code
+ PConstants/LEFT :left
+ PConstants/RIGHT :right
+ PConstants/CENTER :center
+ nil)
+
+ :cljs
+ (condp = button-code
+ 37 :left
+ 39 :right
+ 3 :center
+ nil))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "mousePressed"
+ :category "Input"
+ :subcategory "Mouse"
+ :added "1.0"}
+ mouse-pressed?
+ "Variable storing if a mouse button is pressed. The value of the
+ system variable mousePressed is true if a mouse button is pressed
+ and false if a button is not pressed."
+ []
+ #?(:clj (.-mousePressed (ap/current-applet))
+ :cljs (.-__mousePressed (ap/current-applet))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "mouseX"
+ :category "Input"
+ :subcategory "Mouse"
+ :added "1.0"}
+ mouse-x
+ "Current horizontal coordinate of the mouse."
+ []
+ (.-mouseX (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "mouseY"
+ :category "Input"
+ :subcategory "Mouse"
+ :added "1.0"}
+ mouse-y
+ "Current vertical coordinate of the mouse."
+ []
+ (.-mouseY (ap/current-applet)))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name "noClip()"
+ :category "Rendering"
+ :subcategory nil
+ :added "2.4.0"}
+ no-clip
+ "Disables the clipping previously started by the clip() function."
+ []
+ (.noClip (current-graphics))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "noCursor()"
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ no-cursor
+ "Hides the cursor from view. Will not work when running the in full
+ screen (Present) mode."
+ []
+ (.noCursor (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "noFill()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ no-fill
+ "Disables filling geometry. If both no-stroke and no-fill are called,
+ nothing will be drawn to the screen." []
+ (.noFill (current-graphics))
+ #?(:cljs (aset (current-graphics) no-fill-prop true)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "random2d()"
+ :category "Math"
+ :subcategory "Random"
+ :added "2.6"}
+ random-2d
+ "Returns a new 2D unit vector in a random direction" []
+ (let [theta (.random (ap/current-applet) TWO-PI)]
+ [(Math/cos theta) (Math/sin theta)]))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "random3d()"
+ :category "Math"
+ :subcategory "Random"
+ :added "2.6"}
+ random-3d
+ "Returns a new 3D unit vector in a random direction" []
+ (let [theta (.random (ap/current-applet) TWO-PI)
+ phi (.random (ap/current-applet) (- HALF-PI) HALF-PI)
+ vx (* (Math/cos theta) (Math/sin phi))
+ vy (* (Math/sin theta) (Math/sin phi))
+ vz (Math/cos phi)]
+ [vx vy vz]))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "noise()"
+ :category "Math"
+ :subcategory "Random"
+ :added "1.0"}
+ noise
+ "Returns the Perlin noise value at specified coordinates. Perlin
+ noise is a random sequence generator producing a more natural
+ ordered, harmonic succession of numbers compared to the standard
+ random function. It was invented by Ken Perlin in the 1980s and
+ been used since in graphical applications to produce procedural
+ textures, natural motion, shapes, terrains etc.
+
+ The main difference to the random function is that Perlin noise is
+ defined in an infinite n-dimensional space where each pair of
+ coordinates corresponds to a fixed semi-random value (fixed only for
+ the lifespan of the program). The resulting value will always be
+ between 0.0 and 1.0. Processing can compute 1D, 2D and 3D noise,
+ depending on the number of coordinates given. The noise value can be
+ animated by moving through the noise space and the 2nd and 3rd
+ dimensions can also be interpreted as time.
+
+ The actual noise is structured similar to an audio signal, in
+ respect to the function's use of frequencies. Similar to the concept
+ of harmonics in physics, perlin noise is computed over several
+ octaves which are added together for the final result.
+
+ Another way to adjust the character of the resulting sequence is the
+ scale of the input coordinates. As the function works within an
+ infinite space the value of the coordinates doesn't matter as such,
+ only the distance between successive coordinates does (eg. when
+ using noise within a loop). As a general rule the smaller the
+ difference between coordinates, the smoother the resulting noise
+ sequence will be. Steps of 0.005-0.03 work best for most
+ applications, but this will differ depending on use."
+ ([x] (.noise (ap/current-applet) (float x)))
+ ([x y] (.noise (ap/current-applet) (float x) (float y)))
+ ([x y z] (.noise (ap/current-applet) (float x) (float y) (float z))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "noiseDetail()"
+ :category "Math"
+ :subcategory "Random"
+ :added "1.0"}
+ noise-detail
+ "Adjusts the character and level of detail produced by the Perlin
+ noise function. Similar to harmonics in physics, noise is computed
+ over several octaves. Lower octaves contribute more to the output
+ signal and as such define the overal intensity of the noise, whereas
+ higher octaves create finer grained details in the noise
+ sequence. By default, noise is computed over 4 octaves with each
+ octave contributing exactly half than its predecessor, starting at
+ 50% strength for the 1st octave. This falloff amount can be changed
+ by adding an additional function parameter. Eg. a falloff factor of
+ 0.75 means each octave will now have 75% impact (25% less) of the
+ previous lower octave. Any value between 0.0 and 1.0 is valid,
+ however note that values greater than 0.5 might result in greater
+ than 1.0 values returned by noise.
+
+ By changing these parameters, the signal created by the noise
+ function can be adapted to fit very specific needs and
+ characteristics."
+ ([octaves] (.noiseDetail (ap/current-applet) (int octaves)))
+ ([octaves falloff] (.noiseDetail (ap/current-applet) (int octaves) (float falloff))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "noiseSeed()"
+ :category "Math"
+ :subcategory "Random"
+ :added "1.0"}
+ noise-seed
+ "Sets the seed value for noise. By default, noise produces different
+ results each time the program is run. Set the value parameter to a
+ constant to return the same pseudo-random numbers each time the
+ software is run."
+ [val]
+ (.noiseSeed (ap/current-applet) (int val)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "noLights()"
+ :category "Lights, Camera"
+ :subcategory "Lights"
+ :added "1.0"}
+ no-lights
+ "Disable all lighting. Lighting is turned off by default and enabled
+ with the lights fn. This function can be used to disable lighting so
+ that 2D geometry (which does not require lighting) can be drawn
+ after a set of lighted 3D geometry."
+ []
+ (.noLights (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "noLoop()"
+ :category "Structure"
+ :subcategory nil
+ :added "1.0"}
+ no-loop
+ "Stops Processing from continuously executing the code within
+ draw. If start-loop is called, the code in draw will begin to run
+ continuously again. If using no-loop in setup, it should be the last
+ line inside the block.
+
+ When no-loop is used, it's not possible to manipulate or access the
+ screen inside event handling functions such as mouse-pressed or
+ key-pressed. Instead, use those functions to call redraw or
+ loop which will run draw, which can update the screen
+ properly. This means that when no-loop has been called, no drawing
+ can happen, and functions like save-frame may not be used.
+
+ Note that if the sketch is resized, redraw will be called to
+ update the sketch, even after no-oop has been
+ specified. Otherwise, the sketch would enter an odd state until
+ loop was called."
+ []
+ (.noLoop (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "norm()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ norm
+ "Normalize a value to exist between 0 and 1 (inclusive)."
+ [val start stop]
+ #?(:clj (PApplet/norm (float val) (float start) (float stop))
+ :cljs (.norm (ap/current-applet) val start stop)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "normal()"
+ :category "Lights, Camera"
+ :subcategory "Lights"
+ :added "1.0"}
+ normal
+ "Sets the current normal vector. This is for drawing three
+ dimensional shapes and surfaces and specifies a vector perpendicular
+ to the surface of the shape which determines how lighting affects
+ it. Processing attempts to automatically assign normals to shapes,
+ but since that's imperfect, this is a better option when you want
+ more control. This function is identical to glNormal3f() in OpenGL."
+ [nx ny nz]
+ (.normal (current-graphics) (float nx) (float ny) (float nz)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "noSmooth()"
+ :category "Shape"
+ :subcategory "Attributes"
+ :added "1.0"}
+ no-smooth
+ "Draws all geometry with jagged (aliased) edges. Must be called inside
+ :settings handler."
+ [] (.noSmooth (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "noStroke()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ no-stroke
+ "Disables drawing the stroke (outline). If both no-stroke and
+ no-fill are called, nothing will be drawn to the screen."
+ []
+ (.noStroke (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "noTint()"
+ :category "Image"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ no-tint
+ "Removes the current fill value for displaying images and reverts to
+ displaying images with their original hues."
+ []
+ (.noTint (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "ortho()"
+ :category "Lights, Camera"
+ :subcategory "Camera"
+ :added "1.0"}
+ ortho
+ "Sets an orthographic projection and defines a parallel clipping
+ volume. All objects with the same dimension appear the same size,
+ regardless of whether they are near or far from the camera. The
+ parameters to this function specify the clipping volume where left
+ and right are the minimum and maximum x values, top and bottom are
+ the minimum and maximum y values, and near and far are the minimum
+ and maximum z values. If no parameters are given, the default is
+ used: (ortho 0 width 0 height -10 10)"
+ ([] (.ortho (current-graphics)))
+ ([left right bottom top]
+ (.ortho (current-graphics) (float left) (float right) (float bottom) (float top)))
+ ([left right bottom top near far]
+ (.ortho (current-graphics) (float left) (float right) (float bottom) (float top) (float near) (float far))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "perspective()"
+ :category "Lights, Camera"
+ :subcategory "Camera"
+ :added "1.0"}
+ perspective
+ "Sets a perspective projection applying foreshortening, making
+ distant objects appear smaller than closer ones. The parameters
+ define a viewing volume with the shape of truncated pyramid. Objects
+ near to the front of the volume appear their actual size, while
+ farther objects appear smaller. This projection simulates the
+ perspective of the world more accurately than orthographic
+ projection. The version of perspective without parameters sets the
+ default perspective and the version with four parameters allows the
+ programmer to set the area precisely. The default values are:
+ perspective(PI/3.0, width/height, cameraZ/10.0, cameraZ*10.0) where
+ cameraZ is ((height/2.0) / tan(PI*60.0/360.0));"
+ ([] (.perspective (current-graphics)))
+ ([fovy aspect z-near z-far]
+ (.perspective (current-graphics) (float fovy) (float aspect)
+ (float z-near) (float z-far))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name "pixelDensity()"
+ :category "Environment"
+ :subcategory nil
+ :added "2.4.0"}
+ pixel-density
+ "It makes it possible for Processing to render using all of the pixels
+ on high resolutions screens like Apple Retina displays and Windows
+ High-DPI displays. Possible values 1 or 2. Must be called only from
+ :settings handler. To get density of the current screen you can use
+ (display-density) function."
+ [density]
+ (.pixelDensity (ap/current-applet) density)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "pixels[]"
+ :category "Image"
+ :subcategory "Pixels"
+ :added "1.0"}
+ pixels
+ "Array containing the values for all the pixels in the display
+ window or image. This array is therefore the size of the display window. If
+ this array is modified, the update-pixels fn must be called to update
+ the changes. Calls .loadPixels before obtaining the pixel array."
+ ([] (pixels (current-graphics)))
+
+ #?(:clj
+ ([^PImage img]
+ (.loadPixels img)
+ (.-pixels img))
+
+ :cljs
+ ([img]
+ (.loadPixels img)
+ (let [pix-array (.toArray (.-pixels img))]
+ (set! (.-stored-pix-array img) pix-array)
+ pix-array))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "pmouseX"
+ :category "Input"
+ :subcategory "Mouse"
+ :added "1.0"}
+ pmouse-x
+ "Horizontal coordinate of the mouse in the previous frame"
+ []
+ (.-pmouseX (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "pmouseY"
+ :category "Input"
+ :subcategory "Mouse"
+ :added "1.0"}
+ pmouse-y
+ "Vertical coordinate of the mouse in the previous frame"
+ []
+ (.-pmouseY (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "point()"
+ :category "Shape"
+ :subcategory "2D Primitives"
+ :added "1.0"}
+ point
+ "Draws a point, a coordinate in space at the dimension of one
+ pixel. The first parameter is the horizontal value for the point,
+ the second value is the vertical value for the point, and the
+ optional third value is the depth value. Drawing this shape in 3D
+ using the z parameter requires the :P3D or :opengl renderer to be
+ used."
+ ([x y] (.point (current-graphics) (float x)(float y)))
+ ([x y z] (.point (current-graphics) (float x) (float y) (float z))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "pointLight()"
+ :category "Lights, Camera"
+ :subcategory "Lights"
+ :added "1.0"}
+ point-light
+ "Adds a point light. Lights need to be included in the draw() to
+ remain persistent in a looping program. Placing them in the setup()
+ of a looping program will cause them to only have an effect the
+ first time through the loop. The affect of the r, g, and b
+ parameters is determined by the current color mode. The x, y, and z
+ parameters set the position of the light"
+ [r g b x y z]
+ (.pointLight (current-graphics) (float r) (float g) (float b) (float x) (float y) (float z)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "popMatrix()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ pop-matrix
+ "Pops the current transformation matrix off the matrix
+ stack. Understanding pushing and popping requires understanding the
+ concept of a matrix stack. The push-matrix fn saves the current
+ coordinate system to the stack and pop-matrix restores the prior
+ coordinate system. push-matrix and pop-matrix are used in conjuction
+ with the other transformation methods and may be embedded to control
+ the scope of the transformations."
+ []
+ (.popMatrix (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "popStyle()"
+ :category "Structure"
+ :subcategory nil
+ :added "1.0"}
+ pop-style
+ "Restores the prior settings on the 'style stack'. Used in
+ conjunction with push-style. Together they allow you to change the
+ style settings and later return to what you had. When a new style is
+ started with push-style, it builds on the current style information.
+ The push-style and pop-style functions can be nested to provide more
+ control"
+ []
+ (.popStyle (current-graphics)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "pow()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ pow
+ "Facilitates exponential expressions. The pow() function is an
+ efficient way of multiplying numbers by themselves (or their
+ reciprocal) in large quantities. For example, (pow 3 5) is
+ equivalent to the expression (* 3 3 3 3 3) and (pow 3 -5) is
+ equivalent to (/ 1 (* 3 3 3 3 3))."
+ [num exponent]
+ #?(:clj (PApplet/pow (float num) (float exponent))
+ :cljs (.pow (ap/current-applet) num exponent)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "printCamera()"
+ :category "Lights, Camera"
+ :subcategory "Camera"
+ :added "1.0"}
+ print-camera
+ "Prints the current camera matrix to std out. Useful for debugging."
+ []
+ (.printCamera (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "printMatrix()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ print-matrix
+ "Prints the current matrix to std out. Useful for debugging."
+ []
+ (.printMatrix (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "printProjection()"
+ :category "Lights, Camera"
+ :subcategory "Camera"
+ :added "1.0"}
+ print-projection
+ "Prints the current projection matrix to std out. Useful for
+ debugging"
+ []
+ (.printProjection (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "pushMatrix()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ push-matrix
+ "Pushes the current transformation matrix onto the matrix
+ stack. Understanding push-matrix and pop-matrix requires
+ understanding the concept of a matrix stack. The push-matrix
+ function saves the current coordinate system to the stack and
+ pop-matrix restores the prior coordinate system. push-matrix and
+ pop-matrix are used in conjuction with the other transformation
+ methods and may be embedded to control the scope of the
+ transformations."
+ []
+ (.pushMatrix (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "pushStyle()"
+ :category "Structure"
+ :subcategory nil
+ :added "1.0"}
+ push-style
+ "Saves the current style settings onto a 'style stack'. Use with
+ pop-style which restores the prior settings. Note that these
+ functions are always used together. They allow you to change the
+ style settings and later return to what you had. When a new style is
+ started with push-style, it builds on the current style
+ information. The push-style and pop-style fns can be embedded to
+ provide more control.
+
+ The style information controlled by the following functions are
+ included in the style: fill, stroke, tint, stroke-weight,
+ stroke-cap, stroke-join, image-mode, rect-mode, ellipse-mode,
+ shape-mode, color-mode, text-align, text-font, text-mode, text-size,
+ text-leading, emissive, specular, shininess, and ambient"
+ []
+ (.pushStyle (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "quad()"
+ :category "Shape"
+ :subcategory "2D Primitives"
+ :added "1.0"}
+ quad
+ "A quad is a quadrilateral, a four sided polygon. It is similar to a
+ rectangle, but the angles between its edges are not constrained to
+ be ninety degrees. The first pair of parameters (x1,y1) sets the
+ first vertex and the subsequent pairs should proceed clockwise or
+ counter-clockwise around the defined shape."
+ [x1 y1 x2 y2 x3 y3 x4 y4]
+ (.quad (current-graphics)
+ (float x1) (float y1)
+ (float x2) (float y2)
+ (float x3) (float y3)
+ (float x4) (float y4)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "quadraticVertex()"
+ :category "Shape"
+ :subcategory "Vertex"
+ :added "2.0"}
+ quadratic-vertex
+ "Specifies vertex coordinates for quadratic Bezier curves. Each call to
+ quadratic-vertex defines the position of one control points and one
+ anchor point of a Bezier curve, adding a new segment to a line or shape.
+ The first time quadratic-vertex is used within a begin-shape call, it
+ must be prefaced with a call to vertex to set the first anchor point.
+ This function must be used between begin-shape and end-shape and only
+ when there is no MODE parameter specified to begin-shape. Using the 3D
+ version requires rendering with :p3d."
+ ([cx cy x3 y3]
+ (.quadraticVertex (current-graphics) (float cx) (float cy) (float x3) (float y3)))
+ ([cx cy cz x3 y3 z3]
+ (.quadraticVertex (current-graphics) (float cx) (float cy) (float cz) (float x3) (float y3) (float z3))))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "radians()"
+ :category "Math"
+ :subcategory "Trigonometry"
+ :added "1.0"}
+ radians
+ "Converts a degree measurement to its corresponding value in
+ radians. Radians and degrees are two ways of measuring the same
+ thing. There are 360 degrees in a circle and 2*PI radians in a
+ circle. For example, 90° = PI/2 = 1.5707964. All trigonometric
+ methods in Processing require their parameters to be specified in
+ radians."
+ [degrees]
+ #?(:clj (PApplet/radians (float degrees))
+ :cljs (.radians (ap/current-applet) degrees)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "random()"
+ :category "Math"
+ :subcategory "Random"
+ :added "1.0"}
+ random
+ "Generates random numbers. Each time the random function is called,
+ it returns an unexpected value within the specified range. If one
+ parameter is passed to the function it will return a float between
+ zero and the value of the high parameter. The function call (random
+ 5) returns values between 0 and 5 (starting at zero, up to but not
+ including 5). If two parameters are passed, it will return a float
+ with a value between the parameters. The function call
+ (random -5 10.2) returns values starting at -5 up to (but not
+ including) 10.2."
+ ([max] (.random (ap/current-applet) (float max)))
+ ([min max] (.random (ap/current-applet) (float min) (float max))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "randomGaussian()"
+ :category "Math"
+ :subcategory "Random"
+ :added "2.0"}
+ random-gaussian
+ "Returns a float from a random series of numbers having a mean of 0 and
+ standard deviation of 1. Each time the randomGaussian() function is called,
+ it returns a number fitting a Gaussian, or normal, distribution.
+ There is theoretically no minimum or maximum value that randomGaussian()
+ might return. Rather, there is just a very low probability that values far
+ from the mean will be returned; and a higher probability that numbers near
+ the mean will be returned. ."
+ []
+ (.randomGaussian (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "randomSeed()"
+ :category "Math"
+ :subcategory "Random"
+ :added "1.0"}
+ random-seed
+ "Sets the seed value for random. By default, random produces
+ different results each time the program is run. Set the value
+ parameter to a constant to return the same pseudo-random numbers
+ each time the software is run."
+ [w]
+ (.randomSeed (ap/current-applet) (float w)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "key"
+ :category "Input"
+ :subcategory "Keyboard"
+ :added "1.0"}
+ raw-key
+ "Contains the value of the most recent key on the keyboard that was
+ used (either pressed or released).
+
+ For non-ASCII keys, use the keyCode variable. The keys included in
+ the ASCII specification (BACKSPACE, TAB, ENTER, RETURN, ESC, and
+ DELETE) do not require checking to see if they key is coded, and you
+ should simply use the key variable instead of keyCode If you're
+ making cross-platform projects, note that the ENTER key is commonly
+ used on PCs and Unix and the RETURN key is used instead on
+ Macintosh. Check for both ENTER and RETURN to make sure your program
+ will work for all platforms."
+ []
+ (.-key (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "rect()"
+ :category "Shape"
+ :subcategory "2D Primitives"
+ :added "1.0"}
+ rect
+ "Draws a rectangle to the screen. A rectangle is a four-sided shape
+ with every angle at ninety degrees. By default, the first two
+ parameters set the location of the upper-left corner, the third
+ sets the width, and the fourth sets the height. These parameters
+ may be changed with rect-mode.
+
+ To draw a rounded rectangle, add a fifth parameter, which is used as
+ the radius value for all four corners. To use a different radius value
+ for each corner, include eight parameters."
+ ([x y width height]
+ (.rect (current-graphics) (float x) (float y) (float width) (float height)))
+ ([x y width height r]
+ (.rect (current-graphics) (float x) (float y) (float width) (float height) (float r)))
+ ([x y width height top-left-r top-right-r bottom-right-r bottom-left-r]
+ (.rect (current-graphics) (float x) (float y) (float width) (float height)
+ (float top-left-r) (float top-right-r) (float bottom-right-r) (float bottom-left-r))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "rectMode()"
+ :category "Shape"
+ :subcategory "Attributes"
+ :added "1.0"}
+ rect-mode
+ "Modifies the location from which rectangles draw. The default mode
+ is :corner. Available modes are:
+
+
+ :corner - Specifies the location to be the upper left corner of the
+ shape and uses the third and fourth parameters of rect to
+ specify the width and height.
+
+ :corners - Uses the first and second parameters of rect to set the
+ location of one corner and uses the third and fourth
+ parameters to set the opposite corner.
+
+ :center - Draws the image from its center point and uses the third
+ and forth parameters of rect to specify the image's width
+ and height.
+
+ :radius - Draws the image from its center point and uses the third
+ and forth parameters of rect() to specify half of the
+ image's width and height."
+
+ [mode]
+ (let [mode (u/resolve-constant-key mode rect-modes)]
+ (.rectMode (current-graphics) (int mode))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "red()"
+ :category "Color"
+ :subcategory "Creating & Reading"
+ :added "1.0"}
+ red
+ "Extracts the red value from a color, scaled to match current color-mode."
+ [c]
+ (.red (current-graphics) (unchecked-int c)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "redraw()"
+ :category "Structure"
+ :subcategory nil
+ :added "1.0"}
+ redraw
+ "Executes the code within the draw fn one time. This functions
+ allows the program to update the display window only when necessary,
+ for example when an event registered by mouse-pressed or
+ key-pressed occurs.
+
+ In structuring a program, it only makes sense to call redraw
+ within events such as mouse-pressed. This is because redraw does
+ not run draw immediately (it only sets a flag that indicates an
+ update is needed).
+
+ Calling redraw within draw has no effect because draw is
+ continuously called anyway."
+ []
+ (.redraw (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "requestImage()"
+ :category "Image"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ request-image
+ "This function load images on a separate thread so that your sketch
+ does not freeze while images load during setup. While the image is
+ loading, its width and height will be 0. If an error occurs while
+ loading the image, its width and height will be set to -1. You'll
+ know when the image has loaded properly because its width and height
+ will be greater than 0. Asynchronous image loading (particularly
+ when downloading from a server) can dramatically improve
+ performance."
+ [filename] (.requestImage (ap/current-applet) (str filename)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "resetMatrix()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ reset-matrix
+ "Replaces the current matrix with the identity matrix. The
+ equivalent function in OpenGL is glLoadIdentity()"
+ []
+ (.resetMatrix (current-graphics)))
+
+#?(:clj
+ (def ^{:private true}
+ shader-modes {:points PApplet/POINTS
+ :lines PApplet/LINES
+ :triangles PApplet/TRIANGLES}))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name "resetShader()"
+ :category "Rendering"
+ :subcategory "Shaders"
+ :added "2.0"}
+ reset-shader
+ "Restores the default shaders. Code that runs after (reset-shader) will
+ not be affected by previously defined shaders. Optional 'kind' parameter -
+ type of shader, either :points, :lines, or :triangles"
+ ([] (.resetShader (current-graphics)))
+ ([kind]
+ (let [mode (u/resolve-constant-key kind shader-modes)]
+ (.resetShader (current-graphics) mode)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "resize()"
+ :category "Image"
+ :processing-link "http://processing.org/reference/PImage_resize_.html"
+ :added "2.1.0"}
+ resize
+ "Resize the image to a new width and height.
+ To make the image scale proportionally, use 0 as the value for the wide or
+ high parameter. For instance, to make the width of an image 150 pixels,
+ and change the height using the same proportion, use resize(150, 0).
+
+ Even though a PGraphics is technically a PImage, it is not possible
+ to rescale the image data found in a PGraphics.
+ (It's simply not possible to do this consistently across renderers:
+ technically infeasible with P3D, or what would it even do with PDF?)
+ If you want to resize PGraphics content, first get a copy of its image data
+ using the get() method, and call resize() on the PImage that is returned."
+ [^PImage img w h]
+ (.resize img w h))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "rotate()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ rotate
+ "Rotates a shape the amount specified by the angle parameter. Angles
+ should be specified in radians (values from 0 to TWO-PI) or
+ converted to radians with the radians function.
+
+ Objects are always rotated around their relative position to the
+ origin and positive numbers rotate objects in a clockwise
+ direction. Transformations apply to everything that happens after
+ and subsequent calls to the function accumulates the effect. For
+ example, calling (rotate HALF-PI) and then (rotate HALF-PI) is the
+ same as (rotate PI). All tranformations are reset when draw begins
+ again.
+
+ Technically, rotate multiplies the current transformation matrix by
+ a rotation matrix. This function can be further controlled by the
+ push-matrix and pop-matrix."
+ ([angle] (.rotate (current-graphics) (float angle)))
+ ([angle vx vy vz] (.rotate (current-graphics) (float angle)
+ (float vx) (float vy) (float vz))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "rotateX()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ rotate-x
+ "Rotates a shape around the x-axis the amount specified by the angle
+ parameter. Angles should be specified in radians (values from 0 to
+ (* PI 2)) or converted to radians with the radians function. Objects
+ are always rotated around their relative position to the origin and
+ positive numbers rotate objects in a counterclockwise
+ direction. Transformations apply to everything that happens after
+ and subsequent calls to the function accumulates the effect. For
+ example, calling (rotate-x HALF-PI) and then (rotate-x HALF-PI) is
+ the same as (rotate-x PI). If rotate-x is called within the draw fn,
+ the transformation is reset when the loop begins again. This
+ function requires either the :p3d or :opengl renderer."
+ [angle]
+ (.rotateX (current-graphics) (float angle)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "rotateY()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ rotate-y
+ "Rotates a shape around the y-axis the amount specified by the angle
+ parameter. Angles should be specified in radians (values from 0
+ to (* PI 2)) or converted to radians with the radians function.
+ Objects are always rotated around their relative position to the
+ origin and positive numbers rotate objects in a counterclockwise
+ direction. Transformations apply to everything that happens after
+ and subsequent calls to the function accumulates the effect. For
+ example, calling (rotate-y HALF-PI) and then (rotate-y HALF-PI) is
+ the same as (rotate-y PI). If rotate-y is called within the draw fn,
+ the transformation is reset when the loop begins again. This
+ function requires either the :p3d or :opengl renderer."
+ [angle]
+ (.rotateY (current-graphics) (float angle)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "rotateZ()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ rotate-z
+ "Rotates a shape around the z-axis the amount specified by the angle
+ parameter. Angles should be specified in radians (values from 0
+ to (* PI 2)) or converted to radians with the radians function.
+ Objects are always rotated around their relative position to the
+ origin and positive numbers rotate objects in a counterclockwise
+ direction. Transformations apply to everything that happens after
+ and subsequent calls to the function accumulates the effect. For
+ example, calling (rotate-z HALF-PI) and then (rotate-z HALF-PI) is
+ the same as (rotate-z PI). If rotate-y is called within the draw fn,
+ the transformation is reset when the loop begins again. This
+ function requires either the :p3d or :opengl renderer."
+ [angle]
+ (.rotateZ (current-graphics) (float angle)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "round()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ round
+ "Calculates the integer closest to the value parameter. For example,
+ (round 9.2) returns the value 9."
+ [val]
+ #?(:clj (PApplet/round (float val))
+ :cljs (.round (ap/current-applet) val)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "saturation()"
+ :category "Color"
+ :subcategory "Creating & Reading"
+ :added "1.0"}
+ saturation
+ "Extracts the saturation value from a color."
+ [c]
+ (.saturation (current-graphics) (unchecked-int c)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "save()"
+ :category "Output"
+ :subcategory "Image"
+ :added "1.0"}
+ save
+ "Saves an image from the display window. Images are saved in TIFF,
+ TARGA, JPEG, and PNG format depending on the extension within the
+ filename parameter. For example, image.tif will have a TIFF image
+ and image.png will save a PNG image. If no extension is included in
+ the filename, the image will save in TIFF format and .tif will be
+ added to the name. All images saved from the main drawing window
+ will be opaque. To save images without a background, use
+ create-graphics."
+ [filename]
+ (.save (current-graphics) (str filename)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "saveFrame()"
+ :category "Output"
+ :subcategory "Image"
+ :added "1.0"}
+ save-frame
+ "Saves an image identical to the current display window as a
+ file. May be called multple times - each file saved will have a
+ unique name. Name and image formate may be modified by passing a
+ string parameter of the form \"foo-####.ext\" where foo- can be any
+ arbitrary string, #### will be replaced with the current frame id
+ and .ext is one of .tiff, .targa, .png, .jpeg or .jpg
+
+ Examples:
+ (save-frame)
+ (save-frame \"pretty-pic-####.jpg\")"
+ ([] (.saveFrame (ap/current-applet)))
+ ([name] (.saveFrame (ap/current-applet) (str name))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "scale()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ scale
+ "Increases or decreases the size of a shape by expanding and
+ contracting vertices. Objects always scale from their relative
+ origin to the coordinate system. Scale values are specified as
+ decimal percentages. For example, the function call (scale 2)
+ increases the dimension of a shape by 200%. Transformations apply to
+ everything that happens after and subsequent calls to the function
+ multiply the effect. For example, calling (scale 2) and then
+ (scale 1.5) is the same as (scale 3). If scale is called within
+ draw, the transformation is reset when the loop begins again. Using
+ this fuction with the z parameter requires specfying :p3d or :opengl
+ as the renderer. This function can be further controlled by
+ push-matrix and pop-matrix."
+ ([s] (.scale (current-graphics) (float s)))
+ ([sx sy] (.scale (current-graphics) (float sx) (float sy)))
+ ([sx sy sz] (.scale (current-graphics) (float sx) (float sy) (float sz))))
+
+#?(:clj
+ (defn- ^java.awt.Dimension current-screen
+ []
+ (let [default-toolkit (java.awt.Toolkit/getDefaultToolkit)]
+ (.getScreenSize default-toolkit))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings false
+ :processing-name nil
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ screen-width
+ "Returns the width of the main screen in pixels."
+ []
+ (.width (current-screen))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings false
+ :processing-name nil
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ screen-height
+ "Returns the height of the main screen in pixels."
+ []
+ (.height (current-screen))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "screenX()"
+ :category "Lights, Camera"
+ :subcategory "Coordinates"
+ :added "1.0"}
+ screen-x
+ "Takes a three-dimensional x, y, z position and returns the x value
+ for where it will appear on a (two-dimensional) screen, once
+ affected by translate, scale or any other transformations"
+ ([x y] (.screenX (current-graphics) (float x) (float y)))
+ ([x y z] (.screenX (current-graphics) (float x) (float y) (float z))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "screenY()"
+ :category "Lights, Camera"
+ :subcategory "Coordinates"
+ :added "1.0"}
+ screen-y
+ "Takes a three-dimensional x, y, z position and returns the y value
+ for where it will appear on a (two-dimensional) screen, once
+ affected by translate, scale or any other transformations"
+ ([x y] (.screenY (current-graphics) (float x) (float y)))
+ ([x y z] (.screenY (current-graphics) (float x) (float y) (float z))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "screenZ()"
+ :category "Lights, Camera"
+ :subcategory "Coordinates"
+ :added "1.0"}
+ screen-z
+ "Given an x, y, z coordinate, returns its z value.
+ This value can be used to determine if an x, y, z coordinate is in
+ front or in back of another (x, y, z) coordinate. The units are
+ based on how the zbuffer is set up, and don't relate to anything
+ 'real'. They're only useful for in comparison to another value
+ obtained from screen-z, or directly out of the zbuffer"
+ [x y z]
+ (.screenZ (current-graphics) (float x) (float y) (float z)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "second()"
+ :category "Input"
+ :subcategory "Time & Date"
+ :added "1.0"}
+ seconds
+ "Returns the current second as a value from 0 - 59."
+ []
+ #?(:clj (PApplet/second)
+ :cljs (.second (ap/current-applet))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "set()"
+ :category "Image"
+ :subcategory "Pixels"
+ :added "1.0"}
+ set-pixel
+ "Changes the color of any pixel in the display window. The x and y
+ parameters specify the pixel to change and the color parameter
+ specifies the color value. The color parameter is affected by the
+ current color mode (the default is RGB values from 0 to 255).
+
+ Setting the color of a single pixel with (set x, y) is easy, but not
+ as fast as putting the data directly into pixels[].
+
+ This function ignores imageMode().
+
+ Due to what appears to be a bug in Apple's Java implementation, the
+ point() and set() methods are extremely slow in some circumstances
+ when used with the default renderer. Using :p2d or :p3d will fix the
+ problem. Grouping many calls to point or set-pixel together can also
+ help. (Bug 1094)"
+ ([x y c] (set-pixel (current-graphics) x y c))
+ ([^PImage img x y c]
+ (.set img (int x) (int y) (int c))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "set()"
+ :category "Image"
+ :subcategory "Pixels"
+ :added "1.0"}
+ set-image
+ "Writes an image directly into the display window. The x and y
+ parameters define the coordinates for the upper-left corner of the
+ image."
+ [x y ^PImage src]
+ (.set (current-graphics) (int x) (int y) src))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name "shader()"
+ :category "Rendering"
+ :subcategory "Shaders"
+ :added "2.0"}
+ shader
+ "Applies the shader specified by the parameters. It's compatible with the :p2d
+ and :p3drenderers, but not with the default :java2d renderer. Optional 'kind'
+ parameter - type of shader, either :points, :lines, or :triangles"
+ ([shader] (.shader (current-graphics) shader))
+ ([shader kind]
+ (let [mode (u/resolve-constant-key kind shader-modes)]
+ (.shader (current-graphics) shader mode)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "shape()"
+ :category "Shape"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ shape
+ "Displays shapes to the screen. The shapes must have been loaded
+ with load-shape. Processing currently works with SVG shapes
+ only. The sh parameter specifies the shape to display and the x and
+ y parameters define the location of the shape from its upper-left
+ corner. The shape is displayed at its original size unless the width
+ and height parameters specify a different size. The shape-mode
+ fn changes the way the parameters work. A call to
+ (shape-mode :corners), for example, will change the width and height
+ parameters to define the x and y values of the opposite corner of
+ the shape.
+
+ Note complex shapes may draw awkwardly with the renderers :p2d, :p3d, and
+ :opengl. Those renderers do not yet support shapes that have holes
+ or complicated breaks."
+ ([^PShape sh] (.shape (current-graphics) sh))
+ ([^PShape sh x y] (.shape (current-graphics) sh (float x) (float y)))
+ ([^PShape sh x y width height] (.shape (current-graphics) sh (float x) (float y) (float width) (float height))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "shearX()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ shear-x
+ "Shears a shape around the x-axis the amount specified by the angle
+ parameter. Angles should be specified in radians (values from 0 to
+ PI*2) or converted to radians with the radians() function. Objects
+ are always sheared around their relative position to the origin and
+ positive numbers shear objects in a clockwise direction.
+ Transformations apply to everything that happens after and
+ subsequent calls to the function accumulates the effect. For
+ example, calling (shear-x (/ PI 2)) and then (shear-x (/ PI 2)) is
+ the same as (shear-x PI). If shear-x is called within the draw fn,
+ the transformation is reset when the loop begins again. This
+ function works in P2D or JAVA2D mode.
+
+ Technically, shear-x multiplies the current transformation matrix
+ by a rotation matrix. This function can be further controlled by the
+ push-matrix and pop-matrix fns."
+ [angle]
+ (.shearX (current-graphics) (float angle)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "shearY()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ shear-y
+ "Shears a shape around the y-axis the amount specified by the angle
+ parameter. Angles should be specified in radians (values from 0 to
+ PI*2) or converted to radians with the radians() function. Objects
+ are always sheared around their relative position to the origin and
+ positive numbers shear objects in a clockwise direction.
+ Transformations apply to everything that happens after and
+ subsequent calls to the function accumulates the effect. For
+ example, calling (shear-y (/ PI 2)) and then (shear-y (/ PI 2)) is
+ the same as (shear-y PI). If shear-y is called within the draw fn,
+ the transformation is reset when the loop begins again. This
+ function works in P2D or JAVA2D mode.
+
+ Technically, shear-y multiplies the current transformation matrix
+ by a rotation matrix. This function can be further controlled by the
+ push-matrix and pop-matrix fns."
+ [angle]
+ (.shearY (current-graphics) (float angle)))
+
+(defn ^{:requires-bindings true
+ :processing-name "shapeMode()"
+ :category "Shape"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ shape-mode
+ "Modifies the location from which shapes draw. Available modes are
+ :corner, :corners and :center. Default is :corner.
+
+ :corner - specifies the location to be the upper left corner of the
+ shape and uses the third and fourth parameters of shape
+ to specify the width and height.
+
+ :corners - uses the first and second parameters of shape to set
+ the location of one corner and uses the third and fourth
+ parameters to set the opposite corner.
+
+ :center - draws the shape from its center point and uses the third
+ and forth parameters of shape to specify the width and
+ height. "
+ [mode]
+ (let [mode (u/resolve-constant-key mode p-shape-modes)]
+ (.shapeMode (current-graphics) (int mode))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "shininess()"
+ :category "Lights, Camera"
+ :subcategory "Material Properties"
+ :added "1.0"}
+ shininess
+ "Sets the amount of gloss in the surface of shapes. Used in
+ combination with ambient, specular, and emissive in setting
+ the material properties of shapes."
+ [shine]
+ (.shininess (current-graphics) (float shine)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "sin()"
+ :category "Math"
+ :subcategory "Trigonometry"
+ :added "1.0"}
+ sin
+ "Calculates the sine of an angle. This function expects the values
+ of the angle parameter to be provided in radians (values from 0 to
+ 6.28). A float within the range -1 to 1 is returned."
+ [angle]
+ #?(:clj (PApplet/sin (float angle))
+ :cljs (.sin (ap/current-applet) angle)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "smooth()"
+ :category "Shape"
+ :subcategory "Attributes"
+ :added "1.0"}
+ smooth
+ "Draws all geometry with smooth (anti-aliased) edges. This will slow
+ down the frame rate of the application, but will enhance the visual
+ refinement.
+
+ Must be called inside :settings handler.
+
+ The level parameter (int) increases the level of smoothness with the
+ P2D and P3D renderers. This is the level of over sampling applied to
+ the graphics buffer. The value '2' will double the rendering size
+ before scaling it down to the display size. This is called '2x
+ anti-aliasing.' The value 4 is used for 4x anti-aliasing and 8 is
+ specified for 8x anti-aliasing. If level is set to 0, it will disable
+ all smoothing; it's the equivalent of the function noSmooth().
+ The maximum anti-aliasing level is determined by the hardware of the
+ machine that is running the software.
+
+ Note that smooth will also improve image quality of resized images."
+ ([] (.smooth #?(:clj (ap/current-applet)
+ :cljs (current-graphics))))
+ ([level] (.smooth #?(:clj (ap/current-applet)
+ :cljs (current-graphics))
+ (int level))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "specular()"
+ :category "Lights, Camera"
+ :subcategory "Material Properties"
+ :added "1.0"}
+ specular
+ "Sets the specular color of the materials used for shapes drawn to
+ the screen, which sets the color of hightlights. Specular refers to
+ light which bounces off a surface in a perferred direction (rather
+ than bouncing in all directions like a diffuse light). Used in
+ combination with emissive, ambient, and shininess in setting
+ the material properties of shapes."
+ ([gray] (.specular (current-graphics) (float gray)))
+ ([x y z] (.specular (current-graphics) (float x) (float y) (float z))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "sphere()"
+ :category "Shape"
+ :subcategory "3D Primitives"
+ :added "1.0"}
+ sphere
+ "Generates a hollow ball made from tessellated triangles."
+ [radius] (.sphere (current-graphics) (float radius)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "sphereDetail()"
+ :category "Shape"
+ :subcategory "3D Primitives"
+ :added "1.0"}
+ sphere-detail
+ "Controls the detail used to render a sphere by adjusting the number
+ of vertices of the sphere mesh. The default resolution is 30, which
+ creates a fairly detailed sphere definition with vertices every
+ 360/30 = 12 degrees. If you're going to render a great number of
+ spheres per frame, it is advised to reduce the level of detail using
+ this function. The setting stays active until sphere-detail is
+ called again with a new parameter and so should not be called prior
+ to every sphere statement, unless you wish to render spheres with
+ different settings, e.g. using less detail for smaller spheres or
+ ones further away from the camera. To controla the detail of the
+ horizontal and vertical resolution independently, use the version of
+ the functions with two parameters."
+ ([res] (.sphereDetail (current-graphics) (int res)))
+ ([ures vres] (.sphereDetail (current-graphics) (int ures) (int vres))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "spotLight()"
+ :category "Lights, Camera"
+ :subcategory "Lights"
+ :added "1.0"}
+ spot-light
+ "Adds a spot light. Lights need to be included in the draw to
+ remain persistent in a looping program. Placing them in the setup
+ of a looping program will cause them to only have an effect the
+ first time through the loop. The affect of the r, g, and b
+ parameters is determined by the current color mode. The x, y, and z
+ parameters specify the position of the light and nx, ny, nz specify
+ the direction or light. The angle parameter affects angle of the
+ spotlight cone."
+ ([r g b x y z nx ny nz angle concentration]
+ (.spotLight (current-graphics) r g b x y z nx ny nz angle concentration))
+ ([[r g b] [x y z] [nx ny nz] angle concentration]
+ (.spotLight (current-graphics) r g b x y z nx ny nz angle concentration)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "sq()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ sq
+ "Squares a number (multiplies a number by itself). The result is
+ always a positive number, as multiplying two negative numbers always
+ yields a positive result. For example, -1 * -1 = 1."
+ [a]
+ #?(:clj (PApplet/sq (float a))
+ :cljs (.sq (ap/current-applet) a)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "sqrt()"
+ :category "Math"
+ :subcategory "Calculation"
+ :added "1.0"}
+ sqrt
+ "Calculates the square root of a number. The square root of a number
+ is always positive, even though there may be a valid negative
+ root. The square root s of number a is such that (= a (* s s)) . It
+ is the opposite of squaring."
+ [a]
+ #?(:clj (PApplet/sqrt (float a))
+ :cljs (.sqrt (ap/current-applet) a)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "loop()"
+ :category "Structure"
+ :subcategory nil
+ :added "1.0"}
+ start-loop
+ "Causes Processing to continuously execute the code within
+ draw. If no-loop is called, the code in draw stops executing."
+ []
+ (.loop (ap/current-applet)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "stroke()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ stroke-float
+ "Sets the color used to draw lines and borders around
+ shapes. Converts all args to floats"
+ ([gray] (.stroke (current-graphics) (float gray)))
+ ([gray alpha] (.stroke (current-graphics) (float gray) (float alpha)))
+ ([x y z] (.stroke (current-graphics) (float x) (float y) (float z)))
+ ([x y z a] (.stroke (current-graphics) (float x) (float y) (float z) (float a))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "stroke()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ stroke-int
+ "Sets the color used to draw lines and borders around
+ shapes. Converts rgb to int and alpha to a float."
+ ([rgb] (.stroke (current-graphics) (unchecked-int rgb)))
+ ([rgb alpha] (.stroke (current-graphics) (unchecked-int rgb) (float alpha))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "stroke()"
+ :category "Color"
+ :subcategory "Setting"
+ :added "1.0"}
+ stroke
+ "Sets the color used to draw lines and borders around shapes. This
+ color is either specified in terms of the RGB or HSB color depending
+ on the current color-mode (the default color space is RGB, with
+ each value in the range from 0 to 255)."
+ ([rgb]
+ #?(:clj (if (u/int-like? rgb) (stroke-int rgb) (stroke-float rgb))
+ :cljs (stroke-float rgb)))
+
+ ([rgb alpha]
+ #?(:clj (if (u/int-like? rgb) (stroke-int rgb alpha) (stroke-float rgb alpha))
+ :cljs (stroke-float rgb alpha)))
+
+ ([x y z] (stroke-float x y z))
+ ([x y z a] (stroke-float x y z a)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "strokeCap()"
+ :category "Shape"
+ :subcategory "Attributes"
+ :added "1.0"}
+ stroke-cap
+ "Sets the style for rendering line endings. These ends are either
+ squared, extended, or rounded and specified with the corresponding
+ parameters :square, :project, and :round. The default cap is :round."
+ [cap-mode]
+ (let [cap-mode (u/resolve-constant-key cap-mode stroke-cap-modes)]
+ (.strokeCap (current-graphics)
+ #?(:clj (int cap-mode)
+ :cljs (str cap-mode)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "strokeJoin()"
+ :category "Shape"
+ :subcategory "Attributes"
+ :added "1.0"}
+ stroke-join
+ "Sets the style of the joints which connect line
+ segments. These joints are either mitered, beveled, or rounded and
+ specified with the corresponding parameters :miter, :bevel, and
+ :round. The default joint is :miter.
+
+ This function is not available with the :p2d, :p3d, or :opengl
+ renderers."
+ [join-mode]
+ (let [join-mode (u/resolve-constant-key join-mode stroke-join-modes)]
+ (.strokeJoin (current-graphics)
+ #?(:clj (int join-mode)
+ :cljs (str join-mode)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "strokeWeight()"
+ :category "Shape"
+ :subcategory "Attributes"
+ :added "1.0"}
+ stroke-weight
+ "Sets the width of the stroke used for lines, points, and the border
+ around shapes. All widths are set in units of pixels. "
+ [weight]
+ (.strokeWeight (current-graphics) (float weight)))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "tan()"
+ :category "Math"
+ :subcategory "Trigonometry"
+ :added "1.0"}
+ tan
+ "Calculates the ratio of the sine and cosine of an angle. This
+ function expects the values of the angle parameter to be provided in
+ radians (values from 0 to PI*2). Values are returned in the range
+ infinity to -infinity."
+ [angle]
+ #?(:clj (PApplet/tan (float angle))
+ :cljs (.tan (ap/current-applet) angle)))
+
+(defn
+ ^{:requires-bindings true
+ :category "Environment"
+ :subcategory nil
+ :added "1.5.0"}
+ target-frame-rate
+ "Returns the target framerate specified with the fn frame-rate"
+ []
+ #?(:clj @(ap/target-frame-rate)
+ :cljs @(.-target-frame-rate (ap/current-applet))))
+
+(defn- no-fill?
+ "Returns whether fill is disabled for current graphics."
+ [^PGraphics graphics]
+ #?(:clj (not (.-fill graphics))
+ :cljs (true? (aget graphics no-fill-prop))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "text()"
+ :category "Typography"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ text-char
+ "Draws a char to the screen in the specified position. See text fn
+ for more details."
+ ([c x y]
+ (when-not (no-fill? (current-graphics))
+ (.text (current-graphics) (char c) (float x) (float y))))
+ ([c x y z]
+ (when-not (no-fill? (current-graphics))
+ (.text (current-graphics) (char c) (float x) (float y) (float z)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "text()"
+ :category "Typography"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ text-num
+ "Draws a number to the screen in the specified position. See text fn
+ for more details."
+ ([num x y]
+ (when-not (no-fill? (current-graphics))
+ (.text (current-graphics) (float num) (float x) (float y))))
+ ([num x y z]
+ (when-not (no-fill? (current-graphics))
+ (.text (current-graphics) (float num) (float x) (float y) (float z)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "text()"
+ :category "Typography"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ text
+ "Draws text to the screen in the position specified by the x and y
+ parameters and the optional z parameter. A default font will be used
+ unless a font is set with the text-font fn. Change the color of the
+ text with the fill fn. The text displays in relation to the
+ text-align fn, which gives the option to draw to the left, right, and
+ center of the coordinates.
+
+ The x1, y1, x2 and y2 parameters define a
+ rectangular area to display within and may only be used with string
+ data. For text drawn inside a rectangle, the coordinates are
+ interpreted based on the current rect-mode setting."
+ ([^String s x y]
+ (when-not (no-fill? (current-graphics))
+ (.text (current-graphics) s (float x) (float y))))
+ ([^String s x y z]
+ (when-not (no-fill? (current-graphics))
+ (.text (current-graphics) s (float x) (float y) (float z))))
+ ([^String s x1 y1 x2 y2]
+ (when-not (no-fill? (current-graphics))
+ (.text (current-graphics) s (float x1) (float y1) (float x2) (float y2)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "textAlign()"
+ :category "Typography"
+ :subcategory "Attributes"
+ :added "1.0"}
+ text-align
+ "Sets the current alignment for drawing text. Available modes are:
+
+ horizontal - :left, :center, and :right
+ vertical - :top, :bottom, :center, and :baseline
+
+ An optional second parameter specifies the vertical alignment
+ mode. :baseline is the default. The :top and :center parameters are
+ straightforward. The :bottom parameter offsets the line based on the
+ current text-descent. For multiple lines, the final line will be
+ aligned to the bottom, with the previous lines appearing above it.
+
+ When using text with width and height parameters, :baseline is
+ ignored, and treated as :top. (Otherwise, text would by default draw
+ outside the box, since :baseline is the default setting. :baseline is
+ not a useful drawing mode for text drawn in a rectangle.)
+
+ The vertical alignment is based on the value of text-ascent, which
+ many fonts do not specify correctly. It may be necessary to use a
+ hack and offset by a few pixels by hand so that the offset looks
+ correct. To do this as less of a hack, use some percentage of
+ text-ascent or text-descent so that the hack works even if you
+ change the size of the font."
+ ([align]
+ (let [align (u/resolve-constant-key align horizontal-alignment-modes)]
+ (.textAlign (current-graphics) (int align))))
+ ([align-x align-y]
+ (let [align-x (u/resolve-constant-key align-x horizontal-alignment-modes)
+ align-y (u/resolve-constant-key align-y vertical-alignment-modes)]
+ (.textAlign (current-graphics) (int align-x) (int align-y)))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "textAscent()"
+ :category "Typography"
+ :subcategory "Metrics"
+ :added "1.0"}
+ text-ascent
+ "Returns the ascent of the current font at its current size. This
+ information is useful for determining the height of the font above
+ the baseline. For example, adding the text-ascent and text-descent
+ values will give you the total height of the line."
+ []
+ (.textAscent (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "textDescent()"
+ :category "Typography"
+ :subcategory "Metrics"
+ :added "1.0"}
+ text-descent
+ "Returns descent of the current font at its current size. This
+ information is useful for determining the height of the font below
+ the baseline. For example, adding the text-ascent and text-descent
+ values will give you the total height of the line."
+ []
+ (.textDescent (current-graphics)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "textFont()"
+ :category "Typography"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ text-font
+ "Sets the current font that will be drawn with the text
+ function. Fonts must be loaded with load-font before it can be
+ used. This font will be used in all subsequent calls to the text
+ function. If no size parameter is input, the font will appear at its
+ original size until it is changed with text-size.
+
+ Because fonts are usually bitmaped, you should create fonts at the
+ sizes that will be used most commonly. Using textFont without the
+ size parameter will result in the cleanest-looking text.
+
+ With the default (JAVA2D) and PDF renderers, it's also possible to
+ enable the use of native fonts via the command
+ (hint :enable-native-fonts). This will produce vector text in JAVA2D
+ sketches and PDF output in cases where the vector data is available:
+ when the font is still installed, or the font is created via the
+ create-font fn"
+ ([^PFont font] (.textFont (current-graphics) font))
+ ([^PFont font size] (.textFont (current-graphics) font (int size))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "textLeading()"
+ :category "Typography"
+ :subcategory "Attributes"
+ :added "1.0"}
+ text-leading
+ "Sets the spacing between lines of text in units of pixels. This
+ setting will be used in all subsequent calls to the text function."
+ [leading]
+ (.textLeading (current-graphics) (float leading)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "textMode()"
+ :category "Typography"
+ :subcategory "Attributes"
+ :added "1.0"}
+ text-mode
+ "Sets the way text draws to the screen - available modes
+ are :model and :shape
+
+ In the default configuration (the :model mode), it's possible to
+ rotate, scale, and place letters in two and three dimensional space.
+
+ The :shape mode draws text using the glyph outlines of individual
+ characters rather than as textures. This mode is only supported with
+ the PDF and OPENGL renderer settings. With the PDF renderer, you
+ must specify the :shape text-mode before any other drawing occurs.
+ If the outlines are not available, then :shape will be ignored and
+ :model will be used instead.
+
+ The :shape option in OPENGL mode can be combined with begin-raw to
+ write vector-accurate text to 2D and 3D output files, for instance
+ DXF or PDF. :shape is not currently optimized for OPENGL, so if
+ recording shape data, use :model until you're ready to capture the
+ geometry with begin-raw."
+ [mode]
+ (let [mode (u/resolve-constant-key mode text-modes)]
+ (.textMode (current-graphics) (int mode))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "textSize()"
+ :category "Typography"
+ :subcategory "Attributes"
+ :added "1.0"}
+ text-size
+ "Sets the current font size. This size will be used in all
+ subsequent calls to the text fn. Font size is measured in
+ units of pixels."
+ [size]
+ (.textSize (current-graphics) (float size)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "texture()"
+ :category "Shape"
+ :subcategory "Vertex"
+ :added "1.0"}
+ texture
+ "Sets a texture to be applied to vertex points. The texture fn must
+ be called between begin-shape and end-shape and before any calls to
+ vertex.
+
+ When textures are in use, the fill color is ignored. Instead, use
+ tint to specify the color of the texture as it is applied to the
+ shape."
+ #?(:clj [^PImage img]
+ :cljs [img])
+ (.texture (current-graphics) img))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "textureMode()"
+ :category "Shape"
+ :subcategory "Vertex"
+ :added "1.0"}
+ texture-mode
+ "Sets the coordinate space for texture mapping. There are two
+ options, :image and :normal.
+
+ :image refers to the actual coordinates of the image and :normal
+ refers to a normalized space of values ranging from 0 to 1. The
+ default mode is :image. In :image, if an image is 100 x 200 pixels,
+ mapping the image onto the entire size of a quad would require the
+ points (0,0) (0,100) (100,200) (0,200). The same mapping in
+ NORMAL_SPACE is (0,0) (0,1) (1,1) (0,1)."
+ [mode]
+ (let [mode (u/resolve-constant-key mode texture-modes)]
+ (.textureMode (current-graphics) (int mode))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings true
+ :processing-name "textureWrap()"
+ :category "Shape"
+ :subcategory "Vertex"
+ :added "2.0"}
+ texture-wrap
+ "Defines if textures repeat or draw once within a texture map. The two
+ parameters are :clamp (the default behavior) and :repeat. This function
+ only works with the :p2d and :p3d renderers."
+ [mode]
+ (let [mode (u/resolve-constant-key mode texture-wrap-modes)]
+ (.textureWrap (current-graphics) mode))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "textWidth()"
+ :category "Typography"
+ :subcategory "Attributes"
+ :added "1.0"}
+ text-width
+ "Calculates and returns the width of any text string."
+ [^String data]
+ (.textWidth (current-graphics) data))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "tint()"
+ :category "Image"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ tint-float
+ "Sets the fill value for displaying images. Images can be tinted to
+ specified colors or made transparent by setting the alpha.
+
+ To make an image transparent, but not change it's color, use white
+ as the tint color and specify an alpha value. For instance,
+ tint(255, 128) will make an image 50% transparent (unless
+ colorMode() has been used).
+
+ The value for the parameter gray must be less than or equal to the
+ current maximum value as specified by colorMode(). The default
+ maximum value is 255.
+
+ Also used to control the coloring of textures in 3D."
+ ([gray] (.tint (current-graphics) (float gray)))
+ ([gray alpha] (.tint (current-graphics) (float gray) (float alpha)))
+ ([r g b] (.tint (current-graphics) (float r)(float g) (float b)))
+ ([r g b a] (.tint (current-graphics) (float g) (float g) (float b) (float a))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "tint()"
+ :category "Image"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ tint-int
+ "Sets the fill value for displaying images. Images can be tinted to
+ specified colors or made transparent by setting the alpha.
+
+ To make an image transparent, but not change it's color, use white
+ as the tint color and specify an alpha value. For instance,
+ tint(255, 128) will make an image 50% transparent (unless
+ colorMode() has been used).
+
+ The value for the parameter gray must be less than or equal to the
+ current maximum value as specified by colorMode(). The default
+ maximum value is 255.
+
+ Also used to control the coloring of textures in 3D."
+ ([rgb] (.tint (current-graphics) (unchecked-int rgb)))
+ ([rgb alpha] (.tint (current-graphics) (unchecked-int rgb) (float alpha))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "tint()"
+ :category "Image"
+ :subcategory "Loading & Displaying"
+ :added "1.0"}
+ tint
+ "Sets the fill value for displaying images. Images can be tinted to
+ specified colors or made transparent by setting the alpha.
+
+ To make an image transparent, but not change it's color, use white
+ as the tint color and specify an alpha value. For instance,
+ tint(255, 128) will make an image 50% transparent (unless
+ colorMode() has been used).
+
+ The value for the parameter gray must be less than or equal to the
+ current maximum value as specified by colorMode(). The default
+ maximum value is 255.
+
+ Also used to control the coloring of textures in 3D."
+ #?(:clj ([rgb] (if (u/int-like? rgb) (tint-int rgb) (tint-float rgb)))
+ :cljs ([rgb] (.tint (current-graphics) rgb)))
+ #?(:clj ([rgb alpha] (if (u/int-like? rgb) (tint-int rgb alpha) (tint-float rgb alpha)))
+ :cljs ([rgb alpha] (.tint (current-graphics) rgb alpha)))
+ ([r g b] (tint-float r g b))
+ ([r g b a] (tint-float r g b a)))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "translate()"
+ :category "Transform"
+ :subcategory nil
+ :added "1.0"}
+ translate
+ "Specifies an amount to displace objects within the display
+ window. The x parameter specifies left/right translation, the y
+ parameter specifies up/down translation, and the z parameter
+ specifies translations toward/away from the screen. Transformations
+ apply to everything that happens after and subsequent calls to the
+ function accumulates the effect. For example, calling (translate 50
+ 0) and then (translate 20, 0) is the same as (translate 70, 0). If
+ translate is called within draw, the transformation is reset when
+ the loop begins again. This function can be further controlled by
+ the push-matrix and pop-matrix."
+ ([v] (apply translate v))
+ ([tx ty] (.translate (current-graphics) (float tx) (float ty)))
+ ([tx ty tz] (.translate (current-graphics) (float tx) (float ty) (float tz))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "triangle()"
+ :category "Shape"
+ :subcategory "2D Primitives"
+ :added "1.0"}
+ triangle
+ "A triangle is a plane created by connecting three points. The first
+ two arguments specify the first point, the middle two arguments
+ specify the second point, and the last two arguments specify the
+ third point."
+ [x1 y1 x2 y2 x3 y3]
+ (.triangle (current-graphics)
+ (float x1) (float y1)
+ (float x2) (float y2)
+ (float x3) (float y3)))
+
+(defn
+ ^{:require-binding false
+ :processing-name "unbinary()"
+ :category "Data"
+ :subcategory "Conversion"
+ :added "1.0"}
+ unbinary
+ "Unpack a binary string to an integer. See binary for converting
+ integers to strings."
+ [str-val]
+ #?(:clj (PApplet/unbinary (str str-val))
+ :cljs (.unbinary (ap/current-applet) (str str-val))))
+
+(defn
+ ^{:require-binding false
+ :processing-name "hex()"
+ :category "Data"
+ :subcategory "Conversion"}
+ unhex
+ "Converts a String representation of a hexadecimal number to its
+ equivalent integer value."
+ [hex-str]
+ #?(:clj (PApplet/unhex (str hex-str))
+ :cljs (.unhex (ap/current-applet) (str hex-str))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "updatePixels()"
+ :category "Image"
+ :subcategory "Pixels"
+ :added "1.0"}
+ update-pixels
+ "Updates the display window or image with the data in the pixels array.
+ Use in conjunction with (pixels). If you're only reading pixels from
+ the array, there's no need to call update-pixels unless there are
+ changes.
+
+ Certain renderers may or may not seem to require pixels or
+ update-pixels. However, the rule is that any time you want to
+ manipulate the pixels array, you must first call pixels, and
+ after changes have been made, call update-pixels. Even if the
+ renderer may not seem to use this function in the current Processing
+ release, this will always be subject to change."
+ ([] (update-pixels (current-graphics)))
+ #?(:clj
+ ([^PImage img] (.updatePixels img))
+
+ :cljs
+ ([img]
+ (when-let [pix-array (.-stored-pix-array img)]
+ (.set (.-pixels img) pix-array)
+ (set! (.-stored-pix-array img) nil))
+ (.updatePixels img))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "vertex()"
+ :category "Shape"
+ :subcategory "Vertex"
+ :added "1.0"}
+ vertex
+ "All shapes are constructed by connecting a series of
+ vertices. vertex is used to specify the vertex coordinates for
+ points, lines, triangles, quads, and polygons and is used
+ exclusively within the begin-shape and end-shape fns.
+
+ Drawing a vertex in 3D using the z parameter requires the :p3d or
+ :opengl renderers to be used.
+
+ This function is also used to map a texture onto the geometry. The
+ texture fn declares the texture to apply to the geometry and the u
+ and v coordinates set define the mapping of this texture to the
+ form. By default, the coordinates used for u and v are specified in
+ relation to the image's size in pixels, but this relation can be
+ changed with texture-mode."
+ ([x y] (.vertex (current-graphics) (float x) (float y)))
+ ([x y z] (.vertex (current-graphics) (float x) (float y) (float z)))
+ ([x y u v] (.vertex (current-graphics) (float x) (float y) (float u) (float v)))
+ ([x y z u v]
+ (.vertex (current-graphics) (float x) (float y) (float z) (float u) (float v))))
+
+(defn
+ ^{:requires-bindings false
+ :processing-name "year()"
+ :category "Input"
+ :subcategory "Time & Date"
+ :added "1.0"}
+ year
+ "Returns the current year as an integer (2003, 2004, 2005, etc)."
+ []
+ #?(:clj (PApplet/year)
+ :cljs (.year (ap/current-applet))))
+
+(defn
+ ^{:requires-bindings true
+ :processing-name "getWidth()"
+ :processing-link nil
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ width
+ "Width of the display window. The value of width is zero until size is
+ called."
+ []
+ (.-width (ap/current-applet)))
+
+(defmacro
+ ^{:requires-bindings true
+ :processing-name nil
+ :category "Color"
+ :subcategory "Utility Macros"
+ :added "1.7"}
+ with-fill
+ "Temporarily set the fill color for the body of this macro.
+ The code outside of with-fill form will have the previous fill color set.
+
+ The fill color has to be in a vector!
+ Example: (with-fill [255] ...)
+ (with-fill [10 80 98] ...)"
+ [fill-args & body]
+ `(let [old-fill# (quil.core/current-fill)]
+ (apply quil.core/fill ~fill-args)
+ ~@body
+ (quil.core/fill old-fill#)))
+
+(defmacro
+ ^{:requires-bindings true
+ :processing-name nil
+ :category "Color"
+ :subcategory "Utility Macros"
+ :added "1.7"}
+ with-stroke
+ "Temporarily set the stroke color for the body of this macro.
+ The code outside of with-stroke form will have the previous stroke color set.
+
+ The stroke color has to be in a vector!
+ Example: (with-stroke [255] ...)
+ (with-stroke [10 80 98] ...)"
+ [stroke-args & body]
+ `(let [old-stroke# (quil.core/current-stroke)]
+ (apply quil.core/stroke ~stroke-args)
+ ~@body
+ (quil.core/stroke old-stroke#)))
+
+(defmacro
+ ^{:requires-bindings true
+ :processing-name nil
+ :category "Transform"
+ :subcategory "Utility Macros"
+ :added "1.0"}
+ with-translation
+ "Performs body with translation, restores current transformation on
+ exit."
+ [translation-vector & body]
+ `(let [tr# ~translation-vector]
+ (quil.core/push-matrix)
+ (try
+ (quil.core/translate tr#)
+ ~@body
+ (finally
+ (quil.core/pop-matrix)))))
+
+(defmacro
+ ^{:requires-bindings true
+ :processing-name nil
+ :category "Transform"
+ :subcategory "Utility Macros"
+ :added "1.0"}
+ with-rotation
+ "Performs body with rotation, restores current transformation on exit.
+ Accepts a vector [angle] or [angle x-axis y-axis z-axis].
+
+ Example:
+ (with-rotation [angle]
+ (vertex 1 2))"
+ [rotation & body]
+ `(let [tr# ~rotation]
+ (quil.core/push-matrix)
+ (try
+ (apply quil.core/rotate tr#)
+ ~@body
+ (finally
+ (quil.core/pop-matrix)))))
+
+(defmacro
+ ^{:requires-bindings true
+ :processing-name nil
+ :category "Rendering"
+ :added "1.7"}
+ with-graphics
+ "All subsequent calls of any drawing function will draw on given
+ graphics. 'with-graphics' cannot be nested (you can draw simultaneously
+ only on 1 graphics)"
+ [graphics & body]
+ `(let [gr# ~graphics]
+ (binding [quil.core/*graphics* gr#]
+ (.beginDraw gr#)
+ ~@body
+ (.endDraw gr#))))
+
+(defn ^{:requires-bindings false
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ sketch
+ "Create and start a new visualisation applet. Can be used to create
+ new sketches programmatically. See documentation for 'defsketch' for
+ list of available options."
+ [& opts]
+ #?(:clj (apply ap/applet opts)
+ :cljs (apply ap/sketch opts)))
+
+(defmacro ^{:requires-bindings false
+ :category "Environment"
+ :subcategory nil
+ :added "1.0"}
+ defsketch
+ "Define and start a sketch and bind it to a var with the symbol
+ app-name. If any of the options to the various callbacks are
+ symbols, it wraps them in a call to var to ensure they aren't
+ inlined and that redefinitions to the original fns are reflected in
+ the visualisation.
+
+ Available options:
+
+ :size - A vector of width and height for the sketch or :fullscreen.
+ Defaults to [500 300]. If you're using :fullscreen you may
+ want to enable present mode - :features [:present]
+
+ :renderer - Specifies the renderer type. One of :p2d, :p3d, :java2d,
+ :opengl, :pdf). Defaults to :java2d. :dxf renderer
+ can't be used as sketch renderer. Use begin-raw method
+ instead. In clojurescript only :p2d and :p3d renderers
+ are supported.
+
+ :output-file - Specifies an output file path. Only used in :pdf mode.
+ Not supported in clojurescript.
+
+ :title - A string which will be displayed at the top of
+ the sketch window. Not supported in clojurescript.
+
+ :features - A vector of keywords customizing sketch behaviour.
+ Supported features:
+
+ :keep-on-top - Sketch window will always be above other
+ windows. Note: some platforms might not
+ support always-on-top windows.
+ Not supported in clojurescript.
+
+ :exit-on-close - Shutdown JVM when sketch is closed.
+ Not supported in clojurescript.
+
+ :resizable - Makes sketch resizable.
+ Not supported in clojurescript.
+
+ :no-safe-fns - Do not catch and print exceptions thrown
+ inside functions provided to sketch (like
+ draw, mouse-click, key-pressed and
+ other). By default all exceptions thrown
+ inside these functions are catched. This
+ prevents sketch from breaking when bad
+ function was provided and allows you to
+ fix it and reload it on fly. You can
+ disable this behaviour by enabling
+ :no-safe-fns feature.
+ Not supported in clojurescript.
+
+ :present - Switch to present mode (fullscreen without
+ borders, OS panels). You may want to use
+ this feature together with :size :fullscreen.
+ Not supported in clojurescript.
+
+ :no-start - Disables autostart if sketch was created using
+ defsketch macro. To start sketch you have to
+ call function created defsketch.
+ Supported only in clojurescript.
+
+ :global-key-events - Allows a sketch to receive any
+ keyboard event sent to the page,
+ regardless of whether the canvas it is
+ loaded in has focus or not.
+ Supported only in clojurescript.
+
+ Usage example: :features [:keep-on-top :present]
+
+ :bgcolor - Sets background color for unused space in present mode.
+ Color is specified in hex format: #XXXXXX.
+ Example: :bgcolor \"#00FFFF\" (cyan background)
+ Not supported in clojurescript.
+
+ :display - Sets what display should be used by this sketch.
+ Displays are numbered starting from 0. Example: :display 1.
+ Not supported in clojurescript.
+
+ :setup - A function to be called once when setting the sketch up.
+
+ :draw - A function to be repeatedly called at most n times per
+ second where n is the target frame-rate set for
+ the visualisation.
+
+ :host - String id of canvas element or DOM element itself.
+ Specifies host for the sketch. Must be specified in sketch,
+ may be omitted in defsketch. If ommitted in defsketch,
+ :host is set to the name of the sketch. If element with
+ specified id is not found on the page and page is empty -
+ new canvas element will be created. Used in clojurescript.
+
+ :focus-gained - Called when the sketch gains focus.
+ Not supported in clojurescript.
+
+ :focus-lost - Called when the sketch loses focus.
+ Not supported in clojurescript.
+
+ :mouse-entered - Called when the mouse enters the sketch window.
+
+ :mouse-exited - Called when the mouse leaves the sketch window
+
+ :mouse-pressed - Called every time a mouse button is pressed.
+
+ :mouse-released - Called every time a mouse button is released.
+
+ :mouse-clicked - called once after a mouse button has been pressed
+ and then released.
+
+ :mouse-moved - Called every time the mouse moves and a button is
+ not pressed.
+
+ :mouse-dragged - Called every time the mouse moves and a button is
+ pressed.
+
+ :mouse-wheel - Called every time mouse wheel is rotated.
+ Takes 1 argument - wheel rotation, an int.
+ Negative values if the mouse wheel was rotated
+ up/away from the user, and positive values
+ if the mouse wheel was rotated down/ towards the user
+
+ :key-pressed - Called every time any key is pressed.
+
+ :key-released - Called every time any key is released.
+
+ :key-typed - Called once every time non-modifier keys are
+ pressed.
+
+ :on-close - Called once, when sketch is closed
+ Not supported in clojurescript.
+
+ :middleware - Vector of middleware to be applied to the sketch.
+ Middleware will be applied in the same order as in comp
+ function: [f g] will be applied as (f (g options)).
+
+ :settings - cousin of :setup. A function to be called once when
+ setting sketch up. Should be used only for (smooth) and
+ (no-smooth). Due to Processing limitations these functions
+ cannot be used neither in :setup nor in :draw."
+ [app-name & options]
+ #?(:clj
+ (if (u/clj-compilation?)
+ `(ap/defapplet ~app-name ~@options)
+ `(quil.sketch/defsketch ~app-name ~@options))
+ :cljs
+ `(quil.sketch$macros/defsketch ~app-name ~@options)))
+
+(defn ^{:requires-bindings false
+ :processing-name nil
+ :category "Input"
+ :subcategory "Keyboard"
+ :added "1.6"}
+ key-coded?
+ "Returns true if char c is a 'coded' char i.e. it is necessary to
+ fetch the key-code as an integer and use that to determine the
+ specific key pressed. See key-keyword."
+ [c]
+ #?(:clj (= PConstants/CODED (int c))
+ ; See https://github.com/google/closure-compiler/issues/1676
+ :cljs (= 65535 (.charCodeAt (js/String c)))))
+
+(defn ^{:requires-bindings true
+ :processing-name nil
+ :category "Input"
+ :subcategory "Keyboard"
+ :added "1.6"}
+ key-as-keyword
+ "Returns a keyword representing the currently pressed key. Modifier
+ keys are represented as: :up, :down, :left, :right, :alt, :control,
+ :shift, :command, :f1-24"
+ []
+ (let [key-char (raw-key)
+ code (key-code)]
+ (if (key-coded? key-char)
+ (get KEY-CODES code :unknown-key)
+ ; Workaround for closure compiler incorrect string casts.
+ ; See https://github.com/google/closure-compiler/issues/1676
+ (keyword #?(:clj (str key-char)
+ :cljs (js/String key-char))))))
+
+#?(:clj
+ (defn
+ ^{:requires-bindings false
+ :processing-name nil
+ :category "Debugging"
+ :added "1.6"}
+ debug
+ "Prints msg and then sleeps the current thread for delay-ms. Useful
+ for debugging live running sketches. delay-ms defaults to 300. "
+ ([msg] (debug msg 300))
+ ([msg delay-ms]
+ (println msg)
+ (Thread/sleep delay-ms))))
+
+;;; doc utils
+
+#?(:clj
+ (def ^{:private true}
+ fn-metas
+ "Returns a seq of metadata maps for all fns related to the original
+ Processing API (but may not have a direct Processing API equivalent)."
+ (->> *ns* ns-publics vals (map meta))))
+
+#?(:clj
+ (defn show-cats
+ "Print out a list of all the categories and subcategories,
+ associated index nums and fn count (in parens)."
+ []
+ (doseq [[cat-idx cat] (docs/sorted-category-map fn-metas)]
+ (println cat-idx (:name cat))
+ (doseq [[subcat-idx subcat] (:subcategories cat)]
+ (println " " subcat-idx (:name subcat))))))
+
+#?(:clj
+ (defn show-fns
+ "If given a number, print all the functions within category or
+ subcategory specified by the category index (use show-cats to see a
+ list of index nums).
+
+ If given a string or a regular expression, print all the functions
+ whose name or category name contains that string.
+
+ If a category is specified, it will not print out the fns in any of
+ cat's subcategories."
+ [q]
+ (letfn [(list-category [cid c & {:keys [only]}]
+ (let [category-fns (:fns c)
+ display-fns (if (nil? only)
+ category-fns
+ (clojure.set/intersection
+ (set only) (set category-fns)))
+ names (sort (map str display-fns))]
+ (when-not (empty? names))
+ (println cid (:name c))
+ (docs/pprint-wrapped-lines names :fromcolumn 4)))
+ (show-fns-by-cat-idx [cat-idx]
+ (let [c (get (docs/all-category-map fn-metas) (str cat-idx))]
+ (list-category cat-idx c)))
+ (show-fns-by-name-regex [re]
+ (doseq [[cid c] (sort-by key (docs/all-category-map fn-metas))]
+ (let [in-cat-name? (re-find re (:name c))
+ matching-fns (filter #(re-find re (str %)) (:fns c))
+ in-fn-names? (not (empty? matching-fns))]
+ (cond
+ in-cat-name? (list-category cid c) ;; print an entire category
+ in-fn-names? (list-category cid c :only matching-fns)))))]
+ (cond
+ (string? q) (show-fns-by-name-regex (re-pattern (str "(?i)" q)))
+ (isa? (type q) java.util.regex.Pattern) (show-fns-by-name-regex q)
+ :else (show-fns-by-cat-idx q)))))
+
+#?(:clj
+ (defn show-meths
+ "Takes a string representing the start of a method name in the
+ original Processing API and prints out all matches alongside the
+ Processing-core equivalent."
+ [orig-name]
+ (let [res (docs/matching-processing-methods fn-metas orig-name)]
+ (u/print-definition-list res))))
diff --git a/assets/viz/1/quil/core.cljc.cache.edn b/assets/viz/1/quil/core.cljc.cache.edn
new file mode 100644
index 0000000..8904416
--- /dev/null
+++ b/assets/viz/1/quil/core.cljc.cache.edn
@@ -0,0 +1 @@
+{:rename-macros {}, :renames {}, :externs {Processing {prototype {PConstants {}}, getInstanceById {}}, Math {PI {}}, Error {}, PFont {list {}}, String {}, Object {charCodeAt {}}}, :use-macros {}, :excludes #{}, :name quil.core, :imports nil, :requires {clojure.string clojure.string, org.processingjs.Processing org.processingjs.Processing, ap quil.sketch, quil.sketch quil.sketch, u quil.util, quil.util quil.util}, :uses nil, :defs {rotate-x {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :processing-name "rotateX()", :column 3, :requires-bindings true, :line 3464, :end-line 3464, :arglists (quote ([angle])), :doc "Rotates a shape around the x-axis the amount specified by the angle\n parameter. Angles should be specified in radians (values from 0 to\n (* PI 2)) or converted to radians with the radians function. Objects\n are always rotated around their relative position to the origin and\n positive numbers rotate objects in a counterclockwise\n direction. Transformations apply to everything that happens after\n and subsequent calls to the function accumulates the effect. For\n example, calling (rotate-x HALF-PI) and then (rotate-x HALF-PI) is\n the same as (rotate-x PI). If rotate-x is called within the draw fn,\n the transformation is reset when the loop begins again. This\n function requires either the :p3d or :opengl renderer."}, :added "1.0", :name quil.core/rotate-x, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 11, :processing-name "rotateX()", :method-params ([angle]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3458, :end-line 3464, :max-fixed-arity 1, :fn-var true, :arglists (quote ([angle])), :doc "Rotates a shape around the x-axis the amount specified by the angle\n parameter. Angles should be specified in radians (values from 0 to\n (* PI 2)) or converted to radians with the radians function. Objects\n are always rotated around their relative position to the origin and\n positive numbers rotate objects in a counterclockwise\n direction. Transformations apply to everything that happens after\n and subsequent calls to the function accumulates the effect. For\n example, calling (rotate-x HALF-PI) and then (rotate-x HALF-PI) is\n the same as (rotate-x PI). If rotate-x is called within the draw fn,\n the transformation is reset when the loop begins again. This\n function requires either the :p3d or :opengl renderer."}, text-modes {:name quil.core/text-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 68, :end-column 12, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 68, :column 2, :end-line 68, :end-column 12}, :tag cljs.core/IMap}, print-projection {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Camera", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 19, :processing-name "printProjection()", :column 3, :requires-bindings true, :line 3098, :end-line 3098, :arglists (quote ([])), :doc "Prints the current projection matrix to std out. Useful for\n debugging"}, :added "1.0", :name quil.core/print-projection, :variadic false, :subcategory "Camera", :file "out/quil/core.cljc", :end-column 19, :processing-name "printProjection()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3092, :end-line 3098, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Prints the current projection matrix to std out. Useful for\n debugging"}, raw-key {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Keyboard", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "key", :column 3, :requires-bindings true, :line 3257, :end-line 3257, :arglists (quote ([])), :doc "Contains the value of the most recent key on the keyboard that was\n used (either pressed or released).\n\n For non-ASCII keys, use the keyCode variable. The keys included in\n the ASCII specification (BACKSPACE, TAB, ENTER, RETURN, ESC, and\n DELETE) do not require checking to see if they key is coded, and you\n should simply use the key variable instead of keyCode If you're\n making cross-platform projects, note that the ENTER key is commonly\n used on PCs and Unix and the RETURN key is used instead on\n Macintosh. Check for both ENTER and RETURN to make sure your program\n will work for all platforms."}, :added "1.0", :name quil.core/raw-key, :variadic false, :subcategory "Keyboard", :file "out/quil/core.cljc", :end-column 10, :processing-name "key", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3251, :end-line 3257, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Contains the value of the most recent key on the keyboard that was\n used (either pressed or released).\n\n For non-ASCII keys, use the keyCode variable. The keys included in\n the ASCII specification (BACKSPACE, TAB, ENTER, RETURN, ESC, and\n DELETE) do not require checking to see if they key is coded, and you\n should simply use the key variable instead of keyCode If you're\n making cross-platform projects, note that the ENTER key is commonly\n used on PCs and Unix and the RETURN key is used instead on\n Macintosh. Check for both ENTER and RETURN to make sure your program\n will work for all platforms."}, text-char {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([c x y] [c x y z]), :arglists ([c x y] [c x y z]), :arglists-meta (nil nil)}, :processing-name "text()", :column 3, :requires-bindings true, :line 4144, :end-line 4144, :arglists (quote ([c x y] [c x y z])), :doc "Draws a char to the screen in the specified position. See text fn\n for more details."}, :added "1.0", :name quil.core/text-char, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([c x y] [c x y z]), :arglists ([c x y] [c x y z]), :arglists-meta (nil nil)}, :processing-name "text()", :method-params ([c x y] [c x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4138, :end-line 4144, :max-fixed-arity 4, :fn-var true, :arglists ([c x y] [c x y z]), :doc "Draws a char to the screen in the specified position. See text fn\n for more details."}, display-filter {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Pixels", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 17, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([mode] [mode level]), :arglists ([mode] [mode level]), :arglists-meta (nil nil)}, :processing-name "filter()", :column 3, :requires-bindings true, :line 1777, :end-line 1777, :arglists (quote ([mode] [mode level])), :doc "Originally named filter in Processing Language.\n Filters the display window with the specified mode and level.\n Level defines the quality of the filter and mode may be one of the\n following keywords:\n\n :threshold - converts the image to black and white pixels depending\n if they are above or below the threshold defined by\n the level parameter. The level must be between\n 0.0 (black) and 1.0 (white). If no level is specified,\n 0.5 is used.\n :gray - converts any colors in the image to grayscale\n equivalents. Doesn't work with level.\n :invert - sets each pixel to its inverse value. Doesn't work with\n level.\n :posterize - limits each channel of the image to the number of\n colors specified as the level parameter. The parameter can\n be set to values between 2 and 255, but results are most\n noticeable in the lower ranges.\n :blur - executes a Guassian blur with the level parameter\n specifying the extent of the blurring. If no level\n parameter is used, the blur is equivalent to Guassian\n blur of radius 1.\n :opaque - sets the alpha channel to entirely opaque. Doesn't work\n with level.\n :erode - reduces the light areas. Doesn't work with level.\n :dilate - increases the light areas. Doesn't work with level."}, :added "1.0", :name quil.core/display-filter, :variadic false, :subcategory "Pixels", :file "out/quil/core.cljc", :end-column 17, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([mode] [mode level]), :arglists ([mode] [mode level]), :arglists-meta (nil nil)}, :processing-name "filter()", :method-params ([mode] [mode level]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1771, :end-line 1777, :max-fixed-arity 2, :fn-var true, :arglists ([mode] [mode level]), :doc "Originally named filter in Processing Language.\n Filters the display window with the specified mode and level.\n Level defines the quality of the filter and mode may be one of the\n following keywords:\n\n :threshold - converts the image to black and white pixels depending\n if they are above or below the threshold defined by\n the level parameter. The level must be between\n 0.0 (black) and 1.0 (white). If no level is specified,\n 0.5 is used.\n :gray - converts any colors in the image to grayscale\n equivalents. Doesn't work with level.\n :invert - sets each pixel to its inverse value. Doesn't work with\n level.\n :posterize - limits each channel of the image to the number of\n colors specified as the level parameter. The parameter can\n be set to values between 2 and 255, but results are most\n noticeable in the lower ranges.\n :blur - executes a Guassian blur with the level parameter\n specifying the extent of the blurring. If no level\n parameter is used, the blur is equivalent to Guassian\n blur of radius 1.\n :opaque - sets the alpha channel to entirely opaque. Doesn't work\n with level.\n :erode - reduces the light areas. Doesn't work with level.\n :dilate - increases the light areas. Doesn't work with level."}, rotate-z {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :processing-name "rotateZ()", :column 3, :requires-bindings true, :line 3506, :end-line 3506, :arglists (quote ([angle])), :doc "Rotates a shape around the z-axis the amount specified by the angle\n parameter. Angles should be specified in radians (values from 0\n to (* PI 2)) or converted to radians with the radians function.\n Objects are always rotated around their relative position to the\n origin and positive numbers rotate objects in a counterclockwise\n direction. Transformations apply to everything that happens after\n and subsequent calls to the function accumulates the effect. For\n example, calling (rotate-z HALF-PI) and then (rotate-z HALF-PI) is\n the same as (rotate-z PI). If rotate-y is called within the draw fn,\n the transformation is reset when the loop begins again. This\n function requires either the :p3d or :opengl renderer."}, :added "1.0", :name quil.core/rotate-z, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 11, :processing-name "rotateZ()", :method-params ([angle]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3500, :end-line 3506, :max-fixed-arity 1, :fn-var true, :arglists (quote ([angle])), :doc "Rotates a shape around the z-axis the amount specified by the angle\n parameter. Angles should be specified in radians (values from 0\n to (* PI 2)) or converted to radians with the radians function.\n Objects are always rotated around their relative position to the\n origin and positive numbers rotate objects in a counterclockwise\n direction. Transformations apply to everything that happens after\n and subsequent calls to the function accumulates the effect. For\n example, calling (rotate-z HALF-PI) and then (rotate-z HALF-PI) is\n the same as (rotate-z PI). If rotate-y is called within the draw fn,\n the transformation is reset when the loop begins again. This\n function requires either the :p3d or :opengl renderer."}, random-gaussian {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "2.0", :subcategory "Random", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 18, :processing-name "randomGaussian()", :column 3, :requires-bindings true, :line 3226, :end-line 3226, :arglists (quote ([])), :doc "Returns a float from a random series of numbers having a mean of 0 and\n standard deviation of 1. Each time the randomGaussian() function is called,\n it returns a number fitting a Gaussian, or normal, distribution.\n There is theoretically no minimum or maximum value that randomGaussian()\n might return. Rather, there is just a very low probability that values far\n from the mean will be returned; and a higher probability that numbers near\n the mean will be returned. ."}, :added "2.0", :name quil.core/random-gaussian, :variadic false, :subcategory "Random", :file "out/quil/core.cljc", :end-column 18, :processing-name "randomGaussian()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3220, :end-line 3226, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns a float from a random series of numbers having a mean of 0 and\n standard deviation of 1. Each time the randomGaussian() function is called,\n it returns a number fitting a Gaussian, or normal, distribution.\n There is theoretically no minimum or maximum value that randomGaussian()\n might return. Rather, there is just a very low probability that values far\n from the mean will be returned; and a higher probability that numbers near\n the mean will be returned. ."}, blend {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Pixels", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 11, :method-params ([x y width height dx dy dwidth dheight mode] [src-img x y width height dx dy dwidth dheight mode] [src-img dest-img x y width height dx dy dwidth dheight mode]), :arglists ([x y width height dx dy dwidth dheight mode] [src-img x y width height dx dy dwidth dheight mode] [src-img dest-img x y width height dx dy dwidth dheight mode]), :arglists-meta (nil nil nil)}, :processing-name "blend()", :column 3, :requires-bindings true, :line 778, :end-line 778, :arglists (quote ([x y width height dx dy dwidth dheight mode] [src-img x y width height dx dy dwidth dheight mode] [src-img dest-img x y width height dx dy dwidth dheight mode])), :doc "Blends a region of pixels from one image into another with full alpha\n channel support. If src is not specified it defaults to current-graphics.\n If dest is not specified it defaults to current-graphics.\n\n Note: blend-mode function is recommended to use instead of this one.\n\n Available blend modes are:\n\n :blend - linear interpolation of colours: C = A*factor + B\n :add - additive blending with white clip:\n C = min(A*factor + B, 255)\n :subtract - subtractive blending with black clip:\n C = max(B - A*factor, 0)\n :darkest - only the darkest colour succeeds:\n C = min(A*factor, B)\n :lightest - only the lightest colour succeeds:\n C = max(A*factor, B)\n :difference - subtract colors from underlying image.\n :exclusion - similar to :difference, but less extreme.\n :multiply - Multiply the colors, result will always be darker.\n :screen - Opposite multiply, uses inverse values of the colors.\n :overlay - A mix of :multiply and :screen. Multiplies dark values\n and screens light values.\n :hard-light - :screen when greater than 50% gray, :multiply when\n lower.\n :soft-light - Mix of :darkest and :lightest. Works like :overlay,\n but not as harsh.\n :dodge - Lightens light tones and increases contrast, ignores\n darks.\n Called \"Color Dodge\" in Illustrator and Photoshop.\n :burn - Darker areas are applied, increasing contrast, ignores\n lights. Called \"Color Burn\" in Illustrator and\n Photoshop."}, :added "1.0", :name quil.core/blend, :variadic false, :subcategory "Pixels", :file "out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 11, :method-params ([x y width height dx dy dwidth dheight mode] [src-img x y width height dx dy dwidth dheight mode] [src-img dest-img x y width height dx dy dwidth dheight mode]), :arglists ([x y width height dx dy dwidth dheight mode] [src-img x y width height dx dy dwidth dheight mode] [src-img dest-img x y width height dx dy dwidth dheight mode]), :arglists-meta (nil nil nil)}, :processing-name "blend()", :method-params ([x y width height dx dy dwidth dheight mode] [src-img x y width height dx dy dwidth dheight mode] [src-img dest-img x y width height dx dy dwidth dheight mode]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 772, :end-line 778, :max-fixed-arity 11, :fn-var true, :arglists ([x y width height dx dy dwidth dheight mode] [src-img x y width height dx dy dwidth dheight mode] [src-img dest-img x y width height dx dy dwidth dheight mode]), :doc "Blends a region of pixels from one image into another with full alpha\n channel support. If src is not specified it defaults to current-graphics.\n If dest is not specified it defaults to current-graphics.\n\n Note: blend-mode function is recommended to use instead of this one.\n\n Available blend modes are:\n\n :blend - linear interpolation of colours: C = A*factor + B\n :add - additive blending with white clip:\n C = min(A*factor + B, 255)\n :subtract - subtractive blending with black clip:\n C = max(B - A*factor, 0)\n :darkest - only the darkest colour succeeds:\n C = min(A*factor, B)\n :lightest - only the lightest colour succeeds:\n C = max(A*factor, B)\n :difference - subtract colors from underlying image.\n :exclusion - similar to :difference, but less extreme.\n :multiply - Multiply the colors, result will always be darker.\n :screen - Opposite multiply, uses inverse values of the colors.\n :overlay - A mix of :multiply and :screen. Multiplies dark values\n and screens light values.\n :hard-light - :screen when greater than 50% gray, :multiply when\n lower.\n :soft-light - Mix of :darkest and :lightest. Works like :overlay,\n but not as harsh.\n :dodge - Lightens light tones and increases contrast, ignores\n darks.\n Called \"Color Dodge\" in Illustrator and Photoshop.\n :burn - Darker areas are applied, increasing contrast, ignores\n lights. Called \"Color Burn\" in Illustrator and\n Photoshop."}, frame-count {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :processing-name "frameCount", :column 3, :requires-bindings true, :line 1853, :end-line 1853, :arglists (quote ([])), :doc "The system variable frameCount contains the number of frames\n displayed since the program started. Inside setup() the value is 0\n and after the first iteration of draw it is 1, etc."}, :added "1.0", :name quil.core/frame-count, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 14, :processing-name "frameCount", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1847, :end-line 1853, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "The system variable frameCount contains the number of frames\n displayed since the program started. Inside setup() the value is 0\n and after the first iteration of draw it is 1, etc."}, with-graphics {:category "Rendering", :protocol-inline nil, :meta {:category "Rendering", :added "1.7", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env graphics body)], :arglists ([&form &env graphics & body]), :arglists-meta (nil)}, :processing-name nil, :column 3, :requires-bindings true, :line 4709, :macro true, :end-line 4709, :arglists (quote ([graphics & body])), :doc "All subsequent calls of any drawing function will draw on given\n graphics. 'with-graphics' cannot be nested (you can draw simultaneously\n only on 1 graphics)"}, :added "1.7", :name quil.core/with-graphics, :variadic true, :file "out/quil/core.cljc", :end-column 16, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env graphics body)], :arglists ([&form &env graphics & body]), :arglists-meta (nil)}, :processing-name nil, :method-params [(&form &env graphics body)], :protocol-impl nil, :arglists-meta (nil), :column 1, :requires-bindings true, :line 4704, :macro true, :end-line 4709, :max-fixed-arity 3, :fn-var false, :arglists ([&form &env graphics & body]), :doc "All subsequent calls of any drawing function will draw on given\n graphics. 'with-graphics' cannot be nested (you can draw simultaneously\n only on 1 graphics)"}, model-y {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Coordinates", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "modelY()", :column 3, :requires-bindings true, :line 2539, :end-line 2539, :arglists (quote ([x y z])), :doc "Returns the three-dimensional x, y, z position in model space. This\n returns the y value for a given coordinate based on the current set\n of transformations (scale, rotate, translate, etc.) The y value can\n be used to place an object in space relative to the location of the\n original point once the transformations are no longer in use."}, :added "1.0", :name quil.core/model-y, :variadic false, :subcategory "Coordinates", :file "out/quil/core.cljc", :end-column 10, :processing-name "modelY()", :method-params ([x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2533, :end-line 2539, :max-fixed-arity 3, :fn-var true, :arglists (quote ([x y z])), :doc "Returns the three-dimensional x, y, z position in model space. This\n returns the y value for a given coordinate based on the current set\n of transformations (scale, rotate, translate, etc.) The y value can\n be used to place an object in space relative to the location of the\n original point once the transformations are no longer in use."}, set-image {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Pixels", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "set()", :column 3, :requires-bindings true, :line 3722, :end-line 3722, :arglists (quote ([x y src])), :doc "Writes an image directly into the display window. The x and y\n parameters define the coordinates for the upper-left corner of the\n image."}, :added "1.0", :name quil.core/set-image, :variadic false, :subcategory "Pixels", :file "out/quil/core.cljc", :end-column 12, :processing-name "set()", :method-params ([x y src]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3716, :end-line 3722, :max-fixed-arity 3, :fn-var true, :arglists (quote ([x y src])), :doc "Writes an image directly into the display window. The x and y\n parameters define the coordinates for the upper-left corner of the\n image."}, shape-mode {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "shapeMode()", :column 3, :requires-bindings true, :line 3825, :end-line 3825, :arglists (quote ([mode])), :doc "Modifies the location from which shapes draw. Available modes are\n :corner, :corners and :center. Default is :corner.\n\n :corner - specifies the location to be the upper left corner of the\n shape and uses the third and fourth parameters of shape\n to specify the width and height.\n\n :corners - uses the first and second parameters of shape to set\n the location of one corner and uses the third and fourth\n parameters to set the opposite corner.\n\n :center - draws the shape from its center point and uses the third\n and forth parameters of shape to specify the width and\n height. "}, :added "1.0", :name quil.core/shape-mode, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 13, :processing-name "shapeMode()", :method-params ([mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3820, :end-line 3825, :max-fixed-arity 1, :fn-var true, :arglists (quote ([mode])), :doc "Modifies the location from which shapes draw. Available modes are\n :corner, :corners and :center. Default is :corner.\n\n :corner - specifies the location to be the upper left corner of the\n shape and uses the third and fourth parameters of shape\n to specify the width and height.\n\n :corners - uses the first and second parameters of shape to set\n the location of one corner and uses the third and fourth\n parameters to set the opposite corner.\n\n :center - draws the shape from its center point and uses the third\n and forth parameters of shape to specify the width and\n height. "}, cursor-image {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 17, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([img] [img hx hy]), :arglists ([img] [img hx hy]), :arglists-meta (nil nil)}, :processing-name "cursor()", :column 5, :requires-bindings true, :line 1307, :end-line 1307, :arglists (quote ([img] [img hx hy])), :doc "Set the cursor to a predefined image. The horizontal and vertical\n active spots of the cursor may be specified with hx and hy.\n It is recommended to make the size 16x16 or 32x32 pixels."}, :added "1.0", :name quil.core/cursor-image, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 17, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([img] [img hx hy]), :arglists ([img] [img hx hy]), :arglists-meta (nil nil)}, :processing-name "cursor()", :method-params ([img] [img hx hy]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1301, :end-line 1307, :max-fixed-arity 3, :fn-var true, :arglists ([img] [img hx hy]), :doc "Set the cursor to a predefined image. The horizontal and vertical\n active spots of the cursor may be specified with hx and hy.\n It is recommended to make the size 16x16 or 32x32 pixels."}, create-graphics {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Rendering", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 18, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([w h] [w h renderer] [w h renderer path]), :arglists ([w h] [w h renderer] [w h renderer path]), :arglists-meta (nil nil nil)}, :processing-name "createGraphics()", :column 3, :requires-bindings true, :line 1204, :end-line 1204, :arglists (quote ([w h] [w h renderer] [w h renderer path])), :doc "Creates and returns a new PGraphics object of the types :p2d, :p3d,\n :java2d, :pdf. By default :java2d is used. Use this class if you\n need to draw into an off-screen graphics buffer. It's not possible\n to use create-graphics with the :opengl renderer, because it doesn't\n allow offscreen use. The :pdf renderer requires the filename parameter.\n\n Note: don't use create-graphics in draw in clojurescript, it leaks memory.\n You should create graphic in setup and reuse it in draw instead of creating\n a new one.\n\n It's important to call any drawing commands between (.beginDraw graphics) and\n (.endDraw graphics) statements or use with-graphics macro. This is also true\n for any commands that affect drawing, such as smooth or color-mode.\n\n If you're using :pdf renderer - don't forget to call (.dispose graphics)\n as last command inside with-graphics macro, otherwise graphics won't be\n saved.\n\n Unlike the main drawing surface which is completely opaque, surfaces\n created with create-graphics can have transparency. This makes it\n possible to draw into a graphics and maintain the alpha channel. By\n using save to write a PNG or TGA file, the transparency of the\n graphics object will be honored."}, :added "1.0", :name quil.core/create-graphics, :variadic false, :subcategory "Rendering", :file "out/quil/core.cljc", :end-column 18, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([w h] [w h renderer] [w h renderer path]), :arglists ([w h] [w h renderer] [w h renderer path]), :arglists-meta (nil nil nil)}, :processing-name "createGraphics()", :method-params ([w h] [w h renderer] [w h renderer path]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 1198, :end-line 1204, :max-fixed-arity 4, :fn-var true, :arglists ([w h] [w h renderer] [w h renderer path]), :doc "Creates and returns a new PGraphics object of the types :p2d, :p3d,\n :java2d, :pdf. By default :java2d is used. Use this class if you\n need to draw into an off-screen graphics buffer. It's not possible\n to use create-graphics with the :opengl renderer, because it doesn't\n allow offscreen use. The :pdf renderer requires the filename parameter.\n\n Note: don't use create-graphics in draw in clojurescript, it leaks memory.\n You should create graphic in setup and reuse it in draw instead of creating\n a new one.\n\n It's important to call any drawing commands between (.beginDraw graphics) and\n (.endDraw graphics) statements or use with-graphics macro. This is also true\n for any commands that affect drawing, such as smooth or color-mode.\n\n If you're using :pdf renderer - don't forget to call (.dispose graphics)\n as last command inside with-graphics macro, otherwise graphics won't be\n saved.\n\n Unlike the main drawing surface which is completely opaque, surfaces\n created with create-graphics can have transparency. This makes it\n possible to draw into a graphics and maintain the alpha channel. By\n using save to write a PNG or TGA file, the transparency of the\n graphics object will be honored."}, update-pixels {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Pixels", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [img]), :arglists ([] [img]), :arglists-meta (nil nil)}, :processing-name "updatePixels()", :column 3, :requires-bindings true, :line 4551, :end-line 4551, :arglists (quote ([] [img])), :doc "Updates the display window or image with the data in the pixels array.\n Use in conjunction with (pixels). If you're only reading pixels from\n the array, there's no need to call update-pixels unless there are\n changes.\n\n Certain renderers may or may not seem to require pixels or\n update-pixels. However, the rule is that any time you want to\n manipulate the pixels array, you must first call pixels, and\n after changes have been made, call update-pixels. Even if the\n renderer may not seem to use this function in the current Processing\n release, this will always be subject to change."}, :added "1.0", :name quil.core/update-pixels, :variadic false, :subcategory "Pixels", :file "out/quil/core.cljc", :end-column 16, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [img]), :arglists ([] [img]), :arglists-meta (nil nil)}, :processing-name "updatePixels()", :method-params ([] [img]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4545, :end-line 4551, :max-fixed-arity 1, :fn-var true, :arglists ([] [img]), :doc "Updates the display window or image with the data in the pixels array.\n Use in conjunction with (pixels). If you're only reading pixels from\n the array, there's no need to call update-pixels unless there are\n changes.\n\n Certain renderers may or may not seem to require pixels or\n update-pixels. However, the rule is that any time you want to\n manipulate the pixels array, you must first call pixels, and\n after changes have been made, call update-pixels. Even if the\n renderer may not seem to use this function in the current Processing\n release, this will always be subject to change."}, text-size {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "textSize()", :column 3, :requires-bindings true, :line 4336, :end-line 4336, :arglists (quote ([size])), :doc "Sets the current font size. This size will be used in all\n subsequent calls to the text fn. Font size is measured in\n units of pixels."}, :added "1.0", :name quil.core/text-size, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 12, :processing-name "textSize()", :method-params ([size]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4330, :end-line 4336, :max-fixed-arity 1, :fn-var true, :arglists (quote ([size])), :doc "Sets the current font size. This size will be used in all\n subsequent calls to the text fn. Font size is measured in\n units of pixels."}, pixels {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Pixels", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [img]), :arglists ([] [img]), :arglists-meta (nil nil)}, :processing-name "pixels[]", :column 3, :requires-bindings true, :line 2948, :end-line 2948, :arglists (quote ([] [img])), :doc "Array containing the values for all the pixels in the display\n window or image. This array is therefore the size of the display window. If\n this array is modified, the update-pixels fn must be called to update\n the changes. Calls .loadPixels before obtaining the pixel array."}, :added "1.0", :name quil.core/pixels, :variadic false, :subcategory "Pixels", :file "out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [img]), :arglists ([] [img]), :arglists-meta (nil nil)}, :processing-name "pixels[]", :method-params ([] [img]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2942, :end-line 2948, :max-fixed-arity 1, :fn-var true, :arglists ([] [img]), :doc "Array containing the values for all the pixels in the display\n window or image. This array is therefore the size of the display window. If\n this array is modified, the update-pixels fn must be called to update\n the changes. Calls .loadPixels before obtaining the pixel array."}, stroke-float {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([gray] [gray alpha] [x y z] [x y z a]), :arglists ([gray] [gray alpha] [x y z] [x y z a]), :arglists-meta (nil nil nil nil)}, :processing-name "stroke()", :column 3, :requires-bindings true, :line 4016, :end-line 4016, :arglists (quote ([gray] [gray alpha] [x y z] [x y z a])), :doc "Sets the color used to draw lines and borders around\n shapes. Converts all args to floats"}, :added "1.0", :name quil.core/stroke-float, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 15, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([gray] [gray alpha] [x y z] [x y z a]), :arglists ([gray] [gray alpha] [x y z] [x y z a]), :arglists-meta (nil nil nil nil)}, :processing-name "stroke()", :method-params ([gray] [gray alpha] [x y z] [x y z a]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :requires-bindings true, :line 4010, :end-line 4016, :max-fixed-arity 4, :fn-var true, :arglists ([gray] [gray alpha] [x y z] [x y z a]), :doc "Sets the color used to draw lines and borders around\n shapes. Converts all args to floats"}, constrain {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "constrain()", :column 3, :requires-bindings false, :line 1097, :end-line 1097, :arglists (quote ([amt low high])), :doc "Constrains a value to not exceed a maximum and minimum value."}, :added "1.0", :name quil.core/constrain, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 12, :processing-name "constrain()", :method-params ([amt low high]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 1091, :end-line 1097, :max-fixed-arity 3, :fn-var true, :arglists (quote ([amt low high])), :doc "Constrains a value to not exceed a maximum and minimum value."}, screen-y {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Coordinates", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([x y] [x y z]), :arglists ([x y] [x y z]), :arglists-meta (nil nil)}, :processing-name "screenY()", :column 3, :requires-bindings true, :line 3655, :end-line 3655, :arglists (quote ([x y] [x y z])), :doc "Takes a three-dimensional x, y, z position and returns the y value\n for where it will appear on a (two-dimensional) screen, once\n affected by translate, scale or any other transformations"}, :added "1.0", :name quil.core/screen-y, :variadic false, :subcategory "Coordinates", :file "out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([x y] [x y z]), :arglists ([x y] [x y z]), :arglists-meta (nil nil)}, :processing-name "screenY()", :method-params ([x y] [x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3649, :end-line 3655, :max-fixed-arity 3, :fn-var true, :arglists ([x y] [x y z]), :doc "Takes a three-dimensional x, y, z position and returns the y value\n for where it will appear on a (two-dimensional) screen, once\n affected by translate, scale or any other transformations"}, fill-float {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([gray] [gray alpha] [r g b] [r g b alpha]), :arglists ([gray] [gray alpha] [r g b] [r g b alpha]), :arglists-meta (nil nil nil nil)}, :processing-name "fill()", :column 3, :requires-bindings true, :line 1705, :end-line 1705, :arglists (quote ([gray] [gray alpha] [r g b] [r g b alpha])), :doc "Sets the color used to fill shapes. For example, (fill 204 102 0),\n will specify that all subsequent shapes will be filled with orange."}, :added "1.0", :name quil.core/fill-float, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([gray] [gray alpha] [r g b] [r g b alpha]), :arglists ([gray] [gray alpha] [r g b] [r g b alpha]), :arglists-meta (nil nil nil nil)}, :processing-name "fill()", :method-params ([gray] [gray alpha] [r g b] [r g b alpha]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :requires-bindings true, :line 1699, :end-line 1705, :max-fixed-arity 4, :fn-var true, :arglists ([gray] [gray alpha] [r g b] [r g b alpha]), :doc "Sets the color used to fill shapes. For example, (fill 204 102 0),\n will specify that all subsequent shapes will be filled with orange."}, rect {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "2D Primitives", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 8, :method-params ([x y width height] [x y width height r] [x y width height top-left-r top-right-r bottom-right-r bottom-left-r]), :arglists ([x y width height] [x y width height r] [x y width height top-left-r top-right-r bottom-right-r bottom-left-r]), :arglists-meta (nil nil nil)}, :processing-name "rect()", :column 3, :requires-bindings true, :line 3278, :end-line 3278, :arglists (quote ([x y width height] [x y width height r] [x y width height top-left-r top-right-r bottom-right-r bottom-left-r])), :doc "Draws a rectangle to the screen. A rectangle is a four-sided shape\n with every angle at ninety degrees. By default, the first two\n parameters set the location of the upper-left corner, the third\n sets the width, and the fourth sets the height. These parameters\n may be changed with rect-mode.\n\n To draw a rounded rectangle, add a fifth parameter, which is used as\n the radius value for all four corners. To use a different radius value\n for each corner, include eight parameters."}, :added "1.0", :name quil.core/rect, :variadic false, :subcategory "2D Primitives", :file "out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 8, :method-params ([x y width height] [x y width height r] [x y width height top-left-r top-right-r bottom-right-r bottom-left-r]), :arglists ([x y width height] [x y width height r] [x y width height top-left-r top-right-r bottom-right-r bottom-left-r]), :arglists-meta (nil nil nil)}, :processing-name "rect()", :method-params ([x y width height] [x y width height r] [x y width height top-left-r top-right-r bottom-right-r bottom-left-r]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 3272, :end-line 3278, :max-fixed-arity 8, :fn-var true, :arglists ([x y width height] [x y width height r] [x y width height top-left-r top-right-r bottom-right-r bottom-left-r]), :doc "Draws a rectangle to the screen. A rectangle is a four-sided shape\n with every angle at ninety degrees. By default, the first two\n parameters set the location of the upper-left corner, the third\n sets the width, and the fourth sets the height. These parameters\n may be changed with rect-mode.\n\n To draw a rounded rectangle, add a fifth parameter, which is used as\n the radius value for all four corners. To use a different radius value\n for each corner, include eight parameters."}, log {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :processing-name "log()", :column 3, :requires-bindings false, :line 2429, :end-line 2429, :arglists (quote ([val])), :doc "Calculates the natural logarithm (the base-e logarithm) of a\n number. This function expects the values greater than 0.0."}, :added "1.0", :name quil.core/log, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 6, :processing-name "log()", :method-params ([val]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 2423, :end-line 2429, :max-fixed-arity 1, :fn-var true, :arglists (quote ([val])), :doc "Calculates the natural logarithm (the base-e logarithm) of a\n number. This function expects the values greater than 0.0."}, with-stroke {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.7", :subcategory "Utility Macros", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env stroke-args body)], :arglists ([&form &env stroke-args & body]), :arglists-meta (nil)}, :processing-name nil, :column 4, :requires-bindings true, :line 4651, :macro true, :end-line 4651, :arglists (quote ([stroke-args & body])), :doc "Temporarily set the stroke color for the body of this macro.\n The code outside of with-stroke form will have the previous stroke color set.\n\n The stroke color has to be in a vector!\n Example: (with-stroke [255] ...)\n (with-stroke [10 80 98] ...)"}, :added "1.7", :name quil.core/with-stroke, :variadic true, :subcategory "Utility Macros", :file "out/quil/core.cljc", :end-column 15, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env stroke-args body)], :arglists ([&form &env stroke-args & body]), :arglists-meta (nil)}, :processing-name nil, :method-params [(&form &env stroke-args body)], :protocol-impl nil, :arglists-meta (nil), :column 1, :requires-bindings true, :line 4645, :macro true, :end-line 4651, :max-fixed-arity 3, :fn-var false, :arglists ([&form &env stroke-args & body]), :doc "Temporarily set the stroke color for the body of this macro.\n The code outside of with-stroke form will have the previous stroke color set.\n\n The stroke color has to be in a vector!\n Example: (with-stroke [255] ...)\n (with-stroke [10 80 98] ...)"}, ambient-float {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Material Properties", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([gray] [x y z]), :arglists ([gray] [x y z]), :arglists-meta (nil nil)}, :processing-name "ambient()", :column 3, :requires-bindings true, :line 324, :end-line 324, :arglists (quote ([gray] [x y z])), :doc "Sets the ambient reflectance for shapes drawn to the screen. This\n is combined with the ambient light component of environment. The\n color components set through the parameters define the\n reflectance. For example in the default color mode, setting x=255,\n y=126, z=0, would cause all the red light to reflect and half of the\n green light to reflect. Used in combination with emissive, specular,\n and shininess in setting the material properties of shapes."}, :added "1.0", :name quil.core/ambient-float, :variadic false, :subcategory "Material Properties", :file "out/quil/core.cljc", :end-column 16, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([gray] [x y z]), :arglists ([gray] [x y z]), :arglists-meta (nil nil)}, :processing-name "ambient()", :method-params ([gray] [x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 318, :end-line 324, :max-fixed-arity 3, :fn-var true, :arglists ([gray] [x y z]), :doc "Sets the ambient reflectance for shapes drawn to the screen. This\n is combined with the ambient light component of environment. The\n color components set through the parameters define the\n reflectance. For example in the default color mode, setting x=255,\n y=126, z=0, would cause all the red light to reflect and half of the\n green light to reflect. Used in combination with emissive, specular,\n and shininess in setting the material properties of shapes."}, end-raw {:category "Output", :protocol-inline nil, :meta {:category "Output", :added "1.0", :subcategory "Files", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "endRaw()", :column 3, :requires-bindings true, :line 1638, :end-line 1638, :arglists (quote ([])), :doc "Complement to begin-raw; they must always be used together. See\n the begin-raw docstring for details."}, :added "1.0", :name quil.core/end-raw, :variadic false, :subcategory "Files", :file "out/quil/core.cljc", :end-column 10, :processing-name "endRaw()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1632, :end-line 1638, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Complement to begin-raw; they must always be used together. See\n the begin-raw docstring for details."}, radians {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Trigonometry", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "radians()", :column 3, :requires-bindings false, :line 3190, :end-line 3190, :arglists (quote ([degrees])), :doc "Converts a degree measurement to its corresponding value in\n radians. Radians and degrees are two ways of measuring the same\n thing. There are 360 degrees in a circle and 2*PI radians in a\n circle. For example, 90° = PI/2 = 1.5707964. All trigonometric\n methods in Processing require their parameters to be specified in\n radians."}, :added "1.0", :name quil.core/radians, :variadic false, :subcategory "Trigonometry", :file "out/quil/core.cljc", :end-column 10, :processing-name "radians()", :method-params ([degrees]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 3184, :end-line 3190, :max-fixed-arity 1, :fn-var true, :arglists (quote ([degrees])), :doc "Converts a degree measurement to its corresponding value in\n radians. Radians and degrees are two ways of measuring the same\n thing. There are 360 degrees in a circle and 2*PI radians in a\n circle. For example, 90° = PI/2 = 1.5707964. All trigonometric\n methods in Processing require their parameters to be specified in\n radians."}, degrees {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Trigonometry", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "degrees()", :column 3, :requires-bindings false, :line 1438, :end-line 1438, :arglists (quote ([radians])), :doc "Converts a radian measurement to its corresponding value in\n degrees. Radians and degrees are two ways of measuring the same\n thing. There are 360 degrees in a circle and (* 2 Math/PI) radians\n in a circle. For example, (= 90° (/ Math/PI 2) 1.5707964). All\n trigonometric methods in Processing require their parameters to be\n specified in radians."}, :added "1.0", :name quil.core/degrees, :variadic false, :subcategory "Trigonometry", :file "out/quil/core.cljc", :end-column 10, :processing-name "degrees()", :method-params ([radians]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 1432, :end-line 1438, :max-fixed-arity 1, :fn-var true, :arglists (quote ([radians])), :doc "Converts a radian measurement to its corresponding value in\n degrees. Radians and degrees are two ways of measuring the same\n thing. There are 360 degrees in a circle and (* 2 Math/PI) radians\n in a circle. For example, (= 90° (/ Math/PI 2) 1.5707964). All\n trigonometric methods in Processing require their parameters to be\n specified in radians."}, acos {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Trigonometry", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "acos()", :column 3, :requires-bindings false, :line 299, :end-line 299, :arglists (quote ([n])), :doc "The inverse of cos, returns the arc cosine of a value. This\n function expects the values in the range of -1 to 1 and values are\n returned in the range 0 to Math/PI (3.1415927)."}, :added "1.0", :name quil.core/acos, :variadic false, :subcategory "Trigonometry", :file "out/quil/core.cljc", :end-column 7, :processing-name "acos()", :method-params ([n]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 293, :end-line 299, :max-fixed-arity 1, :fn-var true, :arglists (quote ([n])), :doc "The inverse of cos, returns the arc cosine of a value. This\n function expects the values in the range of -1 to 1 and values are\n returned in the range 0 to Math/PI (3.1415927)."}, bezier-detail {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Curves", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :processing-name "bezierDetail()", :column 3, :requires-bindings true, :line 692, :end-line 692, :arglists (quote ([detail])), :doc "Sets the resolution at which Beziers display. The default value is\n 20. This function is only useful when using the :p3d or :opengl\n renderer as the default (:java2d) renderer does not use this\n information."}, :added "1.0", :name quil.core/bezier-detail, :variadic false, :subcategory "Curves", :file "out/quil/core.cljc", :end-column 16, :processing-name "bezierDetail()", :method-params ([detail]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 686, :end-line 692, :max-fixed-arity 1, :fn-var true, :arglists (quote ([detail])), :doc "Sets the resolution at which Beziers display. The default value is\n 20. This function is only useful when using the :p3d or :opengl\n renderer as the default (:java2d) renderer does not use this\n information."}, texture {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Vertex", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "texture()", :column 3, :requires-bindings true, :line 4349, :end-line 4349, :arglists (quote ([img])), :doc "Sets a texture to be applied to vertex points. The texture fn must\n be called between begin-shape and end-shape and before any calls to\n vertex.\n\n When textures are in use, the fill color is ignored. Instead, use\n tint to specify the color of the texture as it is applied to the\n shape."}, :added "1.0", :name quil.core/texture, :variadic false, :subcategory "Vertex", :file "out/quil/core.cljc", :end-column 10, :processing-name "texture()", :method-params ([img]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4343, :end-line 4349, :max-fixed-arity 1, :fn-var true, :arglists (quote ([img])), :doc "Sets a texture to be applied to vertex points. The texture fn must\n be called between begin-shape and end-shape and before any calls to\n vertex.\n\n When textures are in use, the fill color is ignored. Instead, use\n tint to specify the color of the texture as it is applied to the\n shape."}, stroke-int {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([rgb] [rgb alpha]), :arglists ([rgb] [rgb alpha]), :arglists-meta (nil nil)}, :processing-name "stroke()", :column 3, :requires-bindings true, :line 4030, :end-line 4030, :arglists (quote ([rgb] [rgb alpha])), :doc "Sets the color used to draw lines and borders around\n shapes. Converts rgb to int and alpha to a float."}, :added "1.0", :name quil.core/stroke-int, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([rgb] [rgb alpha]), :arglists ([rgb] [rgb alpha]), :arglists-meta (nil nil)}, :processing-name "stroke()", :method-params ([rgb] [rgb alpha]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4024, :end-line 4030, :max-fixed-arity 2, :fn-var true, :arglists ([rgb] [rgb alpha]), :doc "Sets the color used to draw lines and borders around\n shapes. Converts rgb to int and alpha to a float."}, print-camera {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Camera", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "printCamera()", :column 3, :requires-bindings true, :line 3076, :end-line 3076, :arglists (quote ([])), :doc "Prints the current camera matrix to std out. Useful for debugging."}, :added "1.0", :name quil.core/print-camera, :variadic false, :subcategory "Camera", :file "out/quil/core.cljc", :end-column 15, :processing-name "printCamera()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3070, :end-line 3076, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Prints the current camera matrix to std out. Useful for debugging."}, floor {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "2.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :processing-name "floor()", :column 3, :requires-bindings false, :line 1830, :end-line 1830, :arglists (quote ([n])), :doc "Calculates the closest int value that is less than or equal to the\n value of the parameter. For example, (floor 9.03) returns the value 9."}, :added "2.0", :name quil.core/floor, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 8, :processing-name "floor()", :method-params ([n]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 1824, :end-line 1830, :max-fixed-arity 1, :fn-var true, :arglists (quote ([n])), :doc "Calculates the closest int value that is less than or equal to the\n value of the parameter. For example, (floor 9.03) returns the value 9."}, atan2 {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Trigonometry", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :processing-name "atan2()", :column 3, :requires-bindings false, :line 473, :end-line 473, :arglists (quote ([y x])), :doc "Calculates the angle (in radians) from a specified point to the\n coordinate origin as measured from the positive x-axis. Values are\n returned as a float in the range from PI to -PI. The atan2 function\n is most often used for orienting geometry to the position of the\n cursor. Note: The y-coordinate of the point is the first parameter\n and the x-coordinate is the second due to the structure of\n calculating the tangent."}, :added "1.0", :name quil.core/atan2, :variadic false, :subcategory "Trigonometry", :file "out/quil/core.cljc", :end-column 8, :processing-name "atan2()", :method-params ([y x]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 467, :end-line 473, :max-fixed-arity 2, :fn-var true, :arglists (quote ([y x])), :doc "Calculates the angle (in radians) from a specified point to the\n coordinate origin as measured from the positive x-axis. Values are\n returned as a float in the range from PI to -PI. The atan2 function\n is most often used for orienting geometry to the position of the\n cursor. Note: The y-coordinate of the point is the first parameter\n and the x-coordinate is the second due to the structure of\n calculating the tangent."}, millis {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Time & Date", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :processing-name "millis()", :column 3, :requires-bindings true, :line 2499, :end-line 2499, :arglists (quote ([])), :doc "Returns the number of milliseconds (thousandths of a second) since\n starting the sketch. This information is often used for timing\n animation sequences."}, :added "1.0", :name quil.core/millis, :variadic false, :subcategory "Time & Date", :file "out/quil/core.cljc", :end-column 9, :processing-name "millis()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2493, :end-line 2499, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns the number of milliseconds (thousandths of a second) since\n starting the sketch. This information is often used for timing\n animation sequences."}, lerp-color {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "lerpColor()", :column 3, :requires-bindings true, :line 2254, :end-line 2254, :arglists (quote ([c1 c2 amt])), :doc "Calculates a color or colors between two color at a specific\n increment. The amt parameter is the amount to interpolate between\n the two values where 0.0 equal to the first point, 0.1 is very near\n the first point, 0.5 is half-way in between, etc."}, :added "1.0", :name quil.core/lerp-color, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 13, :processing-name "lerpColor()", :method-params ([c1 c2 amt]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2248, :end-line 2254, :max-fixed-arity 3, :fn-var true, :arglists (quote ([c1 c2 amt])), :doc "Calculates a color or colors between two color at a specific\n increment. The amt parameter is the amount to interpolate between\n the two values where 0.0 equal to the first point, 0.1 is very near\n the first point, 0.5 is half-way in between, etc."}, image-modes {:name quil.core/image-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 61, :end-column 13, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 61, :column 2, :end-line 61, :end-column 13}, :tag cljs.core/IMap}, no-fill-prop {:name quil.core/no-fill-prop, :file "out/quil/core.cljc", :line 24, :column 1, :end-line 24, :end-column 35, :private true, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 24, :column 23, :end-line 24, :end-column 35, :private true}, :tag string}, color-mode {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([mode] [mode max] [mode max-x max-y max-z] [mode max-x max-y max-z max-a]), :arglists ([mode] [mode max] [mode max-x max-y max-z] [mode max-x max-y max-z max-a]), :arglists-meta (nil nil nil nil)}, :processing-name "colorMode()", :column 3, :requires-bindings true, :line 1041, :end-line 1041, :arglists (quote ([mode] [mode max] [mode max-x max-y max-z] [mode max-x max-y max-z max-a])), :doc "Changes the way Processing interprets color data. Available modes\n are :rgb and :hsb.By default, the parameters for fill, stroke,\n background, and color are defined by values between 0 and 255 using\n the :rgb color model. The color-mode fn is used to change the\n numerical range used for specifying colors and to switch color\n systems. For example, calling\n (color-mode :rgb 1.0) will specify that values are specified between\n 0 and 1. The limits for defining colors are altered by setting the\n parameters range1, range2, range3, and range 4."}, :added "1.0", :name quil.core/color-mode, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([mode] [mode max] [mode max-x max-y max-z] [mode max-x max-y max-z max-a]), :arglists ([mode] [mode max] [mode max-x max-y max-z] [mode max-x max-y max-z max-a]), :arglists-meta (nil nil nil nil)}, :processing-name "colorMode()", :method-params ([mode] [mode max] [mode max-x max-y max-z] [mode max-x max-y max-z max-a]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :requires-bindings true, :line 1035, :end-line 1041, :max-fixed-arity 5, :fn-var true, :arglists ([mode] [mode max] [mode max-x max-y max-z] [mode max-x max-y max-z max-a]), :doc "Changes the way Processing interprets color data. Available modes\n are :rgb and :hsb.By default, the parameters for fill, stroke,\n background, and color are defined by values between 0 and 255 using\n the :rgb color model. The color-mode fn is used to change the\n numerical range used for specifying colors and to switch color\n systems. For example, calling\n (color-mode :rgb 1.0) will specify that values are specified between\n 0 and 1. The limits for defining colors are altered by setting the\n parameters range1, range2, range3, and range 4."}, create-image {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "createImage()", :column 3, :requires-bindings true, :line 1243, :end-line 1243, :arglists (quote ([w h format])), :doc "Creates a new PImage (the datatype for storing images). This\n provides a fresh buffer of pixels to play with. Set the size of the\n buffer with the width and height parameters. The format parameter\n defines how the pixels are stored. See the PImage reference for more\n information.\n\n Possible formats: :rgb, :argb, :alpha (grayscale alpha channel)\n\n Prefer using create-image over initialising new PImage instances\n directly."}, :added "1.0", :name quil.core/create-image, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 15, :processing-name "createImage()", :method-params ([w h format]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1237, :end-line 1243, :max-fixed-arity 3, :fn-var true, :arglists (quote ([w h format])), :doc "Creates a new PImage (the datatype for storing images). This\n provides a fresh buffer of pixels to play with. Set the size of the\n buffer with the width and height parameters. The format parameter\n defines how the pixels are stored. See the PImage reference for more\n information.\n\n Possible formats: :rgb, :argb, :alpha (grayscale alpha channel)\n\n Prefer using create-image over initialising new PImage instances\n directly."}, sq {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 5, :processing-name "sq()", :column 3, :requires-bindings false, :line 3975, :end-line 3975, :arglists (quote ([a])), :doc "Squares a number (multiplies a number by itself). The result is\n always a positive number, as multiplying two negative numbers always\n yields a positive result. For example, -1 * -1 = 1."}, :added "1.0", :name quil.core/sq, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 5, :processing-name "sq()", :method-params ([a]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 3969, :end-line 3975, :max-fixed-arity 1, :fn-var true, :arglists (quote ([a])), :doc "Squares a number (multiplies a number by itself). The result is\n always a positive number, as multiplying two negative numbers always\n yields a positive result. For example, -1 * -1 = 1."}, height {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :processing-name "getHeight()", :column 3, :processing-link nil, :requires-bindings true, :line 1970, :end-line 1970, :arglists (quote ([])), :doc "Height of the display window. The value of height is zero until\n size is called."}, :added "1.0", :name quil.core/height, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 9, :processing-name "getHeight()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :processing-link nil, :requires-bindings true, :line 1963, :end-line 1970, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Height of the display window. The value of height is zero until\n size is called."}, no-loop {:category "Structure", :protocol-inline nil, :meta {:category "Structure", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "noLoop()", :column 3, :requires-bindings true, :line 2799, :end-line 2799, :arglists (quote ([])), :doc "Stops Processing from continuously executing the code within\n draw. If start-loop is called, the code in draw will begin to run\n continuously again. If using no-loop in setup, it should be the last\n line inside the block.\n\n When no-loop is used, it's not possible to manipulate or access the\n screen inside event handling functions such as mouse-pressed or\n key-pressed. Instead, use those functions to call redraw or\n loop which will run draw, which can update the screen\n properly. This means that when no-loop has been called, no drawing\n can happen, and functions like save-frame may not be used.\n\n Note that if the sketch is resized, redraw will be called to\n update the sketch, even after no-oop has been\n specified. Otherwise, the sketch would enter an odd state until\n loop was called."}, :added "1.0", :name quil.core/no-loop, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 10, :processing-name "noLoop()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2793, :end-line 2799, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Stops Processing from continuously executing the code within\n draw. If start-loop is called, the code in draw will begin to run\n continuously again. If using no-loop in setup, it should be the last\n line inside the block.\n\n When no-loop is used, it's not possible to manipulate or access the\n screen inside event handling functions such as mouse-pressed or\n key-pressed. Instead, use those functions to call redraw or\n loop which will run draw, which can update the screen\n properly. This means that when no-loop has been called, no drawing\n can happen, and functions like save-frame may not be used.\n\n Note that if the sketch is resized, redraw will be called to\n update the sketch, even after no-oop has been\n specified. Otherwise, the sketch would enter an odd state until\n loop was called."}, minute {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Time & Date", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :processing-name "minute()", :column 3, :requires-bindings false, :line 2512, :end-line 2512, :arglists (quote ([])), :doc "Returns the current minute as a value from 0 - 59"}, :added "1.0", :name quil.core/minute, :variadic false, :subcategory "Time & Date", :file "out/quil/core.cljc", :end-column 9, :processing-name "minute()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 2506, :end-line 2512, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns the current minute as a value from 0 - 59"}, text {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([s x y] [s x y z] [s x1 y1 x2 y2]), :arglists ([s x y] [s x y z] [s x1 y1 x2 y2]), :arglists-meta (nil nil nil)}, :processing-name "text()", :column 3, :requires-bindings true, :line 4176, :end-line 4176, :arglists (quote ([s x y] [s x y z] [s x1 y1 x2 y2])), :doc "Draws text to the screen in the position specified by the x and y\n parameters and the optional z parameter. A default font will be used\n unless a font is set with the text-font fn. Change the color of the\n text with the fill fn. The text displays in relation to the\n text-align fn, which gives the option to draw to the left, right, and\n center of the coordinates.\n\n The x1, y1, x2 and y2 parameters define a\n rectangular area to display within and may only be used with string\n data. For text drawn inside a rectangle, the coordinates are\n interpreted based on the current rect-mode setting."}, :added "1.0", :name quil.core/text, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([s x y] [s x y z] [s x1 y1 x2 y2]), :arglists ([s x y] [s x y z] [s x1 y1 x2 y2]), :arglists-meta (nil nil nil)}, :processing-name "text()", :method-params ([s x y] [s x y z] [s x1 y1 x2 y2]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 4170, :end-line 4176, :max-fixed-arity 5, :fn-var true, :arglists ([s x y] [s x y z] [s x1 y1 x2 y2]), :doc "Draws text to the screen in the position specified by the x and y\n parameters and the optional z parameter. A default font will be used\n unless a font is set with the text-font fn. Change the color of the\n text with the fill fn. The text displays in relation to the\n text-align fn, which gives the option to draw to the left, right, and\n center of the coordinates.\n\n The x1, y1, x2 and y2 parameters define a\n rectangular area to display within and may only be used with string\n data. For text drawn inside a rectangle, the coordinates are\n interpreted based on the current rect-mode setting."}, available-fonts {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 18, :processing-name "PFont.list()", :column 3, :requires-bindings false, :line 491, :end-line 491, :arglists (quote ([])), :doc "A sequence of strings representing the fonts on this system\n available for use.\n\n Because of limitations in Java, not all fonts can be used and some\n might work with one operating system and not others. When sharing a\n sketch with other people or posting it on the web, you may need to\n include a .ttf or .otf version of your font in the data directory of\n the sketch because other people might not have the font installed on\n their computer. Only fonts that can legally be distributed should be\n included with a sketch."}, :added "1.0", :name quil.core/available-fonts, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 18, :processing-name "PFont.list()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 485, :end-line 491, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "A sequence of strings representing the fonts on this system\n available for use.\n\n Because of limitations in Java, not all fonts can be used and some\n might work with one operating system and not others. When sharing a\n sketch with other people or posting it on the web, you may need to\n include a .ttf or .otf version of your font in the data directory of\n the sketch because other people might not have the font installed on\n their computer. Only fonts that can legally be distributed should be\n included with a sketch."}, rect-modes {:name quil.core/rect-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 62, :end-column 12, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 62, :column 2, :end-line 62, :end-column 12}, :tag cljs.core/IMap}, THIRD-PI {:name quil.core/THIRD-PI, :file "out/quil/core.cljc", :line 78, :column 1, :end-line 78, :end-column 14, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 78, :column 6, :end-line 78, :end-column 14}, :tag number}, binary {:category "Data", :protocol-inline nil, :meta {:category "Data", :require-binding false, :added "1.0", :subcategory "Conversion", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([val] [val num-digits]), :arglists ([val] [val num-digits]), :arglists-meta (nil nil)}, :processing-name "binary()", :column 3, :line 761, :end-line 761, :arglists (quote ([val] [val num-digits])), :doc "Returns a string representing the binary value of an int, char or\n byte. When converting an int to a string, it is possible to specify\n the number of digits used."}, :require-binding false, :added "1.0", :name quil.core/binary, :variadic false, :subcategory "Conversion", :file "out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([val] [val num-digits]), :arglists ([val] [val num-digits]), :arglists-meta (nil nil)}, :processing-name "binary()", :method-params ([val] [val num-digits]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 755, :end-line 761, :max-fixed-arity 2, :fn-var true, :arglists ([val] [val num-digits]), :doc "Returns a string representing the binary value of an int, char or\n byte. When converting an int to a string, it is possible to specify\n the number of digits used."}, random-2d {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "2.6", :subcategory "Random", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "random2d()", :column 3, :requires-bindings true, :line 2678, :end-line 2678, :arglists (quote ([])), :doc "Returns a new 2D unit vector in a random direction"}, :added "2.6", :name quil.core/random-2d, :variadic false, :subcategory "Random", :file "out/quil/core.cljc", :end-column 12, :processing-name "random2d()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2672, :end-line 2678, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns a new 2D unit vector in a random direction"}, pop-matrix {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "popMatrix()", :column 3, :requires-bindings true, :line 3027, :end-line 3027, :arglists (quote ([])), :doc "Pops the current transformation matrix off the matrix\n stack. Understanding pushing and popping requires understanding the\n concept of a matrix stack. The push-matrix fn saves the current\n coordinate system to the stack and pop-matrix restores the prior\n coordinate system. push-matrix and pop-matrix are used in conjuction\n with the other transformation methods and may be embedded to control\n the scope of the transformations."}, :added "1.0", :name quil.core/pop-matrix, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 13, :processing-name "popMatrix()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3021, :end-line 3027, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Pops the current transformation matrix off the matrix\n stack. Understanding pushing and popping requires understanding the\n concept of a matrix stack. The push-matrix fn saves the current\n coordinate system to the stack and pop-matrix restores the prior\n coordinate system. push-matrix and pop-matrix are used in conjuction\n with the other transformation methods and may be embedded to control\n the scope of the transformations."}, ceil {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "ceil()", :column 3, :requires-bindings false, :line 972, :end-line 972, :arglists (quote ([n])), :doc "Calculates the closest int value that is greater than or equal to\n the value of the parameter. For example, (ceil 9.03) returns the\n value 10."}, :added "1.0", :name quil.core/ceil, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 7, :processing-name "ceil()", :method-params ([n]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 966, :end-line 972, :max-fixed-arity 1, :fn-var true, :arglists (quote ([n])), :doc "Calculates the closest int value that is greater than or equal to\n the value of the parameter. For example, (ceil 9.03) returns the\n value 10."}, key-code {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Keyboard", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :processing-name "keyCode", :column 3, :requires-bindings true, :line 2168, :end-line 2168, :arglists (quote ([])), :doc "The variable keyCode is used to detect special keys such as the UP,\n DOWN, LEFT, RIGHT arrow keys and ALT, CONTROL, SHIFT. When checking\n for these keys, it's first necessary to check and see if the key is\n coded. This is done with the conditional (= (key) CODED).\n\n The keys included in the ASCII specification (BACKSPACE, TAB, ENTER,\n RETURN, ESC, and DELETE) do not require checking to see if they key\n is coded, and you should simply use the key variable instead of\n key-code If you're making cross-platform projects, note that the\n ENTER key is commonly used on PCs and Unix and the RETURN key is\n used instead on Macintosh. Check for both ENTER and RETURN to make\n sure your program will work for all platforms.\n\n For users familiar with Java, the values for UP and DOWN are simply\n shorter versions of Java's KeyEvent.VK_UP and\n KeyEvent.VK_DOWN. Other keyCode values can be found in the Java\n KeyEvent reference."}, :added "1.0", :name quil.core/key-code, :variadic false, :subcategory "Keyboard", :file "out/quil/core.cljc", :end-column 11, :processing-name "keyCode", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2162, :end-line 2168, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "The variable keyCode is used to detect special keys such as the UP,\n DOWN, LEFT, RIGHT arrow keys and ALT, CONTROL, SHIFT. When checking\n for these keys, it's first necessary to check and see if the key is\n coded. This is done with the conditional (= (key) CODED).\n\n The keys included in the ASCII specification (BACKSPACE, TAB, ENTER,\n RETURN, ESC, and DELETE) do not require checking to see if they key\n is coded, and you should simply use the key variable instead of\n key-code If you're making cross-platform projects, note that the\n ENTER key is commonly used on PCs and Unix and the RETURN key is\n used instead on Macintosh. Check for both ENTER and RETURN to make\n sure your program will work for all platforms.\n\n For users familiar with Java, the values for UP and DOWN are simply\n shorter versions of Java's KeyEvent.VK_UP and\n KeyEvent.VK_DOWN. Other keyCode values can be found in the Java\n KeyEvent reference."}, sphere {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "3D Primitives", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :processing-name "sphere()", :column 3, :requires-bindings true, :line 3923, :end-line 3923, :arglists (quote ([radius])), :doc "Generates a hollow ball made from tessellated triangles."}, :added "1.0", :name quil.core/sphere, :variadic false, :subcategory "3D Primitives", :file "out/quil/core.cljc", :end-column 9, :processing-name "sphere()", :method-params ([radius]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3917, :end-line 3923, :max-fixed-arity 1, :fn-var true, :arglists (quote ([radius])), :doc "Generates a hollow ball made from tessellated triangles."}, request-image {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :processing-name "requestImage()", :column 3, :requires-bindings true, :line 3366, :end-line 3366, :arglists (quote ([filename])), :doc "This function load images on a separate thread so that your sketch\n does not freeze while images load during setup. While the image is\n loading, its width and height will be 0. If an error occurs while\n loading the image, its width and height will be set to -1. You'll\n know when the image has loaded properly because its width and height\n will be greater than 0. Asynchronous image loading (particularly\n when downloading from a server) can dramatically improve\n performance."}, :added "1.0", :name quil.core/request-image, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 16, :processing-name "requestImage()", :method-params ([filename]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3360, :end-line 3366, :max-fixed-arity 1, :fn-var true, :arglists (quote ([filename])), :doc "This function load images on a separate thread so that your sketch\n does not freeze while images load during setup. While the image is\n loading, its width and height will be 0. If an error occurs while\n loading the image, its width and height will be set to -1. You'll\n know when the image has loaded properly because its width and height\n will be greater than 0. Asynchronous image loading (particularly\n when downloading from a server) can dramatically improve\n performance."}, hue {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :processing-name "hue()", :column 3, :requires-bindings true, :line 2064, :end-line 2064, :arglists (quote ([col])), :doc "Extracts the hue value from a color."}, :added "1.0", :name quil.core/hue, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 6, :processing-name "hue()", :method-params ([col]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2058, :end-line 2064, :max-fixed-arity 1, :fn-var true, :arglists (quote ([col])), :doc "Extracts the hue value from a color."}, background-int {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 17, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([rgb] [rgb alpha]), :arglists ([rgb] [rgb alpha]), :arglists-meta (nil nil)}, :processing-name "background()", :column 3, :requires-bindings true, :line 532, :end-line 532, :arglists (quote ([rgb] [rgb alpha])), :doc "Sets the color used for the background of the Processing\n window. The default background is light gray. In the draw function,\n the background color is used to clear the display window at the\n beginning of each frame.\n\n It is not possible to use transparency (alpha) in background colors\n with the main drawing surface, however they will work properly with\n create-graphics. Converts rgb to an int and alpha to a float."}, :added "1.0", :name quil.core/background-int, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 17, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([rgb] [rgb alpha]), :arglists ([rgb] [rgb alpha]), :arglists-meta (nil nil)}, :processing-name "background()", :method-params ([rgb] [rgb alpha]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 526, :end-line 532, :max-fixed-arity 2, :fn-var true, :arglists ([rgb] [rgb alpha]), :doc "Sets the color used for the background of the Processing\n window. The default background is light gray. In the draw function,\n the background color is used to clear the display window at the\n beginning of each frame.\n\n It is not possible to use transparency (alpha) in background colors\n with the main drawing surface, however they will work properly with\n create-graphics. Converts rgb to an int and alpha to a float."}, start-loop {:category "Structure", :protocol-inline nil, :meta {:category "Structure", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "loop()", :column 3, :requires-bindings true, :line 4004, :end-line 4004, :arglists (quote ([])), :doc "Causes Processing to continuously execute the code within\n draw. If no-loop is called, the code in draw stops executing."}, :added "1.0", :name quil.core/start-loop, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 13, :processing-name "loop()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3998, :end-line 4004, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Causes Processing to continuously execute the code within\n draw. If no-loop is called, the code in draw stops executing."}, no-fill? {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 4132, :column 8, :end-line 4132, :end-column 16, :private true, :arglists (quote ([graphics])), :doc "Returns whether fill is disabled for current graphics."}, :private true, :name quil.core/no-fill?, :variadic false, :file "out/quil/core.cljc", :end-column 16, :method-params ([graphics]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 4132, :end-line 4132, :max-fixed-arity 1, :fn-var true, :arglists (quote ([graphics])), :doc "Returns whether fill is disabled for current graphics."}, curve-vertex {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Vertex", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([x y] [x y z]), :arglists ([x y] [x y z]), :arglists-meta (nil nil)}, :processing-name "curveVertex()", :column 3, :requires-bindings true, :line 1407, :end-line 1407, :arglists (quote ([x y] [x y z])), :doc "Specifies vertex coordinates for curves. This function may only be\n used between begin-shape and end-shape and only when there is no\n mode keyword specified to begin-shape. The first and last points in a\n series of curve-vertex lines will be used to guide the beginning and\n end of a the curve. A minimum of four points is required to draw a\n tiny curve between the second and third points. Adding a fifth point\n with curve-vertex will draw the curve between the second, third, and\n fourth points. The curve-vertex function is an implementation of\n Catmull-Rom splines."}, :added "1.0", :name quil.core/curve-vertex, :variadic false, :subcategory "Vertex", :file "out/quil/core.cljc", :end-column 15, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([x y] [x y z]), :arglists ([x y] [x y z]), :arglists-meta (nil nil)}, :processing-name "curveVertex()", :method-params ([x y] [x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1401, :end-line 1407, :max-fixed-arity 3, :fn-var true, :arglists ([x y] [x y z]), :doc "Specifies vertex coordinates for curves. This function may only be\n used between begin-shape and end-shape and only when there is no\n mode keyword specified to begin-shape. The first and last points in a\n series of curve-vertex lines will be used to guide the beginning and\n end of a the curve. A minimum of four points is required to draw a\n tiny curve between the second and third points. Adding a fifth point\n with curve-vertex will draw the curve between the second, third, and\n fourth points. The curve-vertex function is an implementation of\n Catmull-Rom splines."}, state-atom {:category "State", :protocol-inline nil, :meta {:category "State", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :column 3, :requires-bindings true, :line 199, :end-line 199, :arglists (quote ([])), :doc "Retrieve sketch-specific state-atom. All changes to the\n atom will be reflected in the state.\n\n (set-state! :foo 1)\n (state :foo) ;=> 1\n (swap! (state-atom) update-in [:foo] inc)\n (state :foo) ;=> 2"}, :added "1.0", :name quil.core/state-atom, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 13, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 194, :end-line 199, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Retrieve sketch-specific state-atom. All changes to the\n atom will be reflected in the state.\n\n (set-state! :foo 1)\n (state :foo) ;=> 1\n (swap! (state-atom) update-in [:foo] inc)\n (state :foo) ;=> 2"}, load-image {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "loadImage()", :column 3, :requires-bindings true, :line 2373, :end-line 2373, :arglists (quote ([filename])), :doc "Loads an image into a variable of type PImage. Four types of\n images ( .gif, .jpg, .tga, .png) images may be loaded. To load\n correctly, images must be located in the data directory of the\n current sketch. In most cases, load all images in setup to preload\n them at the start of the program. Loading images inside draw will\n reduce the speed of a program.\n\n The filename parameter can also be a URL to a file found online.\n\n If an image is not loaded successfully, the null value is returned\n and an error message will be printed to the console. The error\n message does not halt the program, however the null value may cause\n a NullPointerException if your code does not check whether the value\n returned from load-image is nil.\n\n Depending on the type of error, a PImage object may still be\n returned, but the width and height of the image will be set to\n -1. This happens if bad image data is returned or cannot be decoded\n properly. Sometimes this happens with image URLs that produce a 403\n error or that redirect to a password prompt, because load-image\n will attempt to interpret the HTML as image data."}, :added "1.0", :name quil.core/load-image, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 13, :processing-name "loadImage()", :method-params ([filename]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2367, :end-line 2373, :max-fixed-arity 1, :fn-var true, :arglists (quote ([filename])), :doc "Loads an image into a variable of type PImage. Four types of\n images ( .gif, .jpg, .tga, .png) images may be loaded. To load\n correctly, images must be located in the data directory of the\n current sketch. In most cases, load all images in setup to preload\n them at the start of the program. Loading images inside draw will\n reduce the speed of a program.\n\n The filename parameter can also be a URL to a file found online.\n\n If an image is not loaded successfully, the null value is returned\n and an error message will be printed to the console. The error\n message does not halt the program, however the null value may cause\n a NullPointerException if your code does not check whether the value\n returned from load-image is nil.\n\n Depending on the type of error, a PImage object may still be\n returned, but the width and height of the image will be set to\n -1. This happens if bad image data is returned or cannot be decoded\n properly. Sometimes this happens with image URLs that produce a 403\n error or that redirect to a password prompt, because load-image\n will attempt to interpret the HTML as image data."}, bezier {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Curves", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 12, :method-params ([x1 y1 cx1 cy1 cx2 cy2 x2 y2] [x1 y1 z1 cx1 cy1 cz1 cx2 cy2 cz2 x2 y2 z2]), :arglists ([x1 y1 cx1 cy1 cx2 cy2 x2 y2] [x1 y1 z1 cx1 cy1 cz1 cx2 cy2 cz2 x2 y2 z2]), :arglists-meta (nil nil)}, :processing-name "bezier()", :column 3, :requires-bindings true, :line 667, :end-line 667, :arglists (quote ([x1 y1 cx1 cy1 cx2 cy2 x2 y2] [x1 y1 z1 cx1 cy1 cz1 cx2 cy2 cz2 x2 y2 z2])), :doc "Draws a Bezier curve on the screen. These curves are defined by a\n series of anchor and control points. The first two parameters\n specify the first anchor point and the last two parameters specify\n the other anchor point. The middle parameters specify the control\n points which define the shape of the curve."}, :added "1.0", :name quil.core/bezier, :variadic false, :subcategory "Curves", :file "out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 12, :method-params ([x1 y1 cx1 cy1 cx2 cy2 x2 y2] [x1 y1 z1 cx1 cy1 cz1 cx2 cy2 cz2 x2 y2 z2]), :arglists ([x1 y1 cx1 cy1 cx2 cy2 x2 y2] [x1 y1 z1 cx1 cy1 cz1 cx2 cy2 cz2 x2 y2 z2]), :arglists-meta (nil nil)}, :processing-name "bezier()", :method-params ([x1 y1 cx1 cy1 cx2 cy2 x2 y2] [x1 y1 z1 cx1 cy1 cz1 cx2 cy2 cz2 x2 y2 z2]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 661, :end-line 667, :max-fixed-arity 12, :fn-var true, :arglists ([x1 y1 cx1 cy1 cx2 cy2 x2 y2] [x1 y1 z1 cx1 cy1 cz1 cx2 cy2 cz2 x2 y2 z2]), :doc "Draws a Bezier curve on the screen. These curves are defined by a\n series of anchor and control points. The first two parameters\n specify the first anchor point and the last two parameters specify\n the other anchor point. The middle parameters specify the control\n points which define the shape of the curve."}, smooth {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [level]), :arglists ([] [level]), :arglists-meta (nil nil)}, :processing-name "smooth()", :column 3, :requires-bindings true, :line 3877, :end-line 3877, :arglists (quote ([] [level])), :doc "Draws all geometry with smooth (anti-aliased) edges. This will slow\n down the frame rate of the application, but will enhance the visual\n refinement.\n\n Must be called inside :settings handler.\n\n The level parameter (int) increases the level of smoothness with the\n P2D and P3D renderers. This is the level of over sampling applied to\n the graphics buffer. The value '2' will double the rendering size\n before scaling it down to the display size. This is called '2x\n anti-aliasing.' The value 4 is used for 4x anti-aliasing and 8 is\n specified for 8x anti-aliasing. If level is set to 0, it will disable\n all smoothing; it's the equivalent of the function noSmooth().\n The maximum anti-aliasing level is determined by the hardware of the\n machine that is running the software.\n\n Note that smooth will also improve image quality of resized images."}, :added "1.0", :name quil.core/smooth, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [level]), :arglists ([] [level]), :arglists-meta (nil nil)}, :processing-name "smooth()", :method-params ([] [level]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3871, :end-line 3877, :max-fixed-arity 1, :fn-var true, :arglists ([] [level]), :doc "Draws all geometry with smooth (anti-aliased) edges. This will slow\n down the frame rate of the application, but will enhance the visual\n refinement.\n\n Must be called inside :settings handler.\n\n The level parameter (int) increases the level of smoothness with the\n P2D and P3D renderers. This is the level of over sampling applied to\n the graphics buffer. The value '2' will double the rendering size\n before scaling it down to the display size. This is called '2x\n anti-aliasing.' The value 4 is used for 4x anti-aliasing and 8 is\n specified for 8x anti-aliasing. If level is set to 0, it will disable\n all smoothing; it's the equivalent of the function noSmooth().\n The maximum anti-aliasing level is determined by the hardware of the\n machine that is running the software.\n\n Note that smooth will also improve image quality of resized images."}, filter-modes {:name quil.core/filter-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 71, :end-column 14, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 71, :column 2, :end-line 71, :end-column 14}, :tag cljs.core/IMap}, shear-x {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "shearX()", :column 3, :requires-bindings true, :line 3776, :end-line 3776, :arglists (quote ([angle])), :doc "Shears a shape around the x-axis the amount specified by the angle\n parameter. Angles should be specified in radians (values from 0 to\n PI*2) or converted to radians with the radians() function. Objects\n are always sheared around their relative position to the origin and\n positive numbers shear objects in a clockwise direction.\n Transformations apply to everything that happens after and\n subsequent calls to the function accumulates the effect. For\n example, calling (shear-x (/ PI 2)) and then (shear-x (/ PI 2)) is\n the same as (shear-x PI). If shear-x is called within the draw fn,\n the transformation is reset when the loop begins again. This\n function works in P2D or JAVA2D mode.\n\n Technically, shear-x multiplies the current transformation matrix\n by a rotation matrix. This function can be further controlled by the\n push-matrix and pop-matrix fns."}, :added "1.0", :name quil.core/shear-x, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 10, :processing-name "shearX()", :method-params ([angle]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3770, :end-line 3776, :max-fixed-arity 1, :fn-var true, :arglists (quote ([angle])), :doc "Shears a shape around the x-axis the amount specified by the angle\n parameter. Angles should be specified in radians (values from 0 to\n PI*2) or converted to radians with the radians() function. Objects\n are always sheared around their relative position to the origin and\n positive numbers shear objects in a clockwise direction.\n Transformations apply to everything that happens after and\n subsequent calls to the function accumulates the effect. For\n example, calling (shear-x (/ PI 2)) and then (shear-x (/ PI 2)) is\n the same as (shear-x PI). If shear-x is called within the draw fn,\n the transformation is reset when the loop begins again. This\n function works in P2D or JAVA2D mode.\n\n Technically, shear-x multiplies the current transformation matrix\n by a rotation matrix. This function can be further controlled by the\n push-matrix and pop-matrix fns."}, stroke-weight {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :processing-name "strokeWeight()", :column 3, :requires-bindings true, :line 4100, :end-line 4100, :arglists (quote ([weight])), :doc "Sets the width of the stroke used for lines, points, and the border\n around shapes. All widths are set in units of pixels. "}, :added "1.0", :name quil.core/stroke-weight, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 16, :processing-name "strokeWeight()", :method-params ([weight]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4094, :end-line 4100, :max-fixed-arity 1, :fn-var true, :arglists (quote ([weight])), :doc "Sets the width of the stroke used for lines, points, and the border\n around shapes. All widths are set in units of pixels. "}, directional-light {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Lights", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 20, :processing-name "directionalLight()", :column 3, :requires-bindings true, :line 1473, :end-line 1473, :arglists (quote ([r g b nx ny nz])), :doc "Adds a directional light. Directional light comes from one\n direction and is stronger when hitting a surface squarely and weaker\n if it hits at a gentle angle. After hitting a surface, a\n directional lights scatters in all directions. Lights need to be\n included in the draw fn to remain persistent in a looping\n program. Placing them in the setup fn of a looping program will cause\n them to only have an effect the first time through the loop. The\n affect of the r, g, and b parameters is determined by the current\n color mode. The nx, ny, and nz parameters specify the direction the\n light is facing. For example, setting ny to -1 will cause the\n geometry to be lit from below (the light is facing directly upward)"}, :added "1.0", :name quil.core/directional-light, :variadic false, :subcategory "Lights", :file "out/quil/core.cljc", :end-column 20, :processing-name "directionalLight()", :method-params ([r g b nx ny nz]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1467, :end-line 1473, :max-fixed-arity 6, :fn-var true, :arglists (quote ([r g b nx ny nz])), :doc "Adds a directional light. Directional light comes from one\n direction and is stronger when hitting a surface squarely and weaker\n if it hits at a gentle angle. After hitting a surface, a\n directional lights scatters in all directions. Lights need to be\n included in the draw fn to remain persistent in a looping\n program. Placing them in the setup fn of a looping program will cause\n them to only have an effect the first time through the loop. The\n affect of the r, g, and b parameters is determined by the current\n color mode. The nx, ny, and nz parameters specify the direction the\n light is facing. For example, setting ny to -1 will cause the\n geometry to be lit from below (the light is facing directly upward)"}, frame-rate {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "frameRate()", :column 3, :requires-bindings true, :line 1879, :end-line 1879, :arglists (quote ([new-rate])), :doc "Specifies a new target framerate (number of frames to be displayed every\n second). If the processor is not fast enough to maintain the\n specified rate, it will not be achieved. For example, the function\n call (frame-rate 30) will attempt to refresh 30 times a second. It\n is recommended to set the frame rate within setup. The default rate\n is 60 frames per second."}, :added "1.0", :name quil.core/frame-rate, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 13, :processing-name "frameRate()", :method-params ([new-rate]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1873, :end-line 1879, :max-fixed-arity 1, :fn-var true, :arglists (quote ([new-rate])), :doc "Specifies a new target framerate (number of frames to be displayed every\n second). If the processor is not fast enough to maintain the\n specified rate, it will not be achieved. For example, the function\n call (frame-rate 30) will attempt to refresh 30 times a second. It\n is recommended to set the frame rate within setup. The default rate\n is 60 frames per second."}, hour {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Time & Date", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "hour()", :column 3, :requires-bindings false, :line 2052, :end-line 2052, :arglists (quote ([])), :doc "Returns the current hour as a value from 0 - 23."}, :added "1.0", :name quil.core/hour, :variadic false, :subcategory "Time & Date", :file "out/quil/core.cljc", :end-column 7, :processing-name "hour()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 2046, :end-line 2052, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns the current hour as a value from 0 - 23."}, fill-int {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([rgb] [rgb alpha]), :arglists ([rgb] [rgb alpha]), :arglists-meta (nil nil)}, :processing-name "fill()", :column 3, :requires-bindings true, :line 1727, :end-line 1727, :arglists (quote ([rgb] [rgb alpha])), :doc "Sets the color used to fill shapes."}, :added "1.0", :name quil.core/fill-int, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([rgb] [rgb alpha]), :arglists ([rgb] [rgb alpha]), :arglists-meta (nil nil)}, :processing-name "fill()", :method-params ([rgb] [rgb alpha]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1721, :end-line 1727, :max-fixed-arity 2, :fn-var true, :arglists ([rgb] [rgb alpha]), :doc "Sets the color used to fill shapes."}, atan {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Trigonometry", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "atan()", :column 3, :requires-bindings false, :line 458, :end-line 458, :arglists (quote ([n])), :doc "The inverse of tan, returns the arc tangent of a value. This\n function expects the values in the range of -Infinity to\n Infinity (exclusive) and values are returned in the range -PI/2 to\n PI/2 ."}, :added "1.0", :name quil.core/atan, :variadic false, :subcategory "Trigonometry", :file "out/quil/core.cljc", :end-column 7, :processing-name "atan()", :method-params ([n]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 452, :end-line 458, :max-fixed-arity 1, :fn-var true, :arglists (quote ([n])), :doc "The inverse of tan, returns the arc tangent of a value. This\n function expects the values in the range of -Infinity to\n Infinity (exclusive) and values are returned in the range -PI/2 to\n PI/2 ."}, stroke-join-modes {:name quil.core/stroke-join-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 65, :end-column 19, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 65, :column 2, :end-line 65, :end-column 19}, :tag cljs.core/IMap}, rotate-y {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :processing-name "rotateY()", :column 3, :requires-bindings true, :line 3485, :end-line 3485, :arglists (quote ([angle])), :doc "Rotates a shape around the y-axis the amount specified by the angle\n parameter. Angles should be specified in radians (values from 0\n to (* PI 2)) or converted to radians with the radians function.\n Objects are always rotated around their relative position to the\n origin and positive numbers rotate objects in a counterclockwise\n direction. Transformations apply to everything that happens after\n and subsequent calls to the function accumulates the effect. For\n example, calling (rotate-y HALF-PI) and then (rotate-y HALF-PI) is\n the same as (rotate-y PI). If rotate-y is called within the draw fn,\n the transformation is reset when the loop begins again. This\n function requires either the :p3d or :opengl renderer."}, :added "1.0", :name quil.core/rotate-y, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 11, :processing-name "rotateY()", :method-params ([angle]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3479, :end-line 3485, :max-fixed-arity 1, :fn-var true, :arglists (quote ([angle])), :doc "Rotates a shape around the y-axis the amount specified by the angle\n parameter. Angles should be specified in radians (values from 0\n to (* PI 2)) or converted to radians with the radians function.\n Objects are always rotated around their relative position to the\n origin and positive numbers rotate objects in a counterclockwise\n direction. Transformations apply to everything that happens after\n and subsequent calls to the function accumulates the effect. For\n example, calling (rotate-y HALF-PI) and then (rotate-y HALF-PI) is\n the same as (rotate-y PI). If rotate-y is called within the draw fn,\n the transformation is reset when the loop begins again. This\n function requires either the :p3d or :opengl renderer."}, day {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Time & Date", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :processing-name "day()", :column 3, :requires-bindings false, :line 1426, :end-line 1426, :arglists (quote ([])), :doc "Get the current day of the month (1 through 31)."}, :added "1.0", :name quil.core/day, :variadic false, :subcategory "Time & Date", :file "out/quil/core.cljc", :end-column 6, :processing-name "day()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 1420, :end-line 1426, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Get the current day of the month (1 through 31)."}, point-light {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Lights", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :processing-name "pointLight()", :column 3, :requires-bindings true, :line 3011, :end-line 3011, :arglists (quote ([r g b x y z])), :doc "Adds a point light. Lights need to be included in the draw() to\n remain persistent in a looping program. Placing them in the setup()\n of a looping program will cause them to only have an effect the\n first time through the loop. The affect of the r, g, and b\n parameters is determined by the current color mode. The x, y, and z\n parameters set the position of the light"}, :added "1.0", :name quil.core/point-light, :variadic false, :subcategory "Lights", :file "out/quil/core.cljc", :end-column 14, :processing-name "pointLight()", :method-params ([r g b x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3005, :end-line 3011, :max-fixed-arity 6, :fn-var true, :arglists (quote ([r g b x y z])), :doc "Adds a point light. Lights need to be included in the draw() to\n remain persistent in a looping program. Placing them in the setup()\n of a looping program will cause them to only have an effect the\n first time through the loop. The affect of the r, g, and b\n parameters is determined by the current color mode. The x, y, and z\n parameters set the position of the light"}, pmouse-x {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Mouse", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :processing-name "pmouseX", :column 3, :requires-bindings true, :line 2973, :end-line 2973, :arglists (quote ([])), :doc "Horizontal coordinate of the mouse in the previous frame"}, :added "1.0", :name quil.core/pmouse-x, :variadic false, :subcategory "Mouse", :file "out/quil/core.cljc", :end-column 11, :processing-name "pmouseX", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2967, :end-line 2973, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Horizontal coordinate of the mouse in the previous frame"}, get-sketch-by-id {:category nil, :protocol-inline nil, :meta {:category nil, :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 22, :processing-name "getSketchById()", :column 6, :requires-bindings true, :line 185, :end-line 185, :arglists (quote ([id])), :doc "Returns sketch object by id of canvas element of sketch."}, :added "1.0", :name quil.core/get-sketch-by-id, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 22, :processing-name "getSketchById()", :method-params ([id]), :protocol-impl nil, :arglists-meta (nil nil), :column 4, :requires-bindings true, :line 179, :end-line 185, :max-fixed-arity 1, :fn-var true, :arglists (quote ([id])), :doc "Returns sketch object by id of canvas element of sketch."}, stroke {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([rgb] [rgb alpha] [x y z] [x y z a]), :arglists ([rgb] [rgb alpha] [x y z] [x y z a]), :arglists-meta (nil nil nil nil)}, :processing-name "stroke()", :column 3, :requires-bindings true, :line 4042, :end-line 4042, :arglists (quote ([rgb] [rgb alpha] [x y z] [x y z a])), :doc "Sets the color used to draw lines and borders around shapes. This\n color is either specified in terms of the RGB or HSB color depending\n on the current color-mode (the default color space is RGB, with\n each value in the range from 0 to 255)."}, :added "1.0", :name quil.core/stroke, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([rgb] [rgb alpha] [x y z] [x y z a]), :arglists ([rgb] [rgb alpha] [x y z] [x y z a]), :arglists-meta (nil nil nil nil)}, :processing-name "stroke()", :method-params ([rgb] [rgb alpha] [x y z] [x y z a]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :requires-bindings true, :line 4036, :end-line 4042, :max-fixed-arity 4, :fn-var true, :arglists ([rgb] [rgb alpha] [x y z] [x y z a]), :doc "Sets the color used to draw lines and borders around shapes. This\n color is either specified in terms of the RGB or HSB color depending\n on the current color-mode (the default color space is RGB, with\n each value in the range from 0 to 255)."}, mouse-pressed? {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Mouse", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 17, :processing-name "mousePressed", :column 3, :requires-bindings true, :line 2606, :end-line 2606, :arglists (quote ([])), :doc "Variable storing if a mouse button is pressed. The value of the\n system variable mousePressed is true if a mouse button is pressed\n and false if a button is not pressed."}, :added "1.0", :name quil.core/mouse-pressed?, :variadic false, :subcategory "Mouse", :file "out/quil/core.cljc", :end-column 17, :processing-name "mousePressed", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2600, :end-line 2606, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Variable storing if a mouse button is pressed. The value of the\n system variable mousePressed is true if a mouse button is pressed\n and false if a button is not pressed."}, key-pressed? {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Keyboard", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "keyPressed", :column 3, :requires-bindings true, :line 2217, :end-line 2217, :arglists (quote ([])), :doc "true if any key is currently pressed, false otherwise."}, :added "1.0", :name quil.core/key-pressed?, :variadic false, :subcategory "Keyboard", :file "out/quil/core.cljc", :end-column 15, :processing-name "keyPressed", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2211, :end-line 2217, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "true if any key is currently pressed, false otherwise."}, quadratic-vertex {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "2.0", :subcategory "Vertex", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 19, :top-fn {:variadic false, :max-fixed-arity 6, :method-params ([cx cy x3 y3] [cx cy cz x3 y3 z3]), :arglists ([cx cy x3 y3] [cx cy cz x3 y3 z3]), :arglists-meta (nil nil)}, :processing-name "quadraticVertex()", :column 3, :requires-bindings true, :line 3170, :end-line 3170, :arglists (quote ([cx cy x3 y3] [cx cy cz x3 y3 z3])), :doc "Specifies vertex coordinates for quadratic Bezier curves. Each call to\n quadratic-vertex defines the position of one control points and one\n anchor point of a Bezier curve, adding a new segment to a line or shape.\n The first time quadratic-vertex is used within a begin-shape call, it\n must be prefaced with a call to vertex to set the first anchor point.\n This function must be used between begin-shape and end-shape and only\n when there is no MODE parameter specified to begin-shape. Using the 3D\n version requires rendering with :p3d."}, :added "2.0", :name quil.core/quadratic-vertex, :variadic false, :subcategory "Vertex", :file "out/quil/core.cljc", :end-column 19, :top-fn {:variadic false, :max-fixed-arity 6, :method-params ([cx cy x3 y3] [cx cy cz x3 y3 z3]), :arglists ([cx cy x3 y3] [cx cy cz x3 y3 z3]), :arglists-meta (nil nil)}, :processing-name "quadraticVertex()", :method-params ([cx cy x3 y3] [cx cy cz x3 y3 z3]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3164, :end-line 3170, :max-fixed-arity 6, :fn-var true, :arglists ([cx cy x3 y3] [cx cy cz x3 y3 z3]), :doc "Specifies vertex coordinates for quadratic Bezier curves. Each call to\n quadratic-vertex defines the position of one control points and one\n anchor point of a Bezier curve, adding a new segment to a line or shape.\n The first time quadratic-vertex is used within a begin-shape call, it\n must be prefaced with a call to vertex to set the first anchor point.\n This function must be used between begin-shape and end-shape and only\n when there is no MODE parameter specified to begin-shape. Using the 3D\n version requires rendering with :p3d."}, texture-wrap-modes {:name quil.core/texture-wrap-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 70, :end-column 20, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 70, :column 2, :end-line 70, :end-column 20}, :tag cljs.core/IMap}, noise-seed {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Random", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "noiseSeed()", :column 3, :requires-bindings true, :line 2771, :end-line 2771, :arglists (quote ([val])), :doc "Sets the seed value for noise. By default, noise produces different\n results each time the program is run. Set the value parameter to a\n constant to return the same pseudo-random numbers each time the\n software is run."}, :added "1.0", :name quil.core/noise-seed, :variadic false, :subcategory "Random", :file "out/quil/core.cljc", :end-column 13, :processing-name "noiseSeed()", :method-params ([val]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2765, :end-line 2771, :max-fixed-arity 1, :fn-var true, :arglists (quote ([val])), :doc "Sets the seed value for noise. By default, noise produces different\n results each time the program is run. Set the value parameter to a\n constant to return the same pseudo-random numbers each time the\n software is run."}, apply-matrix {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "applyMatrix()", :column 3, :requires-bindings true, :line 396, :end-line 396, :arglists (quote ([n00 n01 n02 n03 n10 n11 n12 n13 n20 n21 n22 n23 n30 n31 n32 n33])), :doc "Multiplies the current matrix by the one specified through the\n parameters. This is very slow because it will try to calculate the\n inverse of the transform, so avoid it whenever possible. The\n equivalent function in OpenGL is glMultMatrix()."}, :added "1.0", :name quil.core/apply-matrix, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 15, :processing-name "applyMatrix()", :method-params ([n00 n01 n02 n03 n10 n11 n12 n13 n20 n21 n22 n23 n30 n31 n32 n33]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 390, :end-line 396, :max-fixed-arity 16, :fn-var true, :arglists (quote ([n00 n01 n02 n03 n10 n11 n12 n13 n20 n21 n22 n23 n30 n31 n32 n33])), :doc "Multiplies the current matrix by the one specified through the\n parameters. This is very slow because it will try to calculate the\n inverse of the transform, so avoid it whenever possible. The\n equivalent function in OpenGL is glMultMatrix()."}, copy {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Pixels", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([[sx sy swidth sheight] [dx dy dwidth dheight]] [src-img [sx sy swidth sheight] [dx dy dwidth dheight]] [src-img dest-img [sx sy swidth sheight] [dx dy dwidth dheight]]), :arglists ([[sx sy swidth sheight] [dx dy dwidth dheight]] [src-img [sx sy swidth sheight] [dx dy dwidth dheight]] [src-img dest-img [sx sy swidth sheight] [dx dy dwidth dheight]]), :arglists-meta (nil nil nil)}, :processing-name "copy()", :column 3, :requires-bindings true, :line 1112, :end-line 1112, :arglists (quote ([[sx sy swidth sheight] [dx dy dwidth dheight]] [src-img [sx sy swidth sheight] [dx dy dwidth dheight]] [src-img dest-img [sx sy swidth sheight] [dx dy dwidth dheight]])), :doc "Copies a region of pixels from the one image to another. If src-img\n is not specified it defaults to current-graphics. If dest-img is not\n specified - it defaults to current-graphics. If the source\n and destination regions aren't the same size, it will automatically\n resize the source pixels to fit the specified target region. No\n alpha information is used in the process, however if the source\n image has an alpha channel set, it will be copied as well. "}, :added "1.0", :name quil.core/copy, :variadic false, :subcategory "Pixels", :file "out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([[sx sy swidth sheight] [dx dy dwidth dheight]] [src-img [sx sy swidth sheight] [dx dy dwidth dheight]] [src-img dest-img [sx sy swidth sheight] [dx dy dwidth dheight]]), :arglists ([[sx sy swidth sheight] [dx dy dwidth dheight]] [src-img [sx sy swidth sheight] [dx dy dwidth dheight]] [src-img dest-img [sx sy swidth sheight] [dx dy dwidth dheight]]), :arglists-meta (nil nil nil)}, :processing-name "copy()", :method-params ([[sx sy swidth sheight] [dx dy dwidth dheight]] [src-img [sx sy swidth sheight] [dx dy dwidth dheight]] [src-img dest-img [sx sy swidth sheight] [dx dy dwidth dheight]]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 1106, :end-line 1112, :max-fixed-arity 4, :fn-var true, :arglists ([[sx sy swidth sheight] [dx dy dwidth dheight]] [src-img [sx sy swidth sheight] [dx dy dwidth dheight]] [src-img dest-img [sx sy swidth sheight] [dx dy dwidth dheight]]), :doc "Copies a region of pixels from the one image to another. If src-img\n is not specified it defaults to current-graphics. If dest-img is not\n specified - it defaults to current-graphics. If the source\n and destination regions aren't the same size, it will automatically\n resize the source pixels to fit the specified target region. No\n alpha information is used in the process, however if the source\n image has an alpha channel set, it will be copied as well. "}, random-3d {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "2.6", :subcategory "Random", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "random3d()", :column 3, :requires-bindings true, :line 2689, :end-line 2689, :arglists (quote ([])), :doc "Returns a new 3D unit vector in a random direction"}, :added "2.6", :name quil.core/random-3d, :variadic false, :subcategory "Random", :file "out/quil/core.cljc", :end-column 12, :processing-name "random3d()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2683, :end-line 2689, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns a new 3D unit vector in a random direction"}, begin-shape {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Vertex", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [mode]), :arglists ([] [mode]), :arglists-meta (nil nil)}, :processing-name "beginShape()", :column 3, :requires-bindings true, :line 635, :end-line 635, :arglists (quote ([] [mode])), :doc "Enables the creation of complex forms. begin-shape begins recording\n vertices for a shape and end-shape stops recording. Use the mode\n keyword to specify which shape create from the provided\n vertices. With no mode specified, the shape can be any irregular\n polygon.\n\n The available mode keywords are :points, :lines, :triangles,\n :triangle-fan, :triangle-strip,\n :quads, :quad-strip.\n\n After calling the begin-shape function, a series of vertex commands\n must follow. To stop drawing the shape, call end-shape. The vertex\n function with two parameters specifies a position in 2D and the\n vertex function with three parameters specifies a position in\n 3D. Each shape will be outlined with the current stroke color and\n filled with the fill color.\n\n Transformations such as translate, rotate, and scale do not work\n within begin-shape. It is also not possible to use other shapes,\n such as ellipse or rect within begin-shape."}, :added "1.0", :name quil.core/begin-shape, :variadic false, :subcategory "Vertex", :file "out/quil/core.cljc", :end-column 14, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [mode]), :arglists ([] [mode]), :arglists-meta (nil nil)}, :processing-name "beginShape()", :method-params ([] [mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 629, :end-line 635, :max-fixed-arity 1, :fn-var true, :arglists ([] [mode]), :doc "Enables the creation of complex forms. begin-shape begins recording\n vertices for a shape and end-shape stops recording. Use the mode\n keyword to specify which shape create from the provided\n vertices. With no mode specified, the shape can be any irregular\n polygon.\n\n The available mode keywords are :points, :lines, :triangles,\n :triangle-fan, :triangle-strip,\n :quads, :quad-strip.\n\n After calling the begin-shape function, a series of vertex commands\n must follow. To stop drawing the shape, call end-shape. The vertex\n function with two parameters specifies a position in 2D and the\n vertex function with three parameters specifies a position in\n 3D. Each shape will be outlined with the current stroke color and\n filled with the fill color.\n\n Transformations such as translate, rotate, and scale do not work\n within begin-shape. It is also not possible to use other shapes,\n such as ellipse or rect within begin-shape."}, set-state! {:category "State", :protocol-inline nil, :meta {:category "State", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :top-fn {:variadic true, :max-fixed-arity 0, :method-params [(state-vals)], :arglists ([& state-vals]), :arglists-meta (nil)}, :column 3, :requires-bindings true, :line 236, :end-line 236, :arglists (quote ([& state-vals])), :doc "Set sketch-specific state. May only be called once (ideally in the\n setup fn). Subsequent calls have no effect.\n\n Example:\n (set-state! :foo 1 :bar (atom true) :baz (/ (width) 2))"}, :added "1.0", :name quil.core/set-state!, :variadic true, :subcategory nil, :file "out/quil/core.cljc", :end-column 13, :top-fn {:variadic true, :max-fixed-arity 0, :method-params [(state-vals)], :arglists ([& state-vals]), :arglists-meta (nil)}, :method-params [(state-vals)], :protocol-impl nil, :arglists-meta (nil), :column 1, :requires-bindings true, :line 231, :end-line 236, :max-fixed-arity 0, :fn-var true, :arglists ([& state-vals]), :doc "Set sketch-specific state. May only be called once (ideally in the\n setup fn). Subsequent calls have no effect.\n\n Example:\n (set-state! :foo 1 :bar (atom true) :baz (/ (width) 2))"}, stroke-join {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :processing-name "strokeJoin()", :column 3, :requires-bindings true, :line 4080, :end-line 4080, :arglists (quote ([join-mode])), :doc "Sets the style of the joints which connect line\n segments. These joints are either mitered, beveled, or rounded and\n specified with the corresponding parameters :miter, :bevel, and\n :round. The default joint is :miter.\n\n This function is not available with the :p2d, :p3d, or :opengl\n renderers."}, :added "1.0", :name quil.core/stroke-join, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 14, :processing-name "strokeJoin()", :method-params ([join-mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4074, :end-line 4080, :max-fixed-arity 1, :fn-var true, :arglists (quote ([join-mode])), :doc "Sets the style of the joints which connect line\n segments. These joints are either mitered, beveled, or rounded and\n specified with the corresponding parameters :miter, :bevel, and\n :round. The default joint is :miter.\n\n This function is not available with the :p2d, :p3d, or :opengl\n renderers."}, cos {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Trigonometry", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :processing-name "cos()", :column 3, :requires-bindings false, :line 1138, :end-line 1138, :arglists (quote ([angle])), :doc "Calculates the cosine of an angle. This function expects the values\n of the angle parameter to be provided in radians (values from 0 to\n Math/PI*2). Values are returned in the range -1 to 1."}, :added "1.0", :name quil.core/cos, :variadic false, :subcategory "Trigonometry", :file "out/quil/core.cljc", :end-column 6, :processing-name "cos()", :method-params ([angle]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 1132, :end-line 1138, :max-fixed-arity 1, :fn-var true, :arglists (quote ([angle])), :doc "Calculates the cosine of an angle. This function expects the values\n of the angle parameter to be provided in radians (values from 0 to\n Math/PI*2). Values are returned in the range -1 to 1."}, curve-tightness {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Curves", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 18, :processing-name "curveTightness()", :column 3, :requires-bindings true, :line 1389, :end-line 1389, :arglists (quote ([ti])), :doc "Modifies the quality of forms created with curve and\n curve-vertex. The parameter squishy determines how the curve fits\n to the vertex points. The value 0.0 is the default value for\n squishy (this value defines the curves to be Catmull-Rom splines)\n and the value 1.0 connects all the points with straight\n lines. Values within the range -5.0 and 5.0 will deform the curves\n but will leave them recognizable and as values increase in\n magnitude, they will continue to deform."}, :added "1.0", :name quil.core/curve-tightness, :variadic false, :subcategory "Curves", :file "out/quil/core.cljc", :end-column 18, :processing-name "curveTightness()", :method-params ([ti]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1383, :end-line 1389, :max-fixed-arity 1, :fn-var true, :arglists (quote ([ti])), :doc "Modifies the quality of forms created with curve and\n curve-vertex. The parameter squishy determines how the curve fits\n to the vertex points. The value 0.0 is the default value for\n squishy (this value defines the curves to be Catmull-Rom splines)\n and the value 1.0 connects all the points with straight\n lines. Values within the range -5.0 and 5.0 will deform the curves\n but will leave them recognizable and as values increase in\n magnitude, they will continue to deform."}, tan {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Trigonometry", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :processing-name "tan()", :column 3, :requires-bindings false, :line 4112, :end-line 4112, :arglists (quote ([angle])), :doc "Calculates the ratio of the sine and cosine of an angle. This\n function expects the values of the angle parameter to be provided in\n radians (values from 0 to PI*2). Values are returned in the range\n infinity to -infinity."}, :added "1.0", :name quil.core/tan, :variadic false, :subcategory "Trigonometry", :file "out/quil/core.cljc", :end-column 6, :processing-name "tan()", :method-params ([angle]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 4106, :end-line 4112, :max-fixed-arity 1, :fn-var true, :arglists (quote ([angle])), :doc "Calculates the ratio of the sine and cosine of an angle. This\n function expects the values of the angle parameter to be provided in\n radians (values from 0 to PI*2). Values are returned in the range\n infinity to -infinity."}, triangle {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "2D Primitives", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :processing-name "triangle()", :column 3, :requires-bindings true, :line 4509, :end-line 4509, :arglists (quote ([x1 y1 x2 y2 x3 y3])), :doc "A triangle is a plane created by connecting three points. The first\n two arguments specify the first point, the middle two arguments\n specify the second point, and the last two arguments specify the\n third point."}, :added "1.0", :name quil.core/triangle, :variadic false, :subcategory "2D Primitives", :file "out/quil/core.cljc", :end-column 11, :processing-name "triangle()", :method-params ([x1 y1 x2 y2 x3 y3]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4503, :end-line 4509, :max-fixed-arity 6, :fn-var true, :arglists (quote ([x1 y1 x2 y2 x3 y3])), :doc "A triangle is a plane created by connecting three points. The first\n two arguments specify the first point, the middle two arguments\n specify the second point, and the last two arguments specify the\n third point."}, emissive {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Material Properties", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([c] [r g b]), :arglists ([c] [r g b]), :arglists-meta (nil nil)}, :processing-name "emissive()", :column 3, :requires-bindings true, :line 1594, :end-line 1594, :arglists (quote ([c] [r g b])), :doc "Sets the emissive color of the material used for drawing shapes\n drawn to the screen. Used in combination with ambient, specular, and\n shininess in setting the material properties of shapes.\n\n If passed one arg - it is assumed to be an int (i.e. a color),\n multiple args are converted to floats."}, :added "1.0", :name quil.core/emissive, :variadic false, :subcategory "Material Properties", :file "out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([c] [r g b]), :arglists ([c] [r g b]), :arglists-meta (nil nil)}, :processing-name "emissive()", :method-params ([c] [r g b]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1588, :end-line 1594, :max-fixed-arity 3, :fn-var true, :arglists ([c] [r g b]), :doc "Sets the emissive color of the material used for drawing shapes\n drawn to the screen. Used in combination with ambient, specular, and\n shininess in setting the material properties of shapes.\n\n If passed one arg - it is assumed to be an int (i.e. a color),\n multiple args are converted to floats."}, clear-no-fill-cljs {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 1693, :column 11, :end-line 1693, :end-column 29, :private true, :arglists (quote ([graphics])), :doc "Sets custom property on graphcs object indicating that it has\n fill color."}, :private true, :name quil.core/clear-no-fill-cljs, :variadic false, :file "out/quil/core.cljc", :end-column 29, :method-params ([graphics]), :protocol-impl nil, :arglists-meta (nil nil), :column 4, :line 1693, :end-line 1693, :max-fixed-arity 1, :fn-var true, :arglists (quote ([graphics])), :doc "Sets custom property on graphcs object indicating that it has\n fill color."}, sketch {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :top-fn {:variadic true, :max-fixed-arity 0, :method-params [(opts)], :arglists ([& opts]), :arglists-meta (nil)}, :column 3, :requires-bindings false, :line 4724, :end-line 4724, :arglists (quote ([& opts])), :doc "Create and start a new visualisation applet. Can be used to create\n new sketches programmatically. See documentation for 'defsketch' for\n list of available options."}, :added "1.0", :name quil.core/sketch, :variadic true, :subcategory nil, :file "out/quil/core.cljc", :end-column 9, :top-fn {:variadic true, :max-fixed-arity 0, :method-params [(opts)], :arglists ([& opts]), :arglists-meta (nil)}, :method-params [(opts)], :protocol-impl nil, :arglists-meta (nil), :column 1, :requires-bindings false, :line 4720, :end-line 4724, :max-fixed-arity 0, :fn-var true, :arglists ([& opts]), :doc "Create and start a new visualisation applet. Can be used to create\n new sketches programmatically. See documentation for 'defsketch' for\n list of available options."}, color {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([gray] [gray alpha] [r g b] [r g b a]), :arglists ([gray] [gray alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "color()", :column 3, :requires-bindings true, :line 1019, :end-line 1019, :arglists (quote ([gray] [gray alpha] [r g b] [r g b a])), :doc "Creates an integer representation of a color The parameters are\n interpreted as RGB or HSB values depending on the current\n color-mode. The default mode is RGB values from 0 to 255 and\n therefore, the function call (color 255 204 0) will return a bright\n yellow. Args are cast to floats.\n\n r - red or hue value\n g - green or saturation value\n b - blue or brightness value\n a - alpha value"}, :added "1.0", :name quil.core/color, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([gray] [gray alpha] [r g b] [r g b a]), :arglists ([gray] [gray alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "color()", :method-params ([gray] [gray alpha] [r g b] [r g b a]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :requires-bindings true, :line 1013, :end-line 1019, :max-fixed-arity 4, :fn-var true, :arglists ([gray] [gray alpha] [r g b] [r g b a]), :doc "Creates an integer representation of a color The parameters are\n interpreted as RGB or HSB values depending on the current\n color-mode. The default mode is RGB values from 0 to 255 and\n therefore, the function call (color 255 204 0) will return a bright\n yellow. Args are cast to floats.\n\n r - red or hue value\n g - green or saturation value\n b - blue or brightness value\n a - alpha value"}, arc {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "2D Primitives", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :processing-name "arc()", :column 3, :requires-bindings true, :line 422, :end-line 422, :arglists (quote ([x y width height start stop])), :doc "Draws an arc in the display window. Arcs are drawn along the outer\n edge of an ellipse defined by the x, y, width and height\n parameters. The origin or the arc's ellipse may be changed with the\n ellipse-mode function. The start and stop parameters specify the\n angles at which to draw the arc. The mode is either :open, :chord or :pie."}, :added "1.0", :name quil.core/arc, :variadic false, :subcategory "2D Primitives", :file "out/quil/core.cljc", :end-column 6, :processing-name "arc()", :method-params ([x y width height start stop]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 416, :end-line 422, :max-fixed-arity 6, :fn-var true, :arglists (quote ([x y width height start stop])), :doc "Draws an arc in the display window. Arcs are drawn along the outer\n edge of an ellipse defined by the x, y, width and height\n parameters. The origin or the arc's ellipse may be changed with the\n ellipse-mode function. The start and stop parameters specify the\n angles at which to draw the arc. The mode is either :open, :chord or :pie."}, text-align {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([align] [align-x align-y]), :arglists ([align] [align-x align-y]), :arglists-meta (nil nil)}, :processing-name "textAlign()", :column 3, :requires-bindings true, :line 4204, :end-line 4204, :arglists (quote ([align] [align-x align-y])), :doc "Sets the current alignment for drawing text. Available modes are:\n\n horizontal - :left, :center, and :right\n vertical - :top, :bottom, :center, and :baseline\n\n An optional second parameter specifies the vertical alignment\n mode. :baseline is the default. The :top and :center parameters are\n straightforward. The :bottom parameter offsets the line based on the\n current text-descent. For multiple lines, the final line will be\n aligned to the bottom, with the previous lines appearing above it.\n\n When using text with width and height parameters, :baseline is\n ignored, and treated as :top. (Otherwise, text would by default draw\n outside the box, since :baseline is the default setting. :baseline is\n not a useful drawing mode for text drawn in a rectangle.)\n\n The vertical alignment is based on the value of text-ascent, which\n many fonts do not specify correctly. It may be necessary to use a\n hack and offset by a few pixels by hand so that the offset looks\n correct. To do this as less of a hack, use some percentage of\n text-ascent or text-descent so that the hack works even if you\n change the size of the font."}, :added "1.0", :name quil.core/text-align, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([align] [align-x align-y]), :arglists ([align] [align-x align-y]), :arglists-meta (nil nil)}, :processing-name "textAlign()", :method-params ([align] [align-x align-y]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4198, :end-line 4204, :max-fixed-arity 2, :fn-var true, :arglists ([align] [align-x align-y]), :doc "Sets the current alignment for drawing text. Available modes are:\n\n horizontal - :left, :center, and :right\n vertical - :top, :bottom, :center, and :baseline\n\n An optional second parameter specifies the vertical alignment\n mode. :baseline is the default. The :top and :center parameters are\n straightforward. The :bottom parameter offsets the line based on the\n current text-descent. For multiple lines, the final line will be\n aligned to the bottom, with the previous lines appearing above it.\n\n When using text with width and height parameters, :baseline is\n ignored, and treated as :top. (Otherwise, text would by default draw\n outside the box, since :baseline is the default setting. :baseline is\n not a useful drawing mode for text drawn in a rectangle.)\n\n The vertical alignment is based on the value of text-ascent, which\n many fonts do not specify correctly. It may be necessary to use a\n hack and offset by a few pixels by hand so that the offset looks\n correct. To do this as less of a hack, use some percentage of\n text-ascent or text-descent so that the hack works even if you\n change the size of the font."}, text-width {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "textWidth()", :column 3, :requires-bindings true, :line 4402, :end-line 4402, :arglists (quote ([data])), :doc "Calculates and returns the width of any text string."}, :added "1.0", :name quil.core/text-width, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 13, :processing-name "textWidth()", :method-params ([data]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4396, :end-line 4402, :max-fixed-arity 1, :fn-var true, :arglists (quote ([data])), :doc "Calculates and returns the width of any text string."}, mouse-x {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Mouse", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "mouseX", :column 3, :requires-bindings true, :line 2620, :end-line 2620, :arglists (quote ([])), :doc "Current horizontal coordinate of the mouse."}, :added "1.0", :name quil.core/mouse-x, :variadic false, :subcategory "Mouse", :file "out/quil/core.cljc", :end-column 10, :processing-name "mouseX", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2614, :end-line 2620, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Current horizontal coordinate of the mouse."}, TWO-PI {:name quil.core/TWO-PI, :file "out/quil/core.cljc", :line 80, :column 1, :end-line 80, :end-column 12, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 80, :column 6, :end-line 80, :end-column 12}, :tag number}, mag {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([a b] [a b c]), :arglists ([a b] [a b c]), :arglists-meta (nil nil)}, :processing-name "mag()", :column 3, :requires-bindings false, :line 2442, :end-line 2442, :arglists (quote ([a b] [a b c])), :doc "Calculates the magnitude (or length) of a vector. A vector is a\n direction in space commonly used in computer graphics and linear\n algebra. Because it has no start position, the magnitude of a vector\n can be thought of as the distance from coordinate (0,0) to its (x,y)\n value. Therefore, mag is a shortcut for writing (dist 0 0 x y)."}, :added "1.0", :name quil.core/mag, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 6, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([a b] [a b c]), :arglists ([a b] [a b c]), :arglists-meta (nil nil)}, :processing-name "mag()", :method-params ([a b] [a b c]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 2436, :end-line 2442, :max-fixed-arity 3, :fn-var true, :arglists ([a b] [a b c]), :doc "Calculates the magnitude (or length) of a vector. A vector is a\n direction in space commonly used in computer graphics and linear\n algebra. Because it has no start position, the magnitude of a vector\n can be thought of as the distance from coordinate (0,0) to its (x,y)\n value. Therefore, mag is a shortcut for writing (dist 0 0 x y)."}, exit {:category "Structure", :protocol-inline nil, :meta {:category "Structure", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "exit()", :column 3, :requires-bindings true, :line 1671, :end-line 1671, :arglists (quote ([])), :doc "Quits/stops/exits the program. Rather than terminating\n immediately, exit will cause the sketch to exit after draw has\n completed (or after setup completes if called during the setup\n method). "}, :added "1.0", :name quil.core/exit, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 7, :processing-name "exit()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1665, :end-line 1671, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Quits/stops/exits the program. Rather than terminating\n immediately, exit will cause the sketch to exit after draw has\n completed (or after setup completes if called during the setup\n method). "}, map-range {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "map()", :column 3, :requires-bindings false, :line 2461, :end-line 2461, :arglists (quote ([val low1 high1 low2 high2])), :doc "Re-maps a number from one range to another.\n\n Numbers outside the range are not clamped to 0 and 1, because\n out-of-range values are often intentional and useful."}, :added "1.0", :name quil.core/map-range, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 12, :processing-name "map()", :method-params ([val low1 high1 low2 high2]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 2455, :end-line 2461, :max-fixed-arity 5, :fn-var true, :arglists (quote ([val low1 high1 low2 high2])), :doc "Re-maps a number from one range to another.\n\n Numbers outside the range are not clamped to 0 and 1, because\n out-of-range values are often intentional and useful."}, model-x {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Coordinates", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "modelX()", :column 3, :requires-bindings true, :line 2524, :end-line 2524, :arglists (quote ([x y z])), :doc "Returns the three-dimensional x, y, z position in model space. This\n returns the x value for a given coordinate based on the current set\n of transformations (scale, rotate, translate, etc.) The x value can\n be used to place an object in space relative to the location of the\n original point once the transformations are no longer in use."}, :added "1.0", :name quil.core/model-x, :variadic false, :subcategory "Coordinates", :file "out/quil/core.cljc", :end-column 10, :processing-name "modelX()", :method-params ([x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2518, :end-line 2524, :max-fixed-arity 3, :fn-var true, :arglists (quote ([x y z])), :doc "Returns the three-dimensional x, y, z position in model space. This\n returns the x value for a given coordinate based on the current set\n of transformations (scale, rotate, translate, etc.) The x value can\n be used to place an object in space relative to the location of the\n original point once the transformations are no longer in use."}, sqrt {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "sqrt()", :column 3, :requires-bindings false, :line 3989, :end-line 3989, :arglists (quote ([a])), :doc "Calculates the square root of a number. The square root of a number\n is always positive, even though there may be a valid negative\n root. The square root s of number a is such that (= a (* s s)) . It\n is the opposite of squaring."}, :added "1.0", :name quil.core/sqrt, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 7, :processing-name "sqrt()", :method-params ([a]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 3983, :end-line 3989, :max-fixed-arity 1, :fn-var true, :arglists (quote ([a])), :doc "Calculates the square root of a number. The square root of a number\n is always positive, even though there may be a valid negative\n root. The square root s of number a is such that (= a (* s s)) . It\n is the opposite of squaring."}, saturation {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "saturation()", :column 3, :requires-bindings true, :line 3540, :end-line 3540, :arglists (quote ([c])), :doc "Extracts the saturation value from a color."}, :added "1.0", :name quil.core/saturation, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 13, :processing-name "saturation()", :method-params ([c]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3534, :end-line 3540, :max-fixed-arity 1, :fn-var true, :arglists (quote ([c])), :doc "Extracts the saturation value from a color."}, prc-print {:category "Output", :protocol-inline nil, :meta {:category "Output", :added "1.0", :subcategory "Text area", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :column 6, :require-bindings true, :line 170, :end-line 170, :arglists (quote ([msg])), :doc "Writes to the console area of the Processing environment.\n This is often helpful for looking at the data a program is producing.\n The companion function println() works like print(), but creates a new line of text for each call to the function.\n Individual elements can be separated with quotes (\"\") and joined with the addition operator (+). "}, :added "1.0", :name quil.core/prc-print, :variadic false, :subcategory "Text area", :file "out/quil/core.cljc", :end-column 15, :method-params ([msg]), :protocol-impl nil, :arglists-meta (nil nil), :column 4, :require-bindings true, :line 165, :end-line 170, :max-fixed-arity 1, :fn-var true, :arglists (quote ([msg])), :doc "Writes to the console area of the Processing environment.\n This is often helpful for looking at the data a program is producing.\n The companion function println() works like print(), but creates a new line of text for each call to the function.\n Individual elements can be separated with quotes (\"\") and joined with the addition operator (+). "}, text-font {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([font] [font size]), :arglists ([font] [font size]), :arglists-meta (nil nil)}, :processing-name "textFont()", :column 3, :requires-bindings true, :line 4269, :end-line 4269, :arglists (quote ([font] [font size])), :doc "Sets the current font that will be drawn with the text\n function. Fonts must be loaded with load-font before it can be\n used. This font will be used in all subsequent calls to the text\n function. If no size parameter is input, the font will appear at its\n original size until it is changed with text-size.\n\n Because fonts are usually bitmaped, you should create fonts at the\n sizes that will be used most commonly. Using textFont without the\n size parameter will result in the cleanest-looking text.\n\n With the default (JAVA2D) and PDF renderers, it's also possible to\n enable the use of native fonts via the command\n (hint :enable-native-fonts). This will produce vector text in JAVA2D\n sketches and PDF output in cases where the vector data is available:\n when the font is still installed, or the font is created via the\n create-font fn"}, :added "1.0", :name quil.core/text-font, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([font] [font size]), :arglists ([font] [font size]), :arglists-meta (nil nil)}, :processing-name "textFont()", :method-params ([font] [font size]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4263, :end-line 4269, :max-fixed-arity 2, :fn-var true, :arglists ([font] [font size]), :doc "Sets the current font that will be drawn with the text\n function. Fonts must be loaded with load-font before it can be\n used. This font will be used in all subsequent calls to the text\n function. If no size parameter is input, the font will appear at its\n original size until it is changed with text-size.\n\n Because fonts are usually bitmaped, you should create fonts at the\n sizes that will be used most commonly. Using textFont without the\n size parameter will result in the cleanest-looking text.\n\n With the default (JAVA2D) and PDF renderers, it's also possible to\n enable the use of native fonts via the command\n (hint :enable-native-fonts). This will produce vector text in JAVA2D\n sketches and PDF output in cases where the vector data is available:\n when the font is still installed, or the font is created via the\n create-font fn"}, scale {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([s] [sx sy] [sx sy sz]), :arglists ([s] [sx sy] [sx sy sz]), :arglists-meta (nil nil nil)}, :processing-name "scale()", :column 3, :requires-bindings true, :line 3589, :end-line 3589, :arglists (quote ([s] [sx sy] [sx sy sz])), :doc "Increases or decreases the size of a shape by expanding and\n contracting vertices. Objects always scale from their relative\n origin to the coordinate system. Scale values are specified as\n decimal percentages. For example, the function call (scale 2)\n increases the dimension of a shape by 200%. Transformations apply to\n everything that happens after and subsequent calls to the function\n multiply the effect. For example, calling (scale 2) and then\n (scale 1.5) is the same as (scale 3). If scale is called within\n draw, the transformation is reset when the loop begins again. Using\n this fuction with the z parameter requires specfying :p3d or :opengl\n as the renderer. This function can be further controlled by\n push-matrix and pop-matrix."}, :added "1.0", :name quil.core/scale, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([s] [sx sy] [sx sy sz]), :arglists ([s] [sx sy] [sx sy sz]), :arglists-meta (nil nil nil)}, :processing-name "scale()", :method-params ([s] [sx sy] [sx sy sz]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 3583, :end-line 3589, :max-fixed-arity 3, :fn-var true, :arglists ([s] [sx sy] [sx sy sz]), :doc "Increases or decreases the size of a shape by expanding and\n contracting vertices. Objects always scale from their relative\n origin to the coordinate system. Scale values are specified as\n decimal percentages. For example, the function call (scale 2)\n increases the dimension of a shape by 200%. Transformations apply to\n everything that happens after and subsequent calls to the function\n multiply the effect. For example, calling (scale 2) and then\n (scale 1.5) is the same as (scale 3). If scale is called within\n draw, the transformation is reset when the loop begins again. Using\n this fuction with the z parameter requires specfying :p3d or :opengl\n as the renderer. This function can be further controlled by\n push-matrix and pop-matrix."}, defsketch {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env app-name options)], :arglists ([&form &env app-name & options]), :arglists-meta (nil)}, :column 4, :requires-bindings false, :line 4736, :macro true, :end-line 4736, :arglists (quote ([app-name & options])), :doc "Define and start a sketch and bind it to a var with the symbol\n app-name. If any of the options to the various callbacks are\n symbols, it wraps them in a call to var to ensure they aren't\n inlined and that redefinitions to the original fns are reflected in\n the visualisation.\n\n Available options:\n\n :size - A vector of width and height for the sketch or :fullscreen.\n Defaults to [500 300]. If you're using :fullscreen you may\n want to enable present mode - :features [:present]\n\n :renderer - Specifies the renderer type. One of :p2d, :p3d, :java2d,\n :opengl, :pdf). Defaults to :java2d. :dxf renderer\n can't be used as sketch renderer. Use begin-raw method\n instead. In clojurescript only :p2d and :p3d renderers\n are supported.\n\n :output-file - Specifies an output file path. Only used in :pdf mode.\n Not supported in clojurescript.\n\n :title - A string which will be displayed at the top of\n the sketch window. Not supported in clojurescript.\n\n :features - A vector of keywords customizing sketch behaviour.\n Supported features:\n\n :keep-on-top - Sketch window will always be above other\n windows. Note: some platforms might not\n support always-on-top windows.\n Not supported in clojurescript.\n\n :exit-on-close - Shutdown JVM when sketch is closed.\n Not supported in clojurescript.\n\n :resizable - Makes sketch resizable.\n Not supported in clojurescript.\n\n :no-safe-fns - Do not catch and print exceptions thrown\n inside functions provided to sketch (like\n draw, mouse-click, key-pressed and\n other). By default all exceptions thrown\n inside these functions are catched. This\n prevents sketch from breaking when bad\n function was provided and allows you to\n fix it and reload it on fly. You can\n disable this behaviour by enabling\n :no-safe-fns feature.\n Not supported in clojurescript.\n\n :present - Switch to present mode (fullscreen without\n borders, OS panels). You may want to use\n this feature together with :size :fullscreen.\n Not supported in clojurescript.\n\n :no-start - Disables autostart if sketch was created using\n defsketch macro. To start sketch you have to\n call function created defsketch.\n Supported only in clojurescript.\n\n :global-key-events - Allows a sketch to receive any\n keyboard event sent to the page,\n regardless of whether the canvas it is\n loaded in has focus or not.\n Supported only in clojurescript.\n\n Usage example: :features [:keep-on-top :present]\n\n :bgcolor - Sets background color for unused space in present mode.\n Color is specified in hex format: #XXXXXX.\n Example: :bgcolor \"#00FFFF\" (cyan background)\n Not supported in clojurescript.\n\n :display - Sets what display should be used by this sketch.\n Displays are numbered starting from 0. Example: :display 1.\n Not supported in clojurescript.\n\n :setup - A function to be called once when setting the sketch up.\n\n :draw - A function to be repeatedly called at most n times per\n second where n is the target frame-rate set for\n the visualisation.\n\n :host - String id of canvas element or DOM element itself.\n Specifies host for the sketch. Must be specified in sketch,\n may be omitted in defsketch. If ommitted in defsketch,\n :host is set to the name of the sketch. If element with\n specified id is not found on the page and page is empty -\n new canvas element will be created. Used in clojurescript.\n\n :focus-gained - Called when the sketch gains focus.\n Not supported in clojurescript.\n\n :focus-lost - Called when the sketch loses focus.\n Not supported in clojurescript.\n\n :mouse-entered - Called when the mouse enters the sketch window.\n\n :mouse-exited - Called when the mouse leaves the sketch window\n\n :mouse-pressed - Called every time a mouse button is pressed.\n\n :mouse-released - Called every time a mouse button is released.\n\n :mouse-clicked - called once after a mouse button has been pressed\n and then released.\n\n :mouse-moved - Called every time the mouse moves and a button is\n not pressed.\n\n :mouse-dragged - Called every time the mouse moves and a button is\n pressed.\n\n :mouse-wheel - Called every time mouse wheel is rotated.\n Takes 1 argument - wheel rotation, an int.\n Negative values if the mouse wheel was rotated\n up/away from the user, and positive values\n if the mouse wheel was rotated down/ towards the user\n\n :key-pressed - Called every time any key is pressed.\n\n :key-released - Called every time any key is released.\n\n :key-typed - Called once every time non-modifier keys are\n pressed.\n\n :on-close - Called once, when sketch is closed\n Not supported in clojurescript.\n\n :middleware - Vector of middleware to be applied to the sketch.\n Middleware will be applied in the same order as in comp\n function: [f g] will be applied as (f (g options)).\n\n :settings - cousin of :setup. A function to be called once when\n setting sketch up. Should be used only for (smooth) and\n (no-smooth). Due to Processing limitations these functions\n cannot be used neither in :setup nor in :draw."}, :added "1.0", :name quil.core/defsketch, :variadic true, :subcategory nil, :file "out/quil/core.cljc", :end-column 13, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env app-name options)], :arglists ([&form &env app-name & options]), :arglists-meta (nil)}, :method-params [(&form &env app-name options)], :protocol-impl nil, :arglists-meta (nil), :column 1, :requires-bindings false, :line 4732, :macro true, :end-line 4736, :max-fixed-arity 3, :fn-var false, :arglists ([&form &env app-name & options]), :doc "Define and start a sketch and bind it to a var with the symbol\n app-name. If any of the options to the various callbacks are\n symbols, it wraps them in a call to var to ensure they aren't\n inlined and that redefinitions to the original fns are reflected in\n the visualisation.\n\n Available options:\n\n :size - A vector of width and height for the sketch or :fullscreen.\n Defaults to [500 300]. If you're using :fullscreen you may\n want to enable present mode - :features [:present]\n\n :renderer - Specifies the renderer type. One of :p2d, :p3d, :java2d,\n :opengl, :pdf). Defaults to :java2d. :dxf renderer\n can't be used as sketch renderer. Use begin-raw method\n instead. In clojurescript only :p2d and :p3d renderers\n are supported.\n\n :output-file - Specifies an output file path. Only used in :pdf mode.\n Not supported in clojurescript.\n\n :title - A string which will be displayed at the top of\n the sketch window. Not supported in clojurescript.\n\n :features - A vector of keywords customizing sketch behaviour.\n Supported features:\n\n :keep-on-top - Sketch window will always be above other\n windows. Note: some platforms might not\n support always-on-top windows.\n Not supported in clojurescript.\n\n :exit-on-close - Shutdown JVM when sketch is closed.\n Not supported in clojurescript.\n\n :resizable - Makes sketch resizable.\n Not supported in clojurescript.\n\n :no-safe-fns - Do not catch and print exceptions thrown\n inside functions provided to sketch (like\n draw, mouse-click, key-pressed and\n other). By default all exceptions thrown\n inside these functions are catched. This\n prevents sketch from breaking when bad\n function was provided and allows you to\n fix it and reload it on fly. You can\n disable this behaviour by enabling\n :no-safe-fns feature.\n Not supported in clojurescript.\n\n :present - Switch to present mode (fullscreen without\n borders, OS panels). You may want to use\n this feature together with :size :fullscreen.\n Not supported in clojurescript.\n\n :no-start - Disables autostart if sketch was created using\n defsketch macro. To start sketch you have to\n call function created defsketch.\n Supported only in clojurescript.\n\n :global-key-events - Allows a sketch to receive any\n keyboard event sent to the page,\n regardless of whether the canvas it is\n loaded in has focus or not.\n Supported only in clojurescript.\n\n Usage example: :features [:keep-on-top :present]\n\n :bgcolor - Sets background color for unused space in present mode.\n Color is specified in hex format: #XXXXXX.\n Example: :bgcolor \"#00FFFF\" (cyan background)\n Not supported in clojurescript.\n\n :display - Sets what display should be used by this sketch.\n Displays are numbered starting from 0. Example: :display 1.\n Not supported in clojurescript.\n\n :setup - A function to be called once when setting the sketch up.\n\n :draw - A function to be repeatedly called at most n times per\n second where n is the target frame-rate set for\n the visualisation.\n\n :host - String id of canvas element or DOM element itself.\n Specifies host for the sketch. Must be specified in sketch,\n may be omitted in defsketch. If ommitted in defsketch,\n :host is set to the name of the sketch. If element with\n specified id is not found on the page and page is empty -\n new canvas element will be created. Used in clojurescript.\n\n :focus-gained - Called when the sketch gains focus.\n Not supported in clojurescript.\n\n :focus-lost - Called when the sketch loses focus.\n Not supported in clojurescript.\n\n :mouse-entered - Called when the mouse enters the sketch window.\n\n :mouse-exited - Called when the mouse leaves the sketch window\n\n :mouse-pressed - Called every time a mouse button is pressed.\n\n :mouse-released - Called every time a mouse button is released.\n\n :mouse-clicked - called once after a mouse button has been pressed\n and then released.\n\n :mouse-moved - Called every time the mouse moves and a button is\n not pressed.\n\n :mouse-dragged - Called every time the mouse moves and a button is\n pressed.\n\n :mouse-wheel - Called every time mouse wheel is rotated.\n Takes 1 argument - wheel rotation, an int.\n Negative values if the mouse wheel was rotated\n up/away from the user, and positive values\n if the mouse wheel was rotated down/ towards the user\n\n :key-pressed - Called every time any key is pressed.\n\n :key-released - Called every time any key is released.\n\n :key-typed - Called once every time non-modifier keys are\n pressed.\n\n :on-close - Called once, when sketch is closed\n Not supported in clojurescript.\n\n :middleware - Vector of middleware to be applied to the sketch.\n Middleware will be applied in the same order as in comp\n function: [f g] will be applied as (f (g options)).\n\n :settings - cousin of :setup. A function to be called once when\n setting sketch up. Should be used only for (smooth) and\n (no-smooth). Due to Processing limitations these functions\n cannot be used neither in :setup nor in :draw."}, no-stroke {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "noStroke()", :column 3, :requires-bindings true, :line 2864, :end-line 2864, :arglists (quote ([])), :doc "Disables drawing the stroke (outline). If both no-stroke and\n no-fill are called, nothing will be drawn to the screen."}, :added "1.0", :name quil.core/no-stroke, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 12, :processing-name "noStroke()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2858, :end-line 2864, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Disables drawing the stroke (outline). If both no-stroke and\n no-fill are called, nothing will be drawn to the screen."}, end-camera {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Camera", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "endCamera()", :column 3, :requires-bindings true, :line 1612, :end-line 1612, :arglists (quote ([])), :doc "Unsets the matrix mode from the camera matrix. See begin-camera."}, :added "1.0", :name quil.core/end-camera, :variadic false, :subcategory "Camera", :file "out/quil/core.cljc", :end-column 13, :processing-name "endCamera()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1606, :end-line 1612, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Unsets the matrix mode from the camera matrix. See begin-camera."}, random-seed {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Random", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :processing-name "randomSeed()", :column 3, :requires-bindings true, :line 3243, :end-line 3243, :arglists (quote ([w])), :doc "Sets the seed value for random. By default, random produces\n different results each time the program is run. Set the value\n parameter to a constant to return the same pseudo-random numbers\n each time the software is run."}, :added "1.0", :name quil.core/random-seed, :variadic false, :subcategory "Random", :file "out/quil/core.cljc", :end-column 14, :processing-name "randomSeed()", :method-params ([w]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3237, :end-line 3243, :max-fixed-arity 1, :fn-var true, :arglists (quote ([w])), :doc "Sets the seed value for random. By default, random produces\n different results each time the program is run. Set the value\n parameter to a constant to return the same pseudo-random numbers\n each time the software is run."}, model-z {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Coordinates", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "modelZ()", :column 3, :requires-bindings true, :line 2554, :end-line 2554, :arglists (quote ([x y z])), :doc "Returns the three-dimensional x, y, z position in model space. This\n returns the z value for a given coordinate based on the current set\n of transformations (scale, rotate, translate, etc.) The z value can\n be used to place an object in space relative to the location of the\n original point once the transformations are no longer in use."}, :added "1.0", :name quil.core/model-z, :variadic false, :subcategory "Coordinates", :file "out/quil/core.cljc", :end-column 10, :processing-name "modelZ()", :method-params ([x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2548, :end-line 2554, :max-fixed-arity 3, :fn-var true, :arglists (quote ([x y z])), :doc "Returns the three-dimensional x, y, z position in model space. This\n returns the z value for a given coordinate based on the current set\n of transformations (scale, rotate, translate, etc.) The z value can\n be used to place an object in space relative to the location of the\n original point once the transformations are no longer in use."}, light-specular {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Lights", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 17, :processing-name "lightSpecular()", :column 3, :requires-bindings true, :line 2307, :end-line 2307, :arglists (quote ([r g b])), :doc "Sets the specular color for lights. Like fill, it affects only the\n elements which are created after it in the code. Specular refers to\n light which bounces off a surface in a perferred direction (rather\n than bouncing in all directions like a diffuse light) and is used\n for creating highlights. The specular quality of a light interacts\n with the specular material qualities set through the specular and\n shininess functions."}, :added "1.0", :name quil.core/light-specular, :variadic false, :subcategory "Lights", :file "out/quil/core.cljc", :end-column 17, :processing-name "lightSpecular()", :method-params ([r g b]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2301, :end-line 2307, :max-fixed-arity 3, :fn-var true, :arglists (quote ([r g b])), :doc "Sets the specular color for lights. Like fill, it affects only the\n elements which are created after it in the code. Specular refers to\n light which bounces off a surface in a perferred direction (rather\n than bouncing in all directions like a diffuse light) and is used\n for creating highlights. The specular quality of a light interacts\n with the specular material qualities set through the specular and\n shininess functions."}, key-as-keyword {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.6", :subcategory "Keyboard", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 17, :processing-name nil, :column 3, :requires-bindings true, :line 4901, :end-line 4901, :arglists (quote ([])), :doc "Returns a keyword representing the currently pressed key. Modifier\n keys are represented as: :up, :down, :left, :right, :alt, :control,\n :shift, :command, :f1-24"}, :added "1.6", :name quil.core/key-as-keyword, :variadic false, :subcategory "Keyboard", :file "out/quil/core.cljc", :end-column 17, :processing-name nil, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4896, :end-line 4901, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns a keyword representing the currently pressed key. Modifier\n keys are represented as: :up, :down, :left, :right, :alt, :control,\n :shift, :command, :f1-24"}, dist {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 6, :method-params ([x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :arglists ([x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :arglists-meta (nil nil)}, :processing-name "dist()", :column 3, :requires-bindings false, :line 1495, :end-line 1495, :arglists (quote ([x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2])), :doc "Calculates the distance between two points"}, :added "1.0", :name quil.core/dist, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 6, :method-params ([x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :arglists ([x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :arglists-meta (nil nil)}, :processing-name "dist()", :method-params ([x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 1489, :end-line 1495, :max-fixed-arity 6, :fn-var true, :arglists ([x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :doc "Calculates the distance between two points"}, PI {:name quil.core/PI, :file "out/quil/core.cljc", :line 76, :column 10, :end-line 76, :end-column 17, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 76, :column 15, :end-line 76, :end-column 17}, :tag js}, norm {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "norm()", :column 3, :requires-bindings true, :line 2825, :end-line 2825, :arglists (quote ([val start stop])), :doc "Normalize a value to exist between 0 and 1 (inclusive)."}, :added "1.0", :name quil.core/norm, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 7, :processing-name "norm()", :method-params ([val start stop]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2819, :end-line 2825, :max-fixed-arity 3, :fn-var true, :arglists (quote ([val start stop])), :doc "Normalize a value to exist between 0 and 1 (inclusive)."}, end-shape {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Vertex", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [mode]), :arglists ([] [mode]), :arglists-meta (nil nil)}, :processing-name "endShape()", :column 3, :requires-bindings true, :line 1651, :end-line 1651, :arglists (quote ([] [mode])), :doc "May only be called after begin-shape. When end-shape is called,\n all of image data defined since the previous call to begin-shape is\n written into the image buffer. The keyword :close may be passed to\n close the shape (to connect the beginning and the end)."}, :added "1.0", :name quil.core/end-shape, :variadic false, :subcategory "Vertex", :file "out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [mode]), :arglists ([] [mode]), :arglists-meta (nil nil)}, :processing-name "endShape()", :method-params ([] [mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1645, :end-line 1651, :max-fixed-arity 1, :fn-var true, :arglists ([] [mode]), :doc "May only be called after begin-shape. When end-shape is called,\n all of image data defined since the previous call to begin-shape is\n written into the image buffer. The keyword :close may be passed to\n close the shape (to connect the beginning and the end)."}, fill {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "fill()", :column 3, :requires-bindings true, :line 1742, :end-line 1742, :arglists (quote ([rgb] [rgb alpha] [r g b] [r g b a])), :doc "Sets the color used to fill shapes."}, :added "1.0", :name quil.core/fill, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "fill()", :method-params ([rgb] [rgb alpha] [r g b] [r g b a]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :requires-bindings true, :line 1736, :end-line 1742, :max-fixed-arity 4, :fn-var true, :arglists ([rgb] [rgb alpha] [r g b] [r g b a]), :doc "Sets the color used to fill shapes."}, with-translation {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory "Utility Macros", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 19, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env translation-vector body)], :arglists ([&form &env translation-vector & body]), :arglists-meta (nil)}, :processing-name nil, :column 3, :requires-bindings true, :line 4670, :macro true, :end-line 4670, :arglists (quote ([translation-vector & body])), :doc "Performs body with translation, restores current transformation on\n exit."}, :added "1.0", :name quil.core/with-translation, :variadic true, :subcategory "Utility Macros", :file "out/quil/core.cljc", :end-column 19, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env translation-vector body)], :arglists ([&form &env translation-vector & body]), :arglists-meta (nil)}, :processing-name nil, :method-params [(&form &env translation-vector body)], :protocol-impl nil, :arglists-meta (nil), :column 1, :requires-bindings true, :line 4664, :macro true, :end-line 4670, :max-fixed-arity 3, :fn-var false, :arglists ([&form &env translation-vector & body]), :doc "Performs body with translation, restores current transformation on\n exit."}, reset-matrix {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "resetMatrix()", :column 3, :requires-bindings true, :line 3383, :end-line 3383, :arglists (quote ([])), :doc "Replaces the current matrix with the identity matrix. The\n equivalent function in OpenGL is glLoadIdentity()"}, :added "1.0", :name quil.core/reset-matrix, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 15, :processing-name "resetMatrix()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3377, :end-line 3383, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Replaces the current matrix with the identity matrix. The\n equivalent function in OpenGL is glLoadIdentity()"}, emissive-float {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Material Properties", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 17, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([float-val] [r g b]), :arglists ([float-val] [r g b]), :arglists-meta (nil nil)}, :processing-name "emissive()", :column 3, :requires-bindings true, :line 1566, :end-line 1566, :arglists (quote ([float-val] [r g b])), :doc "Sets the emissive color of the material used for drawing shapes\n drawn to the screen. Used in combination with ambient, specular, and\n shininess in setting the material properties of shapes. Converts all\n args to floats"}, :added "1.0", :name quil.core/emissive-float, :variadic false, :subcategory "Material Properties", :file "out/quil/core.cljc", :end-column 17, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([float-val] [r g b]), :arglists ([float-val] [r g b]), :arglists-meta (nil nil)}, :processing-name "emissive()", :method-params ([float-val] [r g b]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1560, :end-line 1566, :max-fixed-arity 3, :fn-var true, :arglists ([float-val] [r g b]), :doc "Sets the emissive color of the material used for drawing shapes\n drawn to the screen. Used in combination with ambient, specular, and\n shininess in setting the material properties of shapes. Converts all\n args to floats"}, shape-modes {:name quil.core/shape-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 47, :end-column 13, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 47, :column 2, :end-line 47, :end-column 13}, :tag cljs.core/IMap}, green {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :processing-name "green()", :column 3, :requires-bindings true, :line 1939, :end-line 1939, :arglists (quote ([col])), :doc "Extracts the green value from a color, scaled to match current\n color-mode. This value is always returned as a float so be careful\n not to assign it to an int value."}, :added "1.0", :name quil.core/green, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 8, :processing-name "green()", :method-params ([col]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1933, :end-line 1939, :max-fixed-arity 1, :fn-var true, :arglists (quote ([col])), :doc "Extracts the green value from a color, scaled to match current\n color-mode. This value is always returned as a float so be careful\n not to assign it to an int value."}, HALF-PI {:name quil.core/HALF-PI, :file "out/quil/core.cljc", :line 77, :column 1, :end-line 77, :end-column 13, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 77, :column 6, :end-line 77, :end-column 13}, :tag number}, begin-contour {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "2.0", :subcategory "Vertex", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :processing-name "beginContour()", :column 3, :requires-bindings true, :line 602, :end-line 602, :arglists (quote ([])), :doc "Use the begin-contour and end-contour function to create negative\n shapes within shapes. These functions can only be within a\n begin-shape/end-shape pair and they only work with the :p2d and :p3d\n renderers."}, :added "2.0", :name quil.core/begin-contour, :variadic false, :subcategory "Vertex", :file "out/quil/core.cljc", :end-column 16, :processing-name "beginContour()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 596, :end-line 602, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Use the begin-contour and end-contour function to create negative\n shapes within shapes. These functions can only be within a\n begin-shape/end-shape pair and they only work with the :p2d and :p3d\n renderers."}, DEG-TO-RAD {:name quil.core/DEG-TO-RAD, :file "out/quil/core.cljc", :line 82, :column 1, :end-line 82, :end-column 16, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 82, :column 6, :end-line 82, :end-column 16}, :tag number}, pow {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :processing-name "pow()", :column 3, :requires-bindings false, :line 3060, :end-line 3060, :arglists (quote ([num exponent])), :doc "Facilitates exponential expressions. The pow() function is an\n efficient way of multiplying numbers by themselves (or their\n reciprocal) in large quantities. For example, (pow 3 5) is\n equivalent to the expression (* 3 3 3 3 3) and (pow 3 -5) is\n equivalent to (/ 1 (* 3 3 3 3 3))."}, :added "1.0", :name quil.core/pow, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 6, :processing-name "pow()", :method-params ([num exponent]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 3054, :end-line 3060, :max-fixed-arity 2, :fn-var true, :arglists (quote ([num exponent])), :doc "Facilitates exponential expressions. The pow() function is an\n efficient way of multiplying numbers by themselves (or their\n reciprocal) in large quantities. For example, (pow 3 5) is\n equivalent to the expression (* 3 3 3 3 3) and (pow 3 -5) is\n equivalent to (/ 1 (* 3 3 3 3 3))."}, box {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "3D Primitives", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([size] [width height depth]), :arglists ([size] [width height depth]), :arglists-meta (nil nil)}, :processing-name "box()", :column 3, :requires-bindings true, :line 917, :end-line 917, :arglists (quote ([size] [width height depth])), :doc "Creates an extruded rectangle."}, :added "1.0", :name quil.core/box, :variadic false, :subcategory "3D Primitives", :file "out/quil/core.cljc", :end-column 6, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([size] [width height depth]), :arglists ([size] [width height depth]), :arglists-meta (nil nil)}, :processing-name "box()", :method-params ([size] [width height depth]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 911, :end-line 917, :max-fixed-arity 3, :fn-var true, :arglists ([size] [width height depth]), :doc "Creates an extruded rectangle."}, exp {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :processing-name "exp()", :column 3, :requires-bindings false, :line 1685, :end-line 1685, :arglists (quote ([val])), :doc "Returns Euler's number e (2.71828...) raised to the power of the\n value parameter."}, :added "1.0", :name quil.core/exp, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 6, :processing-name "exp()", :method-params ([val]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 1679, :end-line 1685, :max-fixed-arity 1, :fn-var true, :arglists (quote ([val])), :doc "Returns Euler's number e (2.71828...) raised to the power of the\n value parameter."}, with-sketch {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 190, :column 11, :end-line 190, :end-column 22, :macro true, :arglists (quote ([applet & body])), :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env applet body)], :arglists ([&form &env applet & body]), :arglists-meta (nil)}}, :name quil.core/with-sketch, :variadic true, :file "out/quil/core.cljc", :end-column 22, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env applet body)], :arglists ([&form &env applet & body]), :arglists-meta (nil)}, :method-params [(&form &env applet body)], :protocol-impl nil, :arglists-meta (nil), :column 1, :line 190, :macro true, :end-line 190, :max-fixed-arity 3, :fn-var false, :arglists ([&form &env applet & body])}, text-ascent {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Metrics", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :processing-name "textAscent()", :column 3, :requires-bindings true, :line 4241, :end-line 4241, :arglists (quote ([])), :doc "Returns the ascent of the current font at its current size. This\n information is useful for determining the height of the font above\n the baseline. For example, adding the text-ascent and text-descent\n values will give you the total height of the line."}, :added "1.0", :name quil.core/text-ascent, :variadic false, :subcategory "Metrics", :file "out/quil/core.cljc", :end-column 14, :processing-name "textAscent()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4235, :end-line 4241, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns the ascent of the current font at its current size. This\n information is useful for determining the height of the font above\n the baseline. For example, adding the text-ascent and text-descent\n values will give you the total height of the line."}, tint-int {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([rgb] [rgb alpha]), :arglists ([rgb] [rgb alpha]), :arglists-meta (nil nil)}, :processing-name "tint()", :column 3, :requires-bindings true, :line 4438, :end-line 4438, :arglists (quote ([rgb] [rgb alpha])), :doc "Sets the fill value for displaying images. Images can be tinted to\n specified colors or made transparent by setting the alpha.\n\n To make an image transparent, but not change it's color, use white\n as the tint color and specify an alpha value. For instance,\n tint(255, 128) will make an image 50% transparent (unless\n colorMode() has been used).\n\n The value for the parameter gray must be less than or equal to the\n current maximum value as specified by colorMode(). The default\n maximum value is 255.\n\n Also used to control the coloring of textures in 3D."}, :added "1.0", :name quil.core/tint-int, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([rgb] [rgb alpha]), :arglists ([rgb] [rgb alpha]), :arglists-meta (nil nil)}, :processing-name "tint()", :method-params ([rgb] [rgb alpha]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4432, :end-line 4438, :max-fixed-arity 2, :fn-var true, :arglists ([rgb] [rgb alpha]), :doc "Sets the fill value for displaying images. Images can be tinted to\n specified colors or made transparent by setting the alpha.\n\n To make an image transparent, but not change it's color, use white\n as the tint color and specify an alpha value. For instance,\n tint(255, 128) will make an image 50% transparent (unless\n colorMode() has been used).\n\n The value for the parameter gray must be less than or equal to the\n current maximum value as specified by colorMode(). The default\n maximum value is 255.\n\n Also used to control the coloring of textures in 3D."}, shininess {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Material Properties", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "shininess()", :column 3, :requires-bindings true, :line 3850, :end-line 3850, :arglists (quote ([shine])), :doc "Sets the amount of gloss in the surface of shapes. Used in\n combination with ambient, specular, and emissive in setting\n the material properties of shapes."}, :added "1.0", :name quil.core/shininess, :variadic false, :subcategory "Material Properties", :file "out/quil/core.cljc", :end-column 12, :processing-name "shininess()", :method-params ([shine]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3844, :end-line 3850, :max-fixed-arity 1, :fn-var true, :arglists (quote ([shine])), :doc "Sets the amount of gloss in the surface of shapes. Used in\n combination with ambient, specular, and emissive in setting\n the material properties of shapes."}, rect-mode {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "rectMode()", :column 3, :requires-bindings true, :line 3302, :end-line 3302, :arglists (quote ([mode])), :doc "Modifies the location from which rectangles draw. The default mode\n is :corner. Available modes are:\n\n\n :corner - Specifies the location to be the upper left corner of the\n shape and uses the third and fourth parameters of rect to\n specify the width and height.\n\n :corners - Uses the first and second parameters of rect to set the\n location of one corner and uses the third and fourth\n parameters to set the opposite corner.\n\n :center - Draws the image from its center point and uses the third\n and forth parameters of rect to specify the image's width\n and height.\n\n :radius - Draws the image from its center point and uses the third\n and forth parameters of rect() to specify half of the\n image's width and height."}, :added "1.0", :name quil.core/rect-mode, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 12, :processing-name "rectMode()", :method-params ([mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3296, :end-line 3302, :max-fixed-arity 1, :fn-var true, :arglists (quote ([mode])), :doc "Modifies the location from which rectangles draw. The default mode\n is :corner. Available modes are:\n\n\n :corner - Specifies the location to be the upper left corner of the\n shape and uses the third and fourth parameters of rect to\n specify the width and height.\n\n :corners - Uses the first and second parameters of rect to set the\n location of one corner and uses the third and fourth\n parameters to set the opposite corner.\n\n :center - Draws the image from its center point and uses the third\n and forth parameters of rect to specify the image's width\n and height.\n\n :radius - Draws the image from its center point and uses the third\n and forth parameters of rect() to specify half of the\n image's width and height."}, ellipse-mode {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "ellipseMode()", :column 3, :requires-bindings true, :line 1544, :end-line 1544, :arglists (quote ([mode])), :doc "Modifies the origin of the ellispse according to the specified mode:\n\n :center - specifies the location of the ellipse as\n the center of the shape. (Default).\n :radius - similar to center, but the width and height parameters to\n ellipse specify the radius of the ellipse, rather than the\n diameter.\n :corner - draws the shape from the upper-left corner of its bounding\n box.\n :corners - uses the four parameters to ellipse to set two opposing\n corners of the ellipse's bounding box."}, :added "1.0", :name quil.core/ellipse-mode, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 15, :processing-name "ellipseMode()", :method-params ([mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1538, :end-line 1544, :max-fixed-arity 1, :fn-var true, :arglists (quote ([mode])), :doc "Modifies the origin of the ellispse according to the specified mode:\n\n :center - specifies the location of the ellipse as\n the center of the shape. (Default).\n :radius - similar to center, but the width and height parameters to\n ellipse specify the radius of the ellipse, rather than the\n diameter.\n :corner - draws the shape from the upper-left corner of its bounding\n box.\n :corners - uses the four parameters to ellipse to set two opposing\n corners of the ellipse's bounding box."}, month {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Time & Date", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :processing-name "month()", :column 3, :requires-bindings false, :line 2569, :end-line 2569, :arglists (quote ([])), :doc "Returns the current month as a value from 1 - 12."}, :added "1.0", :name quil.core/month, :variadic false, :subcategory "Time & Date", :file "out/quil/core.cljc", :end-column 8, :processing-name "month()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 2563, :end-line 2569, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns the current month as a value from 1 - 12."}, texture-modes {:name quil.core/texture-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 69, :end-column 15, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 69, :column 2, :end-line 69, :end-column 15}, :tag cljs.core/IMap}, tint-float {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([gray] [gray alpha] [r g b] [r g b a]), :arglists ([gray] [gray alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "tint()", :column 3, :requires-bindings true, :line 4413, :end-line 4413, :arglists (quote ([gray] [gray alpha] [r g b] [r g b a])), :doc "Sets the fill value for displaying images. Images can be tinted to\n specified colors or made transparent by setting the alpha.\n\n To make an image transparent, but not change it's color, use white\n as the tint color and specify an alpha value. For instance,\n tint(255, 128) will make an image 50% transparent (unless\n colorMode() has been used).\n\n The value for the parameter gray must be less than or equal to the\n current maximum value as specified by colorMode(). The default\n maximum value is 255.\n\n Also used to control the coloring of textures in 3D."}, :added "1.0", :name quil.core/tint-float, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([gray] [gray alpha] [r g b] [r g b a]), :arglists ([gray] [gray alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "tint()", :method-params ([gray] [gray alpha] [r g b] [r g b a]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :requires-bindings true, :line 4407, :end-line 4413, :max-fixed-arity 4, :fn-var true, :arglists ([gray] [gray alpha] [r g b] [r g b a]), :doc "Sets the fill value for displaying images. Images can be tinted to\n specified colors or made transparent by setting the alpha.\n\n To make an image transparent, but not change it's color, use white\n as the tint color and specify an alpha value. For instance,\n tint(255, 128) will make an image 50% transparent (unless\n colorMode() has been used).\n\n The value for the parameter gray must be less than or equal to the\n current maximum value as specified by colorMode(). The default\n maximum value is 255.\n\n Also used to control the coloring of textures in 3D."}, width {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :processing-name "getWidth()", :column 3, :processing-link nil, :requires-bindings true, :line 4620, :end-line 4620, :arglists (quote ([])), :doc "Width of the display window. The value of width is zero until size is\n called."}, :added "1.0", :name quil.core/width, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 8, :processing-name "getWidth()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :processing-link nil, :requires-bindings true, :line 4613, :end-line 4620, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Width of the display window. The value of width is zero until size is\n called."}, background {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "background()", :column 3, :requires-bindings true, :line 550, :end-line 550, :arglists (quote ([rgb] [rgb alpha] [r g b] [r g b a])), :doc "Sets the color used for the background of the Processing\n window. The default background is light gray. In the draw function,\n the background color is used to clear the display window at the\n beginning of each frame.\n\n It is not possible to use transparency (alpha) in background colors\n with the main drawing surface, however they will work properly with\n create-graphics. Converts args to floats."}, :added "1.0", :name quil.core/background, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "background()", :method-params ([rgb] [rgb alpha] [r g b] [r g b a]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :requires-bindings true, :line 544, :end-line 550, :max-fixed-arity 4, :fn-var true, :arglists ([rgb] [rgb alpha] [r g b] [r g b a]), :doc "Sets the color used for the background of the Processing\n window. The default background is light gray. In the draw function,\n the background color is used to clear the display window at the\n beginning of each frame.\n\n It is not possible to use transparency (alpha) in background colors\n with the main drawing surface, however they will work properly with\n create-graphics. Converts args to floats."}, ortho {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Camera", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 6, :method-params ([] [left right bottom top] [left right bottom top near far]), :arglists ([] [left right bottom top] [left right bottom top near far]), :arglists-meta (nil nil nil)}, :processing-name "ortho()", :column 3, :requires-bindings true, :line 2888, :end-line 2888, :arglists (quote ([] [left right bottom top] [left right bottom top near far])), :doc "Sets an orthographic projection and defines a parallel clipping\n volume. All objects with the same dimension appear the same size,\n regardless of whether they are near or far from the camera. The\n parameters to this function specify the clipping volume where left\n and right are the minimum and maximum x values, top and bottom are\n the minimum and maximum y values, and near and far are the minimum\n and maximum z values. If no parameters are given, the default is\n used: (ortho 0 width 0 height -10 10)"}, :added "1.0", :name quil.core/ortho, :variadic false, :subcategory "Camera", :file "out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 6, :method-params ([] [left right bottom top] [left right bottom top near far]), :arglists ([] [left right bottom top] [left right bottom top near far]), :arglists-meta (nil nil nil)}, :processing-name "ortho()", :method-params ([] [left right bottom top] [left right bottom top near far]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 2882, :end-line 2888, :max-fixed-arity 6, :fn-var true, :arglists ([] [left right bottom top] [left right bottom top near far]), :doc "Sets an orthographic projection and defines a parallel clipping\n volume. All objects with the same dimension appear the same size,\n regardless of whether they are near or far from the camera. The\n parameters to this function specify the clipping volume where left\n and right are the minimum and maximum x values, top and bottom are\n the minimum and maximum y values, and near and far are the minimum\n and maximum z values. If no parameters are given, the default is\n used: (ortho 0 width 0 height -10 10)"}, hint-options {:name quil.core/hint-options, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 53, :end-column 14, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 53, :column 2, :end-line 53, :end-column 14}, :tag cljs.core/IMap}, prc-println {:category "Output", :protocol-inline nil, :meta {:category "Output", :added "1.0", :subcategory "Text area", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 17, :column 6, :require-bindings true, :line 152, :end-line 152, :arglists (quote ([msg])), :doc "Writes to the text area of the Processing environment's console.\n This is often helpful for looking at the data a program is producing.\n Each call to this function creates a new line of output.\n Individual elements can be separated with quotes (\"\") and joined with the string concatenation operator (+).\n Also writes the content of an array to the text area of the Processing environment.\n This is often helpful for looking at the data a program is producing.\n A new line is put between each element of the array. This function can only print 1D arrays,\n but can test to see if the content are null or not null for 2+ dimensional arrays."}, :added "1.0", :name quil.core/prc-println, :variadic false, :subcategory "Text area", :file "out/quil/core.cljc", :end-column 17, :method-params ([msg]), :protocol-impl nil, :arglists-meta (nil nil), :column 4, :require-bindings true, :line 147, :end-line 152, :max-fixed-arity 1, :fn-var true, :arglists (quote ([msg])), :doc "Writes to the text area of the Processing environment's console.\n This is often helpful for looking at the data a program is producing.\n Each call to this function creates a new line of output.\n Individual elements can be separated with quotes (\"\") and joined with the string concatenation operator (+).\n Also writes the content of an array to the text area of the Processing environment.\n This is often helpful for looking at the data a program is producing.\n A new line is put between each element of the array. This function can only print 1D arrays,\n but can test to see if the content are null or not null for 2+ dimensional arrays."}, brightness {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "brightness()", :column 3, :requires-bindings true, :line 928, :end-line 928, :arglists (quote ([color])), :doc "Extracts the brightness value from a color. Returns a float."}, :added "1.0", :name quil.core/brightness, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 13, :processing-name "brightness()", :method-params ([color]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 922, :end-line 928, :max-fixed-arity 1, :fn-var true, :arglists (quote ([color])), :doc "Extracts the brightness value from a color. Returns a float."}, arc-modes {:name quil.core/arc-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 46, :end-column 11, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 46, :column 2, :end-line 46, :end-column 11}, :tag cljs.core/IMap}, specular {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Material Properties", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([gray] [x y z]), :arglists ([gray] [x y z]), :arglists-meta (nil nil)}, :processing-name "specular()", :column 3, :requires-bindings true, :line 3907, :end-line 3907, :arglists (quote ([gray] [x y z])), :doc "Sets the specular color of the materials used for shapes drawn to\n the screen, which sets the color of hightlights. Specular refers to\n light which bounces off a surface in a perferred direction (rather\n than bouncing in all directions like a diffuse light). Used in\n combination with emissive, ambient, and shininess in setting\n the material properties of shapes."}, :added "1.0", :name quil.core/specular, :variadic false, :subcategory "Material Properties", :file "out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([gray] [x y z]), :arglists ([gray] [x y z]), :arglists-meta (nil nil)}, :processing-name "specular()", :method-params ([gray] [x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3901, :end-line 3907, :max-fixed-arity 3, :fn-var true, :arglists ([gray] [x y z]), :doc "Sets the specular color of the materials used for shapes drawn to\n the screen, which sets the color of hightlights. Specular refers to\n light which bounces off a surface in a perferred direction (rather\n than bouncing in all directions like a diffuse light). Used in\n combination with emissive, ambient, and shininess in setting\n the material properties of shapes."}, save-frame {:category "Output", :protocol-inline nil, :meta {:category "Output", :added "1.0", :subcategory "Image", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [name]), :arglists ([] [name]), :arglists-meta (nil nil)}, :processing-name "saveFrame()", :column 3, :requires-bindings true, :line 3569, :end-line 3569, :arglists (quote ([] [name])), :doc "Saves an image identical to the current display window as a\n file. May be called multple times - each file saved will have a\n unique name. Name and image formate may be modified by passing a\n string parameter of the form \"foo-####.ext\" where foo- can be any\n arbitrary string, #### will be replaced with the current frame id\n and .ext is one of .tiff, .targa, .png, .jpeg or .jpg\n\n Examples:\n (save-frame)\n (save-frame \"pretty-pic-####.jpg\")"}, :added "1.0", :name quil.core/save-frame, :variadic false, :subcategory "Image", :file "out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [name]), :arglists ([] [name]), :arglists-meta (nil nil)}, :processing-name "saveFrame()", :method-params ([] [name]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3563, :end-line 3569, :max-fixed-arity 1, :fn-var true, :arglists ([] [name]), :doc "Saves an image identical to the current display window as a\n file. May be called multple times - each file saved will have a\n unique name. Name and image formate may be modified by passing a\n string parameter of the form \"foo-####.ext\" where foo- can be any\n arbitrary string, #### will be replaced with the current frame id\n and .ext is one of .tiff, .targa, .png, .jpeg or .jpg\n\n Examples:\n (save-frame)\n (save-frame \"pretty-pic-####.jpg\")"}, cursor {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [cursor-mode]), :arglists ([] [cursor-mode]), :arglists-meta (nil nil)}, :processing-name "cursor()", :column 3, :requires-bindings true, :line 1286, :end-line 1286, :arglists (quote ([] [cursor-mode])), :doc "Sets the cursor to a predefined symbol or makes it\n visible if already hidden (after no-cursor was called).\n\n Available modes: :arrow, :cross, :hand, :move, :text, :wait\n\n See cursor-image for specifying a generic image as the cursor\n symbol."}, :added "1.0", :name quil.core/cursor, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [cursor-mode]), :arglists ([] [cursor-mode]), :arglists-meta (nil nil)}, :processing-name "cursor()", :method-params ([] [cursor-mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1280, :end-line 1286, :max-fixed-arity 1, :fn-var true, :arglists ([] [cursor-mode]), :doc "Sets the cursor to a predefined symbol or makes it\n visible if already hidden (after no-cursor was called).\n\n Available modes: :arrow, :cross, :hand, :move, :text, :wait\n\n See cursor-image for specifying a generic image as the cursor\n symbol."}, noise {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Random", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([x] [x y] [x y z]), :arglists ([x] [x y] [x y z]), :arglists-meta (nil nil nil)}, :processing-name "noise()", :column 3, :requires-bindings true, :line 2704, :end-line 2704, :arglists (quote ([x] [x y] [x y z])), :doc "Returns the Perlin noise value at specified coordinates. Perlin\n noise is a random sequence generator producing a more natural\n ordered, harmonic succession of numbers compared to the standard\n random function. It was invented by Ken Perlin in the 1980s and\n been used since in graphical applications to produce procedural\n textures, natural motion, shapes, terrains etc.\n\n The main difference to the random function is that Perlin noise is\n defined in an infinite n-dimensional space where each pair of\n coordinates corresponds to a fixed semi-random value (fixed only for\n the lifespan of the program). The resulting value will always be\n between 0.0 and 1.0. Processing can compute 1D, 2D and 3D noise,\n depending on the number of coordinates given. The noise value can be\n animated by moving through the noise space and the 2nd and 3rd\n dimensions can also be interpreted as time.\n\n The actual noise is structured similar to an audio signal, in\n respect to the function's use of frequencies. Similar to the concept\n of harmonics in physics, perlin noise is computed over several\n octaves which are added together for the final result.\n\n Another way to adjust the character of the resulting sequence is the\n scale of the input coordinates. As the function works within an\n infinite space the value of the coordinates doesn't matter as such,\n only the distance between successive coordinates does (eg. when\n using noise within a loop). As a general rule the smaller the\n difference between coordinates, the smoother the resulting noise\n sequence will be. Steps of 0.005-0.03 work best for most\n applications, but this will differ depending on use."}, :added "1.0", :name quil.core/noise, :variadic false, :subcategory "Random", :file "out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([x] [x y] [x y z]), :arglists ([x] [x y] [x y z]), :arglists-meta (nil nil nil)}, :processing-name "noise()", :method-params ([x] [x y] [x y z]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 2698, :end-line 2704, :max-fixed-arity 3, :fn-var true, :arglists ([x] [x y] [x y z]), :doc "Returns the Perlin noise value at specified coordinates. Perlin\n noise is a random sequence generator producing a more natural\n ordered, harmonic succession of numbers compared to the standard\n random function. It was invented by Ken Perlin in the 1980s and\n been used since in graphical applications to produce procedural\n textures, natural motion, shapes, terrains etc.\n\n The main difference to the random function is that Perlin noise is\n defined in an infinite n-dimensional space where each pair of\n coordinates corresponds to a fixed semi-random value (fixed only for\n the lifespan of the program). The resulting value will always be\n between 0.0 and 1.0. Processing can compute 1D, 2D and 3D noise,\n depending on the number of coordinates given. The noise value can be\n animated by moving through the noise space and the 2nd and 3rd\n dimensions can also be interpreted as time.\n\n The actual noise is structured similar to an audio signal, in\n respect to the function's use of frequencies. Similar to the concept\n of harmonics in physics, perlin noise is computed over several\n octaves which are added together for the final result.\n\n Another way to adjust the character of the resulting sequence is the\n scale of the input coordinates. As the function works within an\n infinite space the value of the coordinates doesn't matter as such,\n only the distance between successive coordinates does (eg. when\n using noise within a loop). As a general rule the smaller the\n difference between coordinates, the smoother the resulting noise\n sequence will be. Steps of 0.005-0.03 work best for most\n applications, but this will differ depending on use."}, push-style {:category "Structure", :protocol-inline nil, :meta {:category "Structure", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "pushStyle()", :column 3, :requires-bindings true, :line 3128, :end-line 3128, :arglists (quote ([])), :doc "Saves the current style settings onto a 'style stack'. Use with\n pop-style which restores the prior settings. Note that these\n functions are always used together. They allow you to change the\n style settings and later return to what you had. When a new style is\n started with push-style, it builds on the current style\n information. The push-style and pop-style fns can be embedded to\n provide more control.\n\n The style information controlled by the following functions are\n included in the style: fill, stroke, tint, stroke-weight,\n stroke-cap, stroke-join, image-mode, rect-mode, ellipse-mode,\n shape-mode, color-mode, text-align, text-font, text-mode, text-size,\n text-leading, emissive, specular, shininess, and ambient"}, :added "1.0", :name quil.core/push-style, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 13, :processing-name "pushStyle()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3122, :end-line 3128, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Saves the current style settings onto a 'style stack'. Use with\n pop-style which restores the prior settings. Note that these\n functions are always used together. They allow you to change the\n style settings and later return to what you had. When a new style is\n started with push-style, it builds on the current style\n information. The push-style and pop-style fns can be embedded to\n provide more control.\n\n The style information controlled by the following functions are\n included in the style: fill, stroke, tint, stroke-weight,\n stroke-cap, stroke-join, image-mode, rect-mode, ellipse-mode,\n shape-mode, color-mode, text-align, text-font, text-mode, text-size,\n text-leading, emissive, specular, shininess, and ambient"}, bezier-vertex {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Vertex", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :top-fn {:variadic false, :max-fixed-arity 9, :method-params ([cx1 cy1 cx2 cy2 x y] [cx1 cy1 cz1 cx2 cy2 cz2 x y z]), :arglists ([cx1 cy1 cx2 cy2 x y] [cx1 cy1 cz1 cx2 cy2 cz2 x y z]), :arglists-meta (nil nil)}, :processing-name "bezierVertex()", :column 3, :requires-bindings true, :line 735, :end-line 735, :arglists (quote ([cx1 cy1 cx2 cy2 x y] [cx1 cy1 cz1 cx2 cy2 cz2 x y z])), :doc "Specifies vertex coordinates for Bezier curves. Each call to\n bezier-vertex defines the position of two control points and one\n anchor point of a Bezier curve, adding a new segment to a line or\n shape. The first time bezier-vertex is used within a begin-shape\n call, it must be prefaced with a call to vertex to set the first\n anchor point. This function must be used between begin-shape and\n end-shape and only when there is no parameter specified to\n begin-shape."}, :added "1.0", :name quil.core/bezier-vertex, :variadic false, :subcategory "Vertex", :file "out/quil/core.cljc", :end-column 16, :top-fn {:variadic false, :max-fixed-arity 9, :method-params ([cx1 cy1 cx2 cy2 x y] [cx1 cy1 cz1 cx2 cy2 cz2 x y z]), :arglists ([cx1 cy1 cx2 cy2 x y] [cx1 cy1 cz1 cx2 cy2 cz2 x y z]), :arglists-meta (nil nil)}, :processing-name "bezierVertex()", :method-params ([cx1 cy1 cx2 cy2 x y] [cx1 cy1 cz1 cx2 cy2 cz2 x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 729, :end-line 735, :max-fixed-arity 9, :fn-var true, :arglists ([cx1 cy1 cx2 cy2 x y] [cx1 cy1 cz1 cx2 cy2 cz2 x y z]), :doc "Specifies vertex coordinates for Bezier curves. Each call to\n bezier-vertex defines the position of two control points and one\n anchor point of a Bezier curve, adding a new segment to a line or\n shape. The first time bezier-vertex is used within a begin-shape\n call, it must be prefaced with a call to vertex to set the first\n anchor point. This function must be used between begin-shape and\n end-shape and only when there is no parameter specified to\n begin-shape."}, light-falloff {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Lights", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :processing-name "lightFalloff()", :column 3, :requires-bindings true, :line 2229, :end-line 2229, :arglists (quote ([constant linear quadratic])), :doc "Sets the falloff rates for point lights, spot lights, and ambient\n lights. The parameters are used to determine the falloff with the\n following equation:\n\n d = distance from light position to vertex position\n falloff = 1 / (CONSTANT + d * LINEAR + (d*d) * QUADRATIC)\n\n Like fill, it affects only the elements which are created after it\n in the code. The default value is (light-falloff 1.0 0.0 0.0).\n Thinking about an ambient light with a falloff can be tricky. It is\n used, for example, if you wanted a region of your scene to be lit\n ambiently one color and another region to be lit ambiently by\n another color, you would use an ambient light with location and\n falloff. You can think of it as a point light that doesn't care\n which direction a surface is facing."}, :added "1.0", :name quil.core/light-falloff, :variadic false, :subcategory "Lights", :file "out/quil/core.cljc", :end-column 16, :processing-name "lightFalloff()", :method-params ([constant linear quadratic]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2223, :end-line 2229, :max-fixed-arity 3, :fn-var true, :arglists (quote ([constant linear quadratic])), :doc "Sets the falloff rates for point lights, spot lights, and ambient\n lights. The parameters are used to determine the falloff with the\n following equation:\n\n d = distance from light position to vertex position\n falloff = 1 / (CONSTANT + d * LINEAR + (d*d) * QUADRATIC)\n\n Like fill, it affects only the elements which are created after it\n in the code. The default value is (light-falloff 1.0 0.0 0.0).\n Thinking about an ambient light with a falloff can be tricky. It is\n used, for example, if you wanted a region of your scene to be lit\n ambiently one color and another region to be lit ambiently by\n another color, you would use an ambient light with location and\n falloff. You can think of it as a point light that doesn't care\n which direction a surface is facing."}, noise-detail {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Random", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([octaves] [octaves falloff]), :arglists ([octaves] [octaves falloff]), :arglists-meta (nil nil)}, :processing-name "noiseDetail()", :column 3, :requires-bindings true, :line 2744, :end-line 2744, :arglists (quote ([octaves] [octaves falloff])), :doc "Adjusts the character and level of detail produced by the Perlin\n noise function. Similar to harmonics in physics, noise is computed\n over several octaves. Lower octaves contribute more to the output\n signal and as such define the overal intensity of the noise, whereas\n higher octaves create finer grained details in the noise\n sequence. By default, noise is computed over 4 octaves with each\n octave contributing exactly half than its predecessor, starting at\n 50% strength for the 1st octave. This falloff amount can be changed\n by adding an additional function parameter. Eg. a falloff factor of\n 0.75 means each octave will now have 75% impact (25% less) of the\n previous lower octave. Any value between 0.0 and 1.0 is valid,\n however note that values greater than 0.5 might result in greater\n than 1.0 values returned by noise.\n\n By changing these parameters, the signal created by the noise\n function can be adapted to fit very specific needs and\n characteristics."}, :added "1.0", :name quil.core/noise-detail, :variadic false, :subcategory "Random", :file "out/quil/core.cljc", :end-column 15, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([octaves] [octaves falloff]), :arglists ([octaves] [octaves falloff]), :arglists-meta (nil nil)}, :processing-name "noiseDetail()", :method-params ([octaves] [octaves falloff]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2738, :end-line 2744, :max-fixed-arity 2, :fn-var true, :arglists ([octaves] [octaves falloff]), :doc "Adjusts the character and level of detail produced by the Perlin\n noise function. Similar to harmonics in physics, noise is computed\n over several octaves. Lower octaves contribute more to the output\n signal and as such define the overal intensity of the noise, whereas\n higher octaves create finer grained details in the noise\n sequence. By default, noise is computed over 4 octaves with each\n octave contributing exactly half than its predecessor, starting at\n 50% strength for the 1st octave. This falloff amount can be changed\n by adding an additional function parameter. Eg. a falloff factor of\n 0.75 means each octave will now have 75% impact (25% less) of the\n previous lower octave. Any value between 0.0 and 1.0 is valid,\n however note that values greater than 0.5 might result in greater\n than 1.0 values returned by noise.\n\n By changing these parameters, the signal created by the noise\n function can be adapted to fit very specific needs and\n characteristics."}, save {:category "Output", :protocol-inline nil, :meta {:category "Output", :added "1.0", :subcategory "Image", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "save()", :column 3, :requires-bindings true, :line 3551, :end-line 3551, :arglists (quote ([filename])), :doc "Saves an image from the display window. Images are saved in TIFF,\n TARGA, JPEG, and PNG format depending on the extension within the\n filename parameter. For example, image.tif will have a TIFF image\n and image.png will save a PNG image. If no extension is included in\n the filename, the image will save in TIFF format and .tif will be\n added to the name. All images saved from the main drawing window\n will be opaque. To save images without a background, use\n create-graphics."}, :added "1.0", :name quil.core/save, :variadic false, :subcategory "Image", :file "out/quil/core.cljc", :end-column 7, :processing-name "save()", :method-params ([filename]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3545, :end-line 3551, :max-fixed-arity 1, :fn-var true, :arglists (quote ([filename])), :doc "Saves an image from the display window. Images are saved in TIFF,\n TARGA, JPEG, and PNG format depending on the extension within the\n filename parameter. For example, image.tif will have a TIFF image\n and image.png will save a PNG image. If no extension is included in\n the filename, the image will save in TIFF format and .tif will be\n added to the name. All images saved from the main drawing window\n will be opaque. To save images without a background, use\n create-graphics."}, curve-point {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Curves", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :processing-name "curvePoint()", :column 3, :requires-bindings true, :line 1362, :end-line 1362, :arglists (quote ([a b c d t])), :doc "Evalutes the curve at point t for points a, b, c, d. The parameter\n t varies between 0 and 1, a and d are points on the curve, and b c\n and are the control points. This can be done once with the x\n coordinates and a second time with the y coordinates to get the\n location of a curve at t."}, :added "1.0", :name quil.core/curve-point, :variadic false, :subcategory "Curves", :file "out/quil/core.cljc", :end-column 14, :processing-name "curvePoint()", :method-params ([a b c d t]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1356, :end-line 1362, :max-fixed-arity 5, :fn-var true, :arglists (quote ([a b c d t])), :doc "Evalutes the curve at point t for points a, b, c, d. The parameter\n t varies between 0 and 1, a and d are points on the curve, and b c\n and are the control points. This can be done once with the x\n coordinates and a second time with the y coordinates to get the\n location of a curve at t."}, state {:category "State", :protocol-inline nil, :meta {:category "State", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [key]), :arglists ([] [key]), :arglists-meta (nil nil)}, :column 3, :requires-bindings true, :line 215, :end-line 215, :arglists (quote ([] [key])), :doc "Retrieve sketch-specific state by key. Must initially call\n set-state! to store state. If no parameter passed whole\n state map is returned.\n\n (set-state! :foo 1)\n (state :foo) ;=> 1\n (state) ;=> {:foo 1}"}, :added "1.0", :name quil.core/state, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 1, :method-params ([] [key]), :arglists ([] [key]), :arglists-meta (nil nil)}, :method-params ([] [key]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 210, :end-line 215, :max-fixed-arity 1, :fn-var true, :arglists ([] [key]), :doc "Retrieve sketch-specific state by key. Must initially call\n set-state! to store state. If no parameter passed whole\n state map is returned.\n\n (set-state! :foo 1)\n (state :foo) ;=> 1\n (state) ;=> {:foo 1}"}, load-shader {:category "Rendering", :protocol-inline nil, :meta {:category "Rendering", :added "2.0", :subcategory "Shaders", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([fragment-filename] [fragment-filename vertex-filename]), :arglists ([fragment-filename] [fragment-filename vertex-filename]), :arglists-meta (nil nil)}, :processing-name "loadShader()", :column 3, :requires-bindings true, :line 2404, :end-line 2404, :arglists (quote ([fragment-filename] [fragment-filename vertex-filename])), :doc "Loads a shader into the PShader object. Shaders are compatible with the\n P2D and P3D renderers, but not with the default renderer."}, :added "2.0", :name quil.core/load-shader, :variadic false, :subcategory "Shaders", :file "out/quil/core.cljc", :end-column 14, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([fragment-filename] [fragment-filename vertex-filename]), :arglists ([fragment-filename] [fragment-filename vertex-filename]), :arglists-meta (nil nil)}, :processing-name "loadShader()", :method-params ([fragment-filename] [fragment-filename vertex-filename]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2398, :end-line 2404, :max-fixed-arity 2, :fn-var true, :arglists ([fragment-filename] [fragment-filename vertex-filename]), :doc "Loads a shader into the PShader object. Shaders are compatible with the\n P2D and P3D renderers, but not with the default renderer."}, resize {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "2.1.0", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :processing-name "resize()", :column 3, :processing-link "http://processing.org/reference/PImage_resize_.html", :requires-bindings true, :line 3417, :end-line 3417, :arglists (quote ([img w h])), :doc "Resize the image to a new width and height.\n To make the image scale proportionally, use 0 as the value for the wide or\n high parameter. For instance, to make the width of an image 150 pixels,\n and change the height using the same proportion, use resize(150, 0).\n\n Even though a PGraphics is technically a PImage, it is not possible\n to rescale the image data found in a PGraphics.\n (It's simply not possible to do this consistently across renderers:\n technically infeasible with P3D, or what would it even do with PDF?)\n If you want to resize PGraphics content, first get a copy of its image data\n using the get() method, and call resize() on the PImage that is returned."}, :added "2.1.0", :name quil.core/resize, :variadic false, :file "out/quil/core.cljc", :end-column 9, :processing-name "resize()", :method-params ([img w h]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :processing-link "http://processing.org/reference/PImage_resize_.html", :requires-bindings true, :line 3411, :end-line 3417, :max-fixed-arity 3, :fn-var true, :arglists (quote ([img w h])), :doc "Resize the image to a new width and height.\n To make the image scale proportionally, use 0 as the value for the wide or\n high parameter. For instance, to make the width of an image 150 pixels,\n and change the height using the same proportion, use resize(150, 0).\n\n Even though a PGraphics is technically a PImage, it is not possible\n to rescale the image data found in a PGraphics.\n (It's simply not possible to do this consistently across renderers:\n technically infeasible with P3D, or what would it even do with PDF?)\n If you want to resize PGraphics content, first get a copy of its image data\n using the get() method, and call resize() on the PImage that is returned."}, normal {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Lights", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :processing-name "normal()", :column 3, :requires-bindings true, :line 2837, :end-line 2837, :arglists (quote ([nx ny nz])), :doc "Sets the current normal vector. This is for drawing three\n dimensional shapes and surfaces and specifies a vector perpendicular\n to the surface of the shape which determines how lighting affects\n it. Processing attempts to automatically assign normals to shapes,\n but since that's imperfect, this is a better option when you want\n more control. This function is identical to glNormal3f() in OpenGL."}, :added "1.0", :name quil.core/normal, :variadic false, :subcategory "Lights", :file "out/quil/core.cljc", :end-column 9, :processing-name "normal()", :method-params ([nx ny nz]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2831, :end-line 2837, :max-fixed-arity 3, :fn-var true, :arglists (quote ([nx ny nz])), :doc "Sets the current normal vector. This is for drawing three\n dimensional shapes and surfaces and specifies a vector perpendicular\n to the surface of the shape which determines how lighting affects\n it. Processing attempts to automatically assign normals to shapes,\n but since that's imperfect, this is a better option when you want\n more control. This function is identical to glNormal3f() in OpenGL."}, perspective {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Camera", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([] [fovy aspect z-near z-far]), :arglists ([] [fovy aspect z-near z-far]), :arglists-meta (nil nil)}, :processing-name "perspective()", :column 3, :requires-bindings true, :line 2909, :end-line 2909, :arglists (quote ([] [fovy aspect z-near z-far])), :doc "Sets a perspective projection applying foreshortening, making\n distant objects appear smaller than closer ones. The parameters\n define a viewing volume with the shape of truncated pyramid. Objects\n near to the front of the volume appear their actual size, while\n farther objects appear smaller. This projection simulates the\n perspective of the world more accurately than orthographic\n projection. The version of perspective without parameters sets the\n default perspective and the version with four parameters allows the\n programmer to set the area precisely. The default values are:\n perspective(PI/3.0, width/height, cameraZ/10.0, cameraZ*10.0) where\n cameraZ is ((height/2.0) / tan(PI*60.0/360.0));"}, :added "1.0", :name quil.core/perspective, :variadic false, :subcategory "Camera", :file "out/quil/core.cljc", :end-column 14, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([] [fovy aspect z-near z-far]), :arglists ([] [fovy aspect z-near z-far]), :arglists-meta (nil nil)}, :processing-name "perspective()", :method-params ([] [fovy aspect z-near z-far]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2903, :end-line 2909, :max-fixed-arity 4, :fn-var true, :arglists ([] [fovy aspect z-near z-far]), :doc "Sets a perspective projection applying foreshortening, making\n distant objects appear smaller than closer ones. The parameters\n define a viewing volume with the shape of truncated pyramid. Objects\n near to the front of the volume appear their actual size, while\n farther objects appear smaller. This projection simulates the\n perspective of the world more accurately than orthographic\n projection. The version of perspective without parameters sets the\n default perspective and the version with four parameters allows the\n programmer to set the area precisely. The default values are:\n perspective(PI/3.0, width/height, cameraZ/10.0, cameraZ*10.0) where\n cameraZ is ((height/2.0) / tan(PI*60.0/360.0));"}, seconds {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Time & Date", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "second()", :column 3, :requires-bindings false, :line 3684, :end-line 3684, :arglists (quote ([])), :doc "Returns the current second as a value from 0 - 59."}, :added "1.0", :name quil.core/seconds, :variadic false, :subcategory "Time & Date", :file "out/quil/core.cljc", :end-column 10, :processing-name "second()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 3678, :end-line 3684, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns the current second as a value from 0 - 59."}, hint {:category "Rendering", :protocol-inline nil, :meta {:category "Rendering", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "hint()", :column 3, :processing-link nil, :requires-bindings true, :line 1983, :end-line 1983, :arglists (quote ([hint-type])), :doc "Set various hints and hacks for the renderer. This is used to\n handle obscure rendering features that cannot be implemented in a\n consistent manner across renderers. Many options will often graduate\n to standard features instead of hints over time.\n\n Options:\n\n :enable-native-fonts - Use the native version fonts when they are\n installed, rather than the bitmapped version from a .vlw\n file. This is useful with the default (or JAVA2D) renderer\n setting, as it will improve font rendering speed. This is not\n enabled by default, because it can be misleading while testing\n because the type will look great on your machine (because you have\n the font installed) but lousy on others' machines if the identical\n font is unavailable. This option can only be set per-sketch, and\n must be called before any use of text-font.\n\n :disable-native-fonts - Disables native font support.\n\n :disable-depth-test - Disable the zbuffer, allowing you to draw on\n top of everything at will. When depth testing is disabled, items\n will be drawn to the screen sequentially, like a painting. This\n hint is most often used to draw in 3D, then draw in 2D on top of\n it (for instance, to draw GUI controls in 2D on top of a 3D\n interface). Starting in release 0149, this will also clear the\n depth buffer. Restore the default with :enable-depth-test\n but note that with the depth buffer cleared, any 3D drawing that\n happens later in draw will ignore existing shapes on the screen.\n\n :enable-depth-test - Enables the zbuffer.\n\n :enable-depth-sort - Enable primitive z-sorting of triangles and\n lines in :p3d and :opengl rendering modes. This can slow\n performance considerably, and the algorithm is not yet perfect.\n\n :disable-depth-sort - Disables hint :enable-depth-sort\n\n :disable-opengl-errors - Speeds up the OPENGL renderer setting\n by not checking for errors while running.\n\n :enable-opengl-errors - Turns on OpenGL error checking\n\n :enable-depth-mask\n :disable-depth-mask\n\n :enable-optimized-stroke\n :disable-optimized-stroke\n :enable-retina-pixels\n :disable-retina-pixels\n :enable-stroke-perspective\n :disable-stroke-perspective\n :enable-stroke-pure\n :disable-stroke-pure\n :enable-texture-mipmaps\n :disable-texture-mipmaps\n"}, :added "1.0", :name quil.core/hint, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 7, :processing-name "hint()", :method-params ([hint-type]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :processing-link nil, :requires-bindings true, :line 1976, :end-line 1983, :max-fixed-arity 1, :fn-var true, :arglists (quote ([hint-type])), :doc "Set various hints and hacks for the renderer. This is used to\n handle obscure rendering features that cannot be implemented in a\n consistent manner across renderers. Many options will often graduate\n to standard features instead of hints over time.\n\n Options:\n\n :enable-native-fonts - Use the native version fonts when they are\n installed, rather than the bitmapped version from a .vlw\n file. This is useful with the default (or JAVA2D) renderer\n setting, as it will improve font rendering speed. This is not\n enabled by default, because it can be misleading while testing\n because the type will look great on your machine (because you have\n the font installed) but lousy on others' machines if the identical\n font is unavailable. This option can only be set per-sketch, and\n must be called before any use of text-font.\n\n :disable-native-fonts - Disables native font support.\n\n :disable-depth-test - Disable the zbuffer, allowing you to draw on\n top of everything at will. When depth testing is disabled, items\n will be drawn to the screen sequentially, like a painting. This\n hint is most often used to draw in 3D, then draw in 2D on top of\n it (for instance, to draw GUI controls in 2D on top of a 3D\n interface). Starting in release 0149, this will also clear the\n depth buffer. Restore the default with :enable-depth-test\n but note that with the depth buffer cleared, any 3D drawing that\n happens later in draw will ignore existing shapes on the screen.\n\n :enable-depth-test - Enables the zbuffer.\n\n :enable-depth-sort - Enable primitive z-sorting of triangles and\n lines in :p3d and :opengl rendering modes. This can slow\n performance considerably, and the algorithm is not yet perfect.\n\n :disable-depth-sort - Disables hint :enable-depth-sort\n\n :disable-opengl-errors - Speeds up the OPENGL renderer setting\n by not checking for errors while running.\n\n :enable-opengl-errors - Turns on OpenGL error checking\n\n :enable-depth-mask\n :disable-depth-mask\n\n :enable-optimized-stroke\n :disable-optimized-stroke\n :enable-retina-pixels\n :disable-retina-pixels\n :enable-stroke-perspective\n :disable-stroke-perspective\n :enable-stroke-pure\n :disable-stroke-pure\n :enable-texture-mipmaps\n :disable-texture-mipmaps\n"}, sphere-detail {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "3D Primitives", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([res] [ures vres]), :arglists ([res] [ures vres]), :arglists-meta (nil nil)}, :processing-name "sphereDetail()", :column 3, :requires-bindings true, :line 3933, :end-line 3933, :arglists (quote ([res] [ures vres])), :doc "Controls the detail used to render a sphere by adjusting the number\n of vertices of the sphere mesh. The default resolution is 30, which\n creates a fairly detailed sphere definition with vertices every\n 360/30 = 12 degrees. If you're going to render a great number of\n spheres per frame, it is advised to reduce the level of detail using\n this function. The setting stays active until sphere-detail is\n called again with a new parameter and so should not be called prior\n to every sphere statement, unless you wish to render spheres with\n different settings, e.g. using less detail for smaller spheres or\n ones further away from the camera. To controla the detail of the\n horizontal and vertical resolution independently, use the version of\n the functions with two parameters."}, :added "1.0", :name quil.core/sphere-detail, :variadic false, :subcategory "3D Primitives", :file "out/quil/core.cljc", :end-column 16, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([res] [ures vres]), :arglists ([res] [ures vres]), :arglists-meta (nil nil)}, :processing-name "sphereDetail()", :method-params ([res] [ures vres]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3927, :end-line 3933, :max-fixed-arity 2, :fn-var true, :arglists ([res] [ures vres]), :doc "Controls the detail used to render a sphere by adjusting the number\n of vertices of the sphere mesh. The default resolution is 30, which\n creates a fairly detailed sphere definition with vertices every\n 360/30 = 12 degrees. If you're going to render a great number of\n spheres per frame, it is advised to reduce the level of detail using\n this function. The setting stays active until sphere-detail is\n called again with a new parameter and so should not be called prior\n to every sphere statement, unless you wish to render spheres with\n different settings, e.g. using less detail for smaller spheres or\n ones further away from the camera. To controla the detail of the\n horizontal and vertical resolution independently, use the version of\n the functions with two parameters."}, vertex {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Vertex", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([x y] [x y z] [x y u v] [x y z u v]), :arglists ([x y] [x y z] [x y u v] [x y z u v]), :arglists-meta (nil nil nil nil)}, :processing-name "vertex()", :column 3, :requires-bindings true, :line 4580, :end-line 4580, :arglists (quote ([x y] [x y z] [x y u v] [x y z u v])), :doc "All shapes are constructed by connecting a series of\n vertices. vertex is used to specify the vertex coordinates for\n points, lines, triangles, quads, and polygons and is used\n exclusively within the begin-shape and end-shape fns.\n\n Drawing a vertex in 3D using the z parameter requires the :p3d or\n :opengl renderers to be used.\n\n This function is also used to map a texture onto the geometry. The\n texture fn declares the texture to apply to the geometry and the u\n and v coordinates set define the mapping of this texture to the\n form. By default, the coordinates used for u and v are specified in\n relation to the image's size in pixels, but this relation can be\n changed with texture-mode."}, :added "1.0", :name quil.core/vertex, :variadic false, :subcategory "Vertex", :file "out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([x y] [x y z] [x y u v] [x y z u v]), :arglists ([x y] [x y z] [x y u v] [x y z u v]), :arglists-meta (nil nil nil nil)}, :processing-name "vertex()", :method-params ([x y] [x y z] [x y u v] [x y z u v]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :requires-bindings true, :line 4574, :end-line 4580, :max-fixed-arity 5, :fn-var true, :arglists ([x y] [x y z] [x y u v] [x y z u v]), :doc "All shapes are constructed by connecting a series of\n vertices. vertex is used to specify the vertex coordinates for\n points, lines, triangles, quads, and polygons and is used\n exclusively within the begin-shape and end-shape fns.\n\n Drawing a vertex in 3D using the z parameter requires the :p3d or\n :opengl renderers to be used.\n\n This function is also used to map a texture onto the geometry. The\n texture fn declares the texture to apply to the geometry and the u\n and v coordinates set define the mapping of this texture to the\n form. By default, the coordinates used for u and v are specified in\n relation to the image's size in pixels, but this relation can be\n changed with texture-mode."}, delay-frame {:category "Structure", :protocol-inline nil, :meta {:category "Structure", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :processing-name "delay()", :column 3, :processing-link nil, :requires-bindings true, :line 1456, :end-line 1456, :arglists (quote ([freeze-ms])), :doc "Forces the program to stop running for a specified time. Delay\n times are specified in thousandths of a second, therefore the\n function call (delay 3000) will stop the program for three\n seconds. Because the screen is updated only at the end of draw,\n the program may appear to 'freeze', because the screen will not\n update when the delay fn is used. This function has no affect\n inside setup."}, :added "1.0", :name quil.core/delay-frame, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 14, :processing-name "delay()", :method-params ([freeze-ms]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :processing-link nil, :requires-bindings true, :line 1449, :end-line 1456, :max-fixed-arity 1, :fn-var true, :arglists (quote ([freeze-ms])), :doc "Forces the program to stop running for a specified time. Delay\n times are specified in thousandths of a second, therefore the\n function call (delay 3000) will stop the program for three\n seconds. Because the screen is updated only at the end of draw,\n the program may appear to 'freeze', because the screen will not\n update when the delay fn is used. This function has no affect\n inside setup."}, horizontal-alignment-modes {:name quil.core/horizontal-alignment-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 66, :end-column 28, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 66, :column 2, :end-line 66, :end-column 28}, :tag cljs.core/IMap}, spot-light {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Lights", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 11, :method-params ([r g b x y z nx ny nz angle concentration] [[r g b] [x y z] [nx ny nz] angle concentration]), :arglists ([r g b x y z nx ny nz angle concentration] [[r g b] [x y z] [nx ny nz] angle concentration]), :arglists-meta (nil nil)}, :processing-name "spotLight()", :column 3, :requires-bindings true, :line 3955, :end-line 3955, :arglists (quote ([r g b x y z nx ny nz angle concentration] [[r g b] [x y z] [nx ny nz] angle concentration])), :doc "Adds a spot light. Lights need to be included in the draw to\n remain persistent in a looping program. Placing them in the setup\n of a looping program will cause them to only have an effect the\n first time through the loop. The affect of the r, g, and b\n parameters is determined by the current color mode. The x, y, and z\n parameters specify the position of the light and nx, ny, nz specify\n the direction or light. The angle parameter affects angle of the\n spotlight cone."}, :added "1.0", :name quil.core/spot-light, :variadic false, :subcategory "Lights", :file "out/quil/core.cljc", :end-column 13, :top-fn {:variadic false, :max-fixed-arity 11, :method-params ([r g b x y z nx ny nz angle concentration] [[r g b] [x y z] [nx ny nz] angle concentration]), :arglists ([r g b x y z nx ny nz angle concentration] [[r g b] [x y z] [nx ny nz] angle concentration]), :arglists-meta (nil nil)}, :processing-name "spotLight()", :method-params ([r g b x y z nx ny nz angle concentration] [[r g b] [x y z] [nx ny nz] angle concentration]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3949, :end-line 3955, :max-fixed-arity 11, :fn-var true, :arglists ([r g b x y z nx ny nz angle concentration] [[r g b] [x y z] [nx ny nz] angle concentration]), :doc "Adds a spot light. Lights need to be included in the draw to\n remain persistent in a looping program. Placing them in the setup\n of a looping program will cause them to only have an effect the\n first time through the loop. The affect of the r, g, and b\n parameters is determined by the current color mode. The x, y, and z\n parameters specify the position of the light and nx, ny, nz specify\n the direction or light. The angle parameter affects angle of the\n spotlight cone."}, target-frame-rate {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.5.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 20, :column 3, :requires-bindings true, :line 4126, :end-line 4126, :arglists (quote ([])), :doc "Returns the target framerate specified with the fn frame-rate"}, :added "1.5.0", :name quil.core/target-frame-rate, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 20, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4121, :end-line 4126, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns the target framerate specified with the fn frame-rate"}, tint {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "tint()", :column 3, :requires-bindings true, :line 4461, :end-line 4461, :arglists (quote ([rgb] [rgb alpha] [r g b] [r g b a])), :doc "Sets the fill value for displaying images. Images can be tinted to\n specified colors or made transparent by setting the alpha.\n\n To make an image transparent, but not change it's color, use white\n as the tint color and specify an alpha value. For instance,\n tint(255, 128) will make an image 50% transparent (unless\n colorMode() has been used).\n\n The value for the parameter gray must be less than or equal to the\n current maximum value as specified by colorMode(). The default\n maximum value is 255.\n\n Also used to control the coloring of textures in 3D."}, :added "1.0", :name quil.core/tint, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists ([rgb] [rgb alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "tint()", :method-params ([rgb] [rgb alpha] [r g b] [r g b a]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :requires-bindings true, :line 4455, :end-line 4461, :max-fixed-arity 4, :fn-var true, :arglists ([rgb] [rgb alpha] [r g b] [r g b a]), :doc "Sets the fill value for displaying images. Images can be tinted to\n specified colors or made transparent by setting the alpha.\n\n To make an image transparent, but not change it's color, use white\n as the tint color and specify an alpha value. For instance,\n tint(255, 128) will make an image 50% transparent (unless\n colorMode() has been used).\n\n The value for the parameter gray must be less than or equal to the\n current maximum value as specified by colorMode(). The default\n maximum value is 255.\n\n Also used to control the coloring of textures in 3D."}, bezier-tangent {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Curves", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 17, :processing-name "bezierTangent()", :column 3, :requires-bindings true, :line 722, :end-line 722, :arglists (quote ([a b c d t])), :doc "Calculates the tangent of a point on a Bezier curve.\n (See http://en.wikipedia.org/wiki/Tangent)"}, :added "1.0", :name quil.core/bezier-tangent, :variadic false, :subcategory "Curves", :file "out/quil/core.cljc", :end-column 17, :processing-name "bezierTangent()", :method-params ([a b c d t]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 716, :end-line 722, :max-fixed-arity 5, :fn-var true, :arglists (quote ([a b c d t])), :doc "Calculates the tangent of a point on a Bezier curve.\n (See http://en.wikipedia.org/wiki/Tangent)"}, asin {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Trigonometry", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "asin()", :column 3, :requires-bindings false, :line 444, :end-line 444, :arglists (quote ([n])), :doc "The inverse of sin, returns the arc sine of a value. This function\n expects the values in the range of -1 to 1 and values are returned\n in the range -PI/2 to PI/2."}, :added "1.0", :name quil.core/asin, :variadic false, :subcategory "Trigonometry", :file "out/quil/core.cljc", :end-column 7, :processing-name "asin()", :method-params ([n]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 438, :end-line 444, :max-fixed-arity 1, :fn-var true, :arglists (quote ([n])), :doc "The inverse of sin, returns the arc sine of a value. This function\n expects the values in the range of -1 to 1 and values are returned\n in the range -PI/2 to PI/2."}, lerp {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "lerp()", :column 3, :requires-bindings false, :line 2268, :end-line 2268, :arglists (quote ([start stop amt])), :doc "Calculates a number between two numbers at a specific\n increment. The amt parameter is the amount to interpolate between\n the two values where 0.0 equal to the first point, 0.1 is very near\n the first point, 0.5 is half-way in between, etc. The lerp function\n is convenient for creating motion along a straight path and for\n drawing dotted lines."}, :added "1.0", :name quil.core/lerp, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 7, :processing-name "lerp()", :method-params ([start stop amt]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 2262, :end-line 2268, :max-fixed-arity 3, :fn-var true, :arglists (quote ([start stop amt])), :doc "Calculates a number between two numbers at a specific\n increment. The amt parameter is the amount to interpolate between\n the two values where 0.0 equal to the first point, 0.1 is very near\n the first point, 0.5 is half-way in between, etc. The lerp function\n is convenient for creating motion along a straight path and for\n drawing dotted lines."}, unhex {:category "Data", :protocol-inline nil, :meta {:category "Data", :require-binding false, :subcategory "Conversion", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :processing-name "hex()", :column 3, :line 4538, :end-line 4538, :arglists (quote ([hex-str])), :doc "Converts a String representation of a hexadecimal number to its\n equivalent integer value."}, :require-binding false, :name quil.core/unhex, :variadic false, :subcategory "Conversion", :file "out/quil/core.cljc", :end-column 8, :processing-name "hex()", :method-params ([hex-str]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 4533, :end-line 4538, :max-fixed-arity 1, :fn-var true, :arglists (quote ([hex-str])), :doc "Converts a String representation of a hexadecimal number to its\n equivalent integer value."}, begin-camera {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Camera", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "beginCamera()", :column 3, :requires-bindings true, :line 585, :end-line 585, :arglists (quote ([])), :doc "Sets the matrix mode to the camera matrix so calls such as\n translate, rotate, apply-matrix and reset-matrix affect the\n camera. begin-camera should always be used with a following\n end-camera and pairs of begin-camera and end-camera cannot be\n nested.\n\n For most situations the camera function will be sufficient."}, :added "1.0", :name quil.core/begin-camera, :variadic false, :subcategory "Camera", :file "out/quil/core.cljc", :end-column 15, :processing-name "beginCamera()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 579, :end-line 585, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Sets the matrix mode to the camera matrix so calls such as\n translate, rotate, apply-matrix and reset-matrix affect the\n camera. begin-camera should always be used with a following\n end-camera and pairs of begin-camera and end-camera cannot be\n nested.\n\n For most situations the camera function will be sufficient."}, text-num {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([num x y] [num x y z]), :arglists ([num x y] [num x y z]), :arglists-meta (nil nil)}, :processing-name "text()", :column 3, :requires-bindings true, :line 4160, :end-line 4160, :arglists (quote ([num x y] [num x y z])), :doc "Draws a number to the screen in the specified position. See text fn\n for more details."}, :added "1.0", :name quil.core/text-num, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([num x y] [num x y z]), :arglists ([num x y] [num x y z]), :arglists-meta (nil nil)}, :processing-name "text()", :method-params ([num x y] [num x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4154, :end-line 4160, :max-fixed-arity 4, :fn-var true, :arglists ([num x y] [num x y z]), :doc "Draws a number to the screen in the specified position. See text fn\n for more details."}, round {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :processing-name "round()", :column 3, :requires-bindings false, :line 3527, :end-line 3527, :arglists (quote ([val])), :doc "Calculates the integer closest to the value parameter. For example,\n (round 9.2) returns the value 9."}, :added "1.0", :name quil.core/round, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 8, :processing-name "round()", :method-params ([val]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 3521, :end-line 3527, :max-fixed-arity 1, :fn-var true, :arglists (quote ([val])), :doc "Calculates the integer closest to the value parameter. For example,\n (round 9.2) returns the value 9."}, background-image {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 19, :processing-name "background()", :column 3, :requires-bindings true, :line 572, :end-line 572, :arglists (quote ([img])), :doc "Specify an image to be used as the background for a sketch. Its\n width and height must be the same size as the sketch window. Images\n used as background will ignore the current tint setting."}, :added "1.0", :name quil.core/background-image, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 19, :processing-name "background()", :method-params ([img]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 566, :end-line 572, :max-fixed-arity 1, :fn-var true, :arglists (quote ([img])), :doc "Specify an image to be used as the background for a sketch. Its\n width and height must be the same size as the sketch window. Images\n used as background will ignore the current tint setting."}, load-shape {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "loadShape()", :column 3, :requires-bindings true, :line 2418, :end-line 2418, :arglists (quote ([filename])), :doc "Load a geometry from a file as a PShape."}, :added "1.0", :name quil.core/load-shape, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 13, :processing-name "loadShape()", :method-params ([filename]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2412, :end-line 2418, :max-fixed-arity 1, :fn-var true, :arglists (quote ([filename])), :doc "Load a geometry from a file as a PShape."}, vertical-alignment-modes {:name quil.core/vertical-alignment-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 67, :end-column 26, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 67, :column 2, :end-line 67, :end-column 26}, :tag cljs.core/IMap}, blend-color {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :processing-name "blendColor()", :column 3, :processing-link nil, :requires-bindings false, :line 828, :end-line 828, :arglists (quote ([c1 c2 mode])), :doc "Blends two color values together based on the blending mode given specified\n with the mode keyword.\n\n Available blend modes are:\n\n :blend - linear interpolation of colours: C = A*factor + B\n :add - additive blending with white clip:\n C = min(A*factor + B, 255)\n :subtract - subtractive blending with black clip:\n C = max(B - A*factor, 0)\n :darkest - only the darkest colour succeeds:\n C = min(A*factor, B)\n :lightest - only the lightest colour succeeds:\n C = max(A*factor, B)\n :difference - subtract colors from underlying image.\n :exclusion - similar to :difference, but less extreme.\n :multiply - Multiply the colors, result will always be darker.\n :screen - Opposite multiply, uses inverse values of the colors.\n :overlay - A mix of :multiply and :screen. Multiplies dark values\n and screens light values.\n :hard-light - :screen when greater than 50% gray, :multiply when\n lower.\n :soft-light - Mix of :darkest and :lightest. Works like :overlay,\n but not as harsh.\n :dodge - Lightens light tones and increases contrast, ignores\n darks.\n Called \"Color Dodge\" in Illustrator and Photoshop.\n :burn - Darker areas are applied, increasing contrast, ignores\n lights. Called \"Color Burn\" in Illustrator and\n Photoshop."}, :added "1.0", :name quil.core/blend-color, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 14, :processing-name "blendColor()", :method-params ([c1 c2 mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :processing-link nil, :requires-bindings false, :line 821, :end-line 828, :max-fixed-arity 3, :fn-var true, :arglists (quote ([c1 c2 mode])), :doc "Blends two color values together based on the blending mode given specified\n with the mode keyword.\n\n Available blend modes are:\n\n :blend - linear interpolation of colours: C = A*factor + B\n :add - additive blending with white clip:\n C = min(A*factor + B, 255)\n :subtract - subtractive blending with black clip:\n C = max(B - A*factor, 0)\n :darkest - only the darkest colour succeeds:\n C = min(A*factor, B)\n :lightest - only the lightest colour succeeds:\n C = max(A*factor, B)\n :difference - subtract colors from underlying image.\n :exclusion - similar to :difference, but less extreme.\n :multiply - Multiply the colors, result will always be darker.\n :screen - Opposite multiply, uses inverse values of the colors.\n :overlay - A mix of :multiply and :screen. Multiplies dark values\n and screens light values.\n :hard-light - :screen when greater than 50% gray, :multiply when\n lower.\n :soft-light - Mix of :darkest and :lightest. Works like :overlay,\n but not as harsh.\n :dodge - Lightens light tones and increases contrast, ignores\n darks.\n Called \"Color Dodge\" in Illustrator and Photoshop.\n :burn - Darker areas are applied, increasing contrast, ignores\n lights. Called \"Color Burn\" in Illustrator and\n Photoshop."}, QUARTER-PI {:name quil.core/QUARTER-PI, :file "out/quil/core.cljc", :line 79, :column 1, :end-line 79, :end-column 16, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 79, :column 6, :end-line 79, :end-column 16}, :tag number}, stroke-cap {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "strokeCap()", :column 3, :requires-bindings true, :line 4064, :end-line 4064, :arglists (quote ([cap-mode])), :doc "Sets the style for rendering line endings. These ends are either\n squared, extended, or rounded and specified with the corresponding\n parameters :square, :project, and :round. The default cap is :round."}, :added "1.0", :name quil.core/stroke-cap, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 13, :processing-name "strokeCap()", :method-params ([cap-mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4058, :end-line 4064, :max-fixed-arity 1, :fn-var true, :arglists (quote ([cap-mode])), :doc "Sets the style for rendering line endings. These ends are either\n squared, extended, or rounded and specified with the corresponding\n parameters :square, :project, and :round. The default cap is :round."}, blend-modes {:name quil.core/blend-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 48, :end-column 13, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 48, :column 2, :end-line 48, :end-column 13}, :tag cljs.core/IMap}, no-fill {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "noFill()", :column 3, :requires-bindings true, :line 2666, :end-line 2666, :arglists (quote ([])), :doc "Disables filling geometry. If both no-stroke and no-fill are called,\n nothing will be drawn to the screen."}, :added "1.0", :name quil.core/no-fill, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 10, :processing-name "noFill()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2660, :end-line 2666, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Disables filling geometry. If both no-stroke and no-fill are called,\n nothing will be drawn to the screen."}, year {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Time & Date", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "year()", :column 3, :requires-bindings false, :line 4607, :end-line 4607, :arglists (quote ([])), :doc "Returns the current year as an integer (2003, 2004, 2005, etc)."}, :added "1.0", :name quil.core/year, :variadic false, :subcategory "Time & Date", :file "out/quil/core.cljc", :end-column 7, :processing-name "year()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 4601, :end-line 4607, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns the current year as an integer (2003, 2004, 2005, etc)."}, key-coded? {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.6", :subcategory "Keyboard", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name nil, :column 3, :requires-bindings false, :line 4887, :end-line 4887, :arglists (quote ([c])), :doc "Returns true if char c is a 'coded' char i.e. it is necessary to\n fetch the key-code as an integer and use that to determine the\n specific key pressed. See key-keyword."}, :added "1.6", :name quil.core/key-coded?, :variadic false, :subcategory "Keyboard", :file "out/quil/core.cljc", :end-column 13, :processing-name nil, :method-params ([c]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 4882, :end-line 4887, :max-fixed-arity 1, :fn-var true, :arglists (quote ([c])), :doc "Returns true if char c is a 'coded' char i.e. it is necessary to\n fetch the key-code as an integer and use that to determine the\n specific key pressed. See key-keyword."}, curve-tangent {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Curves", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :processing-name "curveTangent()", :column 3, :requires-bindings true, :line 1377, :end-line 1377, :arglists (quote ([a b c d t])), :doc "Calculates the tangent of a point on a curve.\n See: http://en.wikipedia.org/wiki/Tangent"}, :added "1.0", :name quil.core/curve-tangent, :variadic false, :subcategory "Curves", :file "out/quil/core.cljc", :end-column 16, :processing-name "curveTangent()", :method-params ([a b c d t]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1371, :end-line 1377, :max-fixed-arity 5, :fn-var true, :arglists (quote ([a b c d t])), :doc "Calculates the tangent of a point on a curve.\n See: http://en.wikipedia.org/wiki/Tangent"}, ellipse-modes {:name quil.core/ellipse-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 52, :end-column 15, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 52, :column 2, :end-line 52, :end-column 15}, :tag cljs.core/IMap}, pmouse-y {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Mouse", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :processing-name "pmouseY", :column 3, :requires-bindings true, :line 2984, :end-line 2984, :arglists (quote ([])), :doc "Vertical coordinate of the mouse in the previous frame"}, :added "1.0", :name quil.core/pmouse-y, :variadic false, :subcategory "Mouse", :file "out/quil/core.cljc", :end-column 11, :processing-name "pmouseY", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2978, :end-line 2984, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Vertical coordinate of the mouse in the previous frame"}, hex {:category "Data", :protocol-inline nil, :meta {:category "Data", :require-binding false, :subcategory "Conversion", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([val] [val num-digits]), :arglists ([val] [val num-digits]), :arglists-meta (nil nil)}, :processing-name "hex()", :column 3, :line 1951, :end-line 1951, :arglists (quote ([val] [val num-digits])), :doc "Converts a byte, char, int, or color to a String containing the\n equivalent hexadecimal notation. For example color(0, 102, 153) will\n convert to the String \"FF006699\". This function can help make your\n geeky debugging sessions much happier. "}, :require-binding false, :name quil.core/hex, :variadic false, :subcategory "Conversion", :file "out/quil/core.cljc", :end-column 6, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([val] [val num-digits]), :arglists ([val] [val num-digits]), :arglists-meta (nil nil)}, :processing-name "hex()", :method-params ([val] [val num-digits]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 1946, :end-line 1951, :max-fixed-arity 2, :fn-var true, :arglists ([val] [val num-digits]), :doc "Converts a byte, char, int, or color to a String containing the\n equivalent hexadecimal notation. For example color(0, 102, 153) will\n convert to the String \"FF006699\". This function can help make your\n geeky debugging sessions much happier. "}, with-fill {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.7", :subcategory "Utility Macros", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env fill-args body)], :arglists ([&form &env fill-args & body]), :arglists-meta (nil)}, :processing-name nil, :column 4, :requires-bindings true, :line 4632, :macro true, :end-line 4632, :arglists (quote ([fill-args & body])), :doc "Temporarily set the fill color for the body of this macro.\n The code outside of with-fill form will have the previous fill color set.\n\n The fill color has to be in a vector!\n Example: (with-fill [255] ...)\n (with-fill [10 80 98] ...)"}, :added "1.7", :name quil.core/with-fill, :variadic true, :subcategory "Utility Macros", :file "out/quil/core.cljc", :end-column 13, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env fill-args body)], :arglists ([&form &env fill-args & body]), :arglists-meta (nil)}, :processing-name nil, :method-params [(&form &env fill-args body)], :protocol-impl nil, :arglists-meta (nil), :column 1, :requires-bindings true, :line 4626, :macro true, :end-line 4632, :max-fixed-arity 3, :fn-var false, :arglists ([&form &env fill-args & body]), :doc "Temporarily set the fill color for the body of this macro.\n The code outside of with-fill form will have the previous fill color set.\n\n The fill color has to be in a vector!\n Example: (with-fill [255] ...)\n (with-fill [10 80 98] ...)"}, no-cursor {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "noCursor()", :column 3, :requires-bindings true, :line 2654, :end-line 2654, :arglists (quote ([])), :doc "Hides the cursor from view. Will not work when running the in full\n screen (Present) mode."}, :added "1.0", :name quil.core/no-cursor, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 12, :processing-name "noCursor()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2648, :end-line 2654, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Hides the cursor from view. Will not work when running the in full\n screen (Present) mode."}, create-font {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([name size] [name size smooth] [name size smooth charset]), :arglists ([name size] [name size smooth] [name size smooth charset]), :arglists-meta (nil nil nil)}, :processing-name "createFont()", :column 3, :requires-bindings true, :line 1167, :end-line 1167, :arglists (quote ([name size] [name size smooth] [name size smooth charset])), :doc "Dynamically converts a font to the format used by Processing (a\n PFont) from either a font name that's installed on the computer, or\n from a .ttf or .otf file inside the sketches 'data' folder. This\n function is an advanced feature for precise control.\n\n Use available-fonts to obtain the names for the fonts recognized by\n the computer and are compatible with this function.\n\n The size parameter states the font size you want to generate. The\n smooth parameter specifies if the font should be antialiased or not,\n and the charset parameter is an array of chars that specifies the\n characters to generate.\n\n This function creates a bitmapped version of a font It loads a font\n by name, and converts it to a series of images based on the size of\n the font. When possible, the text function will use a native font\n rather than the bitmapped version created behind the scenes with\n create-font. For instance, when using the default renderer\n setting (JAVA2D), the actual native version of the font will be\n employed by the sketch, improving drawing quality and\n performance. With the :p2d, :p3d, and :opengl renderer settings, the\n bitmapped version will be used. While this can drastically improve\n speed and appearance, results are poor when exporting if the sketch\n does not include the .otf or .ttf file, and the requested font is\n not available on the machine running the sketch."}, :added "1.0", :name quil.core/create-font, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 14, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([name size] [name size smooth] [name size smooth charset]), :arglists ([name size] [name size smooth] [name size smooth charset]), :arglists-meta (nil nil nil)}, :processing-name "createFont()", :method-params ([name size] [name size smooth] [name size smooth charset]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 1161, :end-line 1167, :max-fixed-arity 4, :fn-var true, :arglists ([name size] [name size smooth] [name size smooth charset]), :doc "Dynamically converts a font to the format used by Processing (a\n PFont) from either a font name that's installed on the computer, or\n from a .ttf or .otf file inside the sketches 'data' folder. This\n function is an advanced feature for precise control.\n\n Use available-fonts to obtain the names for the fonts recognized by\n the computer and are compatible with this function.\n\n The size parameter states the font size you want to generate. The\n smooth parameter specifies if the font should be antialiased or not,\n and the charset parameter is an array of chars that specifies the\n characters to generate.\n\n This function creates a bitmapped version of a font It loads a font\n by name, and converts it to a series of images based on the size of\n the font. When possible, the text function will use a native font\n rather than the bitmapped version created behind the scenes with\n create-font. For instance, when using the default renderer\n setting (JAVA2D), the actual native version of the font will be\n employed by the sketch, improving drawing quality and\n performance. With the :p2d, :p3d, and :opengl renderer settings, the\n bitmapped version will be used. While this can drastically improve\n speed and appearance, results are poor when exporting if the sketch\n does not include the .otf or .ttf file, and the requested font is\n not available on the machine running the sketch."}, current-graphics {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "2.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 19, :column 3, :requires-bindings true, :line 32, :end-line 32, :tag PGraphics, :arglists (quote ([])), :doc "Graphics currently used for drawing. By default it is sketch graphics,\n but if called inside with-graphics macro - graphics passed to the macro\n is returned. This method should be used if you need to call some methods\n that are not implemented by quil. Example:\n (.beginDraw (current-graphics))."}, :added "2.0", :name quil.core/current-graphics, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 19, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 26, :ret-tag PGraphics, :end-line 32, :max-fixed-arity 0, :tag PGraphics, :fn-var true, :arglists (quote ([])), :doc "Graphics currently used for drawing. By default it is sketch graphics,\n but if called inside with-graphics macro - graphics passed to the macro\n is returned. This method should be used if you need to call some methods\n that are not implemented by quil. Example:\n (.beginDraw (current-graphics))."}, abs {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Calculation", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :processing-name "abs()", :column 3, :requires-bindings false, :line 281, :end-line 281, :arglists (quote ([n])), :doc "Calculates the absolute value (magnitude) of a number. The\n absolute value of a number is always positive. Dynamically casts to\n an int or float appropriately"}, :added "1.0", :name quil.core/abs, :variadic false, :subcategory "Calculation", :file "out/quil/core.cljc", :end-column 6, :processing-name "abs()", :method-params ([n]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 275, :end-line 281, :max-fixed-arity 1, :fn-var true, :arglists (quote ([n])), :doc "Calculates the absolute value (magnitude) of a number. The\n absolute value of a number is always positive. Dynamically casts to\n an int or float appropriately"}, pop-style {:category "Structure", :protocol-inline nil, :meta {:category "Structure", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "popStyle()", :column 3, :requires-bindings true, :line 3044, :end-line 3044, :arglists (quote ([])), :doc "Restores the prior settings on the 'style stack'. Used in\n conjunction with push-style. Together they allow you to change the\n style settings and later return to what you had. When a new style is\n started with push-style, it builds on the current style information.\n The push-style and pop-style functions can be nested to provide more\n control"}, :added "1.0", :name quil.core/pop-style, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 12, :processing-name "popStyle()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3038, :end-line 3044, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Restores the prior settings on the 'style stack'. Used in\n conjunction with push-style. Together they allow you to change the\n style settings and later return to what you had. When a new style is\n started with push-style, it builds on the current style information.\n The push-style and pop-style functions can be nested to provide more\n control"}, focused {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "focused", :column 3, :requires-bindings true, :line 1843, :end-line 1843, :arglists (quote ([])), :doc "Returns a boolean value representing whether the applet has focus."}, :added "1.0", :name quil.core/focused, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 10, :processing-name "focused", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1837, :end-line 1843, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns a boolean value representing whether the applet has focus."}, background-float {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Setting", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 19, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([gray] [gray alpha] [r g b] [r g b a]), :arglists ([gray] [gray alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "background()", :column 3, :requires-bindings true, :line 512, :end-line 512, :arglists (quote ([gray] [gray alpha] [r g b] [r g b a])), :doc "Sets the color used for the background of the Processing\n window. The default background is light gray. In the draw function,\n the background color is used to clear the display window at the\n beginning of each frame.\n\n It is not possible to use transparency (alpha) in background colors\n with the main drawing surface, however they will work properly with\n create-graphics. Converts args to floats."}, :added "1.0", :name quil.core/background-float, :variadic false, :subcategory "Setting", :file "out/quil/core.cljc", :end-column 19, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([gray] [gray alpha] [r g b] [r g b a]), :arglists ([gray] [gray alpha] [r g b] [r g b a]), :arglists-meta (nil nil nil nil)}, :processing-name "background()", :method-params ([gray] [gray alpha] [r g b] [r g b a]), :protocol-impl nil, :arglists-meta (nil nil nil nil), :column 1, :requires-bindings true, :line 506, :end-line 512, :max-fixed-arity 4, :fn-var true, :arglists ([gray] [gray alpha] [r g b] [r g b a]), :doc "Sets the color used for the background of the Processing\n window. The default background is light gray. In the draw function,\n the background color is used to clear the display window at the\n beginning of each frame.\n\n It is not possible to use transparency (alpha) in background colors\n with the main drawing surface, however they will work properly with\n create-graphics. Converts args to floats."}, text-mode {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "textMode()", :column 3, :requires-bindings true, :line 4307, :end-line 4307, :arglists (quote ([mode])), :doc "Sets the way text draws to the screen - available modes\n are :model and :shape\n\n In the default configuration (the :model mode), it's possible to\n rotate, scale, and place letters in two and three dimensional space.\n\n The :shape mode draws text using the glyph outlines of individual\n characters rather than as textures. This mode is only supported with\n the PDF and OPENGL renderer settings. With the PDF renderer, you\n must specify the :shape text-mode before any other drawing occurs.\n If the outlines are not available, then :shape will be ignored and\n :model will be used instead.\n\n The :shape option in OPENGL mode can be combined with begin-raw to\n write vector-accurate text to 2D and 3D output files, for instance\n DXF or PDF. :shape is not currently optimized for OPENGL, so if\n recording shape data, use :model until you're ready to capture the\n geometry with begin-raw."}, :added "1.0", :name quil.core/text-mode, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 12, :processing-name "textMode()", :method-params ([mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4301, :end-line 4307, :max-fixed-arity 1, :fn-var true, :arglists (quote ([mode])), :doc "Sets the way text draws to the screen - available modes\n are :model and :shape\n\n In the default configuration (the :model mode), it's possible to\n rotate, scale, and place letters in two and three dimensional space.\n\n The :shape mode draws text using the glyph outlines of individual\n characters rather than as textures. This mode is only supported with\n the PDF and OPENGL renderer settings. With the PDF renderer, you\n must specify the :shape text-mode before any other drawing occurs.\n If the outlines are not available, then :shape will be ignored and\n :model will be used instead.\n\n The :shape option in OPENGL mode can be combined with begin-raw to\n write vector-accurate text to 2D and 3D output files, for instance\n DXF or PDF. :shape is not currently optimized for OPENGL, so if\n recording shape data, use :model until you're ready to capture the\n geometry with begin-raw."}, image-mode {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 13, :processing-name "imageMode()", :column 3, :requires-bindings true, :line 2145, :end-line 2145, :arglists (quote ([mode])), :doc "Modifies the location from which images draw. The default mode is :corner.\n Available modes are:\n\n :corner - specifies the location to be the upper left corner and\n uses the fourth and fifth parameters of image to set the\n image's width and height.\n\n :corners - uses the second and third parameters of image to set the\n location of one corner of the image and uses the fourth\n and fifth parameters to set the opposite corner.\n\n :center - draw images centered at the given x and y position."}, :added "1.0", :name quil.core/image-mode, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 13, :processing-name "imageMode()", :method-params ([mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2139, :end-line 2145, :max-fixed-arity 1, :fn-var true, :arglists (quote ([mode])), :doc "Modifies the location from which images draw. The default mode is :corner.\n Available modes are:\n\n :corner - specifies the location to be the upper left corner and\n uses the fourth and fifth parameters of image to set the\n image's width and height.\n\n :corners - uses the second and third parameters of image to set the\n location of one corner of the image and uses the fourth\n and fifth parameters to set the opposite corner.\n\n :center - draw images centered at the given x and y position."}, line {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "2D Primitives", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 6, :method-params ([p1 p2] [x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :arglists ([p1 p2] [x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :arglists-meta (nil nil nil)}, :processing-name "line()", :column 3, :requires-bindings true, :line 2324, :end-line 2324, :arglists (quote ([p1 p2] [x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2])), :doc "Draws a line (a direct path between two points) to the screen. The\n version of line with four parameters draws the line in 2D. To color\n a line, use the stroke function. A line cannot be filled, therefore\n the fill method will not affect the color of a line. 2D lines are\n drawn with a width of one pixel by default, but this can be changed\n with the stroke-weight function. The version with six parameters\n allows the line to be placed anywhere within XYZ space. "}, :added "1.0", :name quil.core/line, :variadic false, :subcategory "2D Primitives", :file "out/quil/core.cljc", :end-column 7, :top-fn {:variadic false, :max-fixed-arity 6, :method-params ([p1 p2] [x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :arglists ([p1 p2] [x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :arglists-meta (nil nil nil)}, :processing-name "line()", :method-params ([p1 p2] [x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 2318, :end-line 2324, :max-fixed-arity 6, :fn-var true, :arglists ([p1 p2] [x1 y1 x2 y2] [x1 y1 z1 x2 y2 z2]), :doc "Draws a line (a direct path between two points) to the screen. The\n version of line with four parameters draws the line in 2D. To color\n a line, use the stroke function. A line cannot be filled, therefore\n the fill method will not affect the color of a line. 2D lines are\n drawn with a width of one pixel by default, but this can be changed\n with the stroke-weight function. The version with six parameters\n allows the line to be placed anywhere within XYZ space. "}, do-record {:category "Output", :protocol-inline nil, :meta {:category "Output", :added "2.5", :subcategory "Files", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env graphics body)], :arglists ([&form &env graphics & body]), :arglists-meta (nil)}, :processing-name nil, :column 3, :requires-bindings true, :line 1510, :macro true, :end-line 1510, :arglists (quote ([graphics & body])), :doc "Macro for drawing on graphics which saves result in the file at the end.\n Similar to 'with-graphics' macro. do-record assumed to be used with :pdf\n graphics. Example:\n\n (q/do-record (q/create-graphics 200 200 :pdf \"output.pdf\")\n (q/fill 250 0 0)\n (q/ellipse 100 100 150 150))\n "}, :added "2.5", :name quil.core/do-record, :variadic true, :subcategory "Files", :file "out/quil/core.cljc", :end-column 12, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env graphics body)], :arglists ([&form &env graphics & body]), :arglists-meta (nil)}, :processing-name nil, :method-params [(&form &env graphics body)], :protocol-impl nil, :arglists-meta (nil), :column 1, :requires-bindings true, :line 1504, :macro true, :end-line 1510, :max-fixed-arity 3, :fn-var false, :arglists ([&form &env graphics & body]), :doc "Macro for drawing on graphics which saves result in the file at the end.\n Similar to 'with-graphics' macro. do-record assumed to be used with :pdf\n graphics. Example:\n\n (q/do-record (q/create-graphics 200 200 :pdf \"output.pdf\")\n (q/fill 250 0 0)\n (q/ellipse 100 100 150 150))\n "}, red {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :processing-name "red()", :column 3, :requires-bindings true, :line 3333, :end-line 3333, :arglists (quote ([c])), :doc "Extracts the red value from a color, scaled to match current color-mode."}, :added "1.0", :name quil.core/red, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 6, :processing-name "red()", :method-params ([c]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3327, :end-line 3333, :max-fixed-arity 1, :fn-var true, :arglists (quote ([c])), :doc "Extracts the red value from a color, scaled to match current color-mode."}, current-fill {:category "Color", :protocol-inline nil, :meta {:category "Color", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "PGraphics.fillColor", :column 3, :processing-link "http://processing.github.io/processing-javadocs/core/processing/core/PGraphics.html#fillColor", :requires-bindings true, :line 1264, :end-line 1264, :arglists (quote ([])), :doc "Return the current fill color."}, :name quil.core/current-fill, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 15, :processing-name "PGraphics.fillColor", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :processing-link "http://processing.github.io/processing-javadocs/core/processing/core/PGraphics.html#fillColor", :requires-bindings true, :line 1258, :end-line 1264, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Return the current fill color."}, color-modes {:name quil.core/color-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 50, :end-column 13, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 50, :column 2, :end-line 50, :end-column 13}, :tag cljs.core/IMap}, blue {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "blue()", :column 3, :requires-bindings true, :line 905, :end-line 905, :arglists (quote ([color])), :doc "Extracts the blue value from a color, scaled to match current color-mode.\n Returns a float."}, :added "1.0", :name quil.core/blue, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 7, :processing-name "blue()", :method-params ([color]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 899, :end-line 905, :max-fixed-arity 1, :fn-var true, :arglists (quote ([color])), :doc "Extracts the blue value from a color, scaled to match current color-mode.\n Returns a float."}, frustum {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Camera", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "frustum()", :column 3, :requires-bindings true, :line 1897, :end-line 1897, :arglists (quote ([left right bottom top near far])), :doc "Sets a perspective matrix defined through the parameters. Works\n like glFrustum, except it wipes out the current perspective matrix\n rather than muliplying itself with it."}, :added "1.0", :name quil.core/frustum, :variadic false, :subcategory "Camera", :file "out/quil/core.cljc", :end-column 10, :processing-name "frustum()", :method-params ([left right bottom top near far]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1891, :end-line 1897, :max-fixed-arity 6, :fn-var true, :arglists (quote ([left right bottom top near far])), :doc "Sets a perspective matrix defined through the parameters. Works\n like glFrustum, except it wipes out the current perspective matrix\n rather than muliplying itself with it."}, with-rotation {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory "Utility Macros", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env rotation body)], :arglists ([&form &env rotation & body]), :arglists-meta (nil)}, :processing-name nil, :column 3, :requires-bindings true, :line 4688, :macro true, :end-line 4688, :arglists (quote ([rotation & body])), :doc "Performs body with rotation, restores current transformation on exit.\n Accepts a vector [angle] or [angle x-axis y-axis z-axis].\n\n Example:\n (with-rotation [angle]\n (vertex 1 2))"}, :added "1.0", :name quil.core/with-rotation, :variadic true, :subcategory "Utility Macros", :file "out/quil/core.cljc", :end-column 16, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env rotation body)], :arglists ([&form &env rotation & body]), :arglists-meta (nil)}, :processing-name nil, :method-params [(&form &env rotation body)], :protocol-impl nil, :arglists-meta (nil), :column 1, :requires-bindings true, :line 4682, :macro true, :end-line 4688, :max-fixed-arity 3, :fn-var false, :arglists ([&form &env rotation & body]), :doc "Performs body with rotation, restores current transformation on exit.\n Accepts a vector [angle] or [angle x-axis y-axis z-axis].\n\n Example:\n (with-rotation [angle]\n (vertex 1 2))"}, print-matrix {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "printMatrix()", :column 3, :requires-bindings true, :line 3087, :end-line 3087, :arglists (quote ([])), :doc "Prints the current matrix to std out. Useful for debugging."}, :added "1.0", :name quil.core/print-matrix, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 15, :processing-name "printMatrix()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3081, :end-line 3087, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Prints the current matrix to std out. Useful for debugging."}, ambient-light {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Lights", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 16, :top-fn {:variadic false, :max-fixed-arity 6, :method-params ([red green blue] [red green blue x y z]), :arglists ([red green blue] [red green blue x y z]), :arglists-meta (nil nil)}, :processing-name "ambientLight()", :column 3, :requires-bindings true, :line 375, :end-line 375, :arglists (quote ([red green blue] [red green blue x y z])), :doc "Adds an ambient light. Ambient light doesn't come from a specific direction,\n the rays have light have bounced around so much that objects are\n evenly lit from all sides. Ambient lights are almost always used in\n combination with other types of lights. Lights need to be included\n in the draw to remain persistent in a looping program. Placing them\n in the setup of a looping program will cause them to only have an\n effect the first time through the loop. The effect of the\n parameters is determined by the current color mode."}, :added "1.0", :name quil.core/ambient-light, :variadic false, :subcategory "Lights", :file "out/quil/core.cljc", :end-column 16, :top-fn {:variadic false, :max-fixed-arity 6, :method-params ([red green blue] [red green blue x y z]), :arglists ([red green blue] [red green blue x y z]), :arglists-meta (nil nil)}, :processing-name "ambientLight()", :method-params ([red green blue] [red green blue x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 369, :end-line 375, :max-fixed-arity 6, :fn-var true, :arglists ([red green blue] [red green blue x y z]), :doc "Adds an ambient light. Ambient light doesn't come from a specific direction,\n the rays have light have bounced around so much that objects are\n evenly lit from all sides. Ambient lights are almost always used in\n combination with other types of lights. Lights need to be included\n in the draw to remain persistent in a looping program. Placing them\n in the setup of a looping program will cause them to only have an\n effect the first time through the loop. The effect of the\n parameters is determined by the current color mode."}, bezier-point {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Curves", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "bezierPoint()", :column 3, :requires-bindings true, :line 706, :end-line 706, :arglists (quote ([a b c d t])), :doc "Evaluates the Bezier at point t for points a, b, c, d. The\n parameter t varies between 0 and 1, a and d are points on the curve,\n and b and c are the control points. This can be done once with the x\n coordinates and a second time with the y coordinates to get the\n location of a bezier curve at t."}, :added "1.0", :name quil.core/bezier-point, :variadic false, :subcategory "Curves", :file "out/quil/core.cljc", :end-column 15, :processing-name "bezierPoint()", :method-params ([a b c d t]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 700, :end-line 706, :max-fixed-arity 5, :fn-var true, :arglists (quote ([a b c d t])), :doc "Evaluates the Bezier at point t for points a, b, c, d. The\n parameter t varies between 0 and 1, a and d are points on the curve,\n and b and c are the control points. This can be done once with the x\n coordinates and a second time with the y coordinates to get the\n location of a bezier curve at t."}, stroke-cap-modes {:name quil.core/stroke-cap-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 64, :end-column 18, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 64, :column 2, :end-line 64, :end-column 18}, :tag cljs.core/IMap}, quad {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "2D Primitives", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 7, :processing-name "quad()", :column 3, :requires-bindings true, :line 3151, :end-line 3151, :arglists (quote ([x1 y1 x2 y2 x3 y3 x4 y4])), :doc "A quad is a quadrilateral, a four sided polygon. It is similar to a\n rectangle, but the angles between its edges are not constrained to\n be ninety degrees. The first pair of parameters (x1,y1) sets the\n first vertex and the subsequent pairs should proceed clockwise or\n counter-clockwise around the defined shape."}, :added "1.0", :name quil.core/quad, :variadic false, :subcategory "2D Primitives", :file "out/quil/core.cljc", :end-column 7, :processing-name "quad()", :method-params ([x1 y1 x2 y2 x3 y3 x4 y4]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3145, :end-line 3151, :max-fixed-arity 8, :fn-var true, :arglists (quote ([x1 y1 x2 y2 x3 y3 x4 y4])), :doc "A quad is a quadrilateral, a four sided polygon. It is similar to a\n rectangle, but the angles between its edges are not constrained to\n be ninety degrees. The first pair of parameters (x1,y1) sets the\n first vertex and the subsequent pairs should proceed clockwise or\n counter-clockwise around the defined shape."}, screen-x {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Coordinates", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([x y] [x y z]), :arglists ([x y] [x y z]), :arglists-meta (nil nil)}, :processing-name "screenX()", :column 3, :requires-bindings true, :line 3642, :end-line 3642, :arglists (quote ([x y] [x y z])), :doc "Takes a three-dimensional x, y, z position and returns the x value\n for where it will appear on a (two-dimensional) screen, once\n affected by translate, scale or any other transformations"}, :added "1.0", :name quil.core/screen-x, :variadic false, :subcategory "Coordinates", :file "out/quil/core.cljc", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([x y] [x y z]), :arglists ([x y] [x y z]), :arglists-meta (nil nil)}, :processing-name "screenX()", :method-params ([x y] [x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3636, :end-line 3642, :max-fixed-arity 3, :fn-var true, :arglists ([x y] [x y z]), :doc "Takes a three-dimensional x, y, z position and returns the x value\n for where it will appear on a (two-dimensional) screen, once\n affected by translate, scale or any other transformations"}, lights {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Lights", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :processing-name "lights()", :column 3, :requires-bindings true, :line 2285, :end-line 2285, :arglists (quote ([])), :doc "Sets the default ambient light, directional light, falloff, and\n specular values. The defaults are:\n\n (ambient-light 128 128 128)\n (directional-light 128 128 128 0 0 -1)\n (light-falloff 1 0 0)\n (light-specular 0 0 0).\n\n Lights need to be included in the draw to remain persistent in a\n looping program. Placing them in the setup of a looping program\n will cause them to only have an effect the first time through the\n loop."}, :added "1.0", :name quil.core/lights, :variadic false, :subcategory "Lights", :file "out/quil/core.cljc", :end-column 9, :processing-name "lights()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2279, :end-line 2285, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Sets the default ambient light, directional light, falloff, and\n specular values. The defaults are:\n\n (ambient-light 128 128 128)\n (directional-light 128 128 128 0 0 -1)\n (light-falloff 1 0 0)\n (light-specular 0 0 0).\n\n Lights need to be included in the draw to remain persistent in a\n looping program. Placing them in the setup of a looping program\n will cause them to only have an effect the first time through the\n loop."}, *graphics* {:meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 22, :column 3, :end-line 22, :end-column 13, :dynamic true, :private true}, :private true, :name quil.core/*graphics*, :file "out/quil/core.cljc", :end-column 13, :column 1, :dynamic true, :line 20, :end-line 22, :tag clj-nil}, KEY-CODES {:name quil.core/KEY-CODES, :file "out/quil/core.cljc", :line 122, :column 4, :end-line 123, :end-column 15, :private true, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 123, :column 6, :end-line 123, :end-column 15, :private true}, :tag cljs.core/IMap}, curve-detail {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Curves", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "curveDetail()", :column 3, :requires-bindings true, :line 1348, :end-line 1348, :arglists (quote ([detail])), :doc "Sets the resolution at which curves display. The default value is\n 20. This function is only useful when using the :p3d or :opengl\n renderer as the default (:java2d) renderer does not use this\n information."}, :added "1.0", :name quil.core/curve-detail, :variadic false, :subcategory "Curves", :file "out/quil/core.cljc", :end-column 15, :processing-name "curveDetail()", :method-params ([detail]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1342, :end-line 1348, :max-fixed-arity 1, :fn-var true, :arglists (quote ([detail])), :doc "Sets the resolution at which curves display. The default value is\n 20. This function is only useful when using the :p3d or :opengl\n renderer as the default (:java2d) renderer does not use this\n information."}, current-frame-rate {:category "Environment", :protocol-inline nil, :meta {:category "Environment", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 21, :processing-name "frameRate", :column 3, :requires-bindings true, :line 1867, :end-line 1867, :arglists (quote ([])), :doc "Returns the current framerate"}, :added "1.0", :name quil.core/current-frame-rate, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 21, :processing-name "frameRate", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1861, :end-line 1867, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns the current framerate"}, end-contour {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "2.0", :subcategory "Vertex", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :processing-name "endContour()", :column 3, :requires-bindings true, :line 1624, :end-line 1624, :arglists (quote ([])), :doc "Use the begin-contour and end-contour function to create negative\n shapes within shapes. These functions can only be within a\n begin-shape/end-shape pair and they only work with the :p2d and :p3d\n renderers."}, :added "2.0", :name quil.core/end-contour, :variadic false, :subcategory "Vertex", :file "out/quil/core.cljc", :end-column 14, :processing-name "endContour()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1618, :end-line 1624, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Use the begin-contour and end-contour function to create negative\n shapes within shapes. These functions can only be within a\n begin-shape/end-shape pair and they only work with the :p2d and :p3d\n renderers."}, sin {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Trigonometry", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 6, :processing-name "sin()", :column 3, :requires-bindings false, :line 3863, :end-line 3863, :arglists (quote ([angle])), :doc "Calculates the sine of an angle. This function expects the values\n of the angle parameter to be provided in radians (values from 0 to\n 6.28). A float within the range -1 to 1 is returned."}, :added "1.0", :name quil.core/sin, :variadic false, :subcategory "Trigonometry", :file "out/quil/core.cljc", :end-column 6, :processing-name "sin()", :method-params ([angle]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 3857, :end-line 3863, :max-fixed-arity 1, :fn-var true, :arglists (quote ([angle])), :doc "Calculates the sine of an angle. This function expects the values\n of the angle parameter to be provided in radians (values from 0 to\n 6.28). A float within the range -1 to 1 is returned."}, current-stroke {:category "Color", :protocol-inline nil, :meta {:category "Color", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 17, :processing-name "PGraphics.strokeColor", :column 3, :processing-link "http://processing.github.io/processing-javadocs/core/processing/core/PGraphics.html#strokeColor", :requires-bindings true, :line 1275, :end-line 1275, :arglists (quote ([])), :doc "Return the current stroke color."}, :name quil.core/current-stroke, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 17, :processing-name "PGraphics.strokeColor", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :processing-link "http://processing.github.io/processing-javadocs/core/processing/core/PGraphics.html#strokeColor", :requires-bindings true, :line 1269, :end-line 1275, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Return the current stroke color."}, curve {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Curves", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 12, :method-params ([x1 y1 x2 y2 x3 y3 x4 y4] [x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4]), :arglists ([x1 y1 x2 y2 x3 y3 x4 y4] [x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4]), :arglists-meta (nil nil)}, :processing-name "curve()", :column 3, :requires-bindings true, :line 1320, :end-line 1320, :arglists (quote ([x1 y1 x2 y2 x3 y3 x4 y4] [x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4])), :doc "Draws a curved line on the screen. The first and second parameters\n specify the beginning control point and the last two parameters\n specify the ending control point. The middle parameters specify the\n start and stop of the curve. Longer curves can be created by putting\n a series of curve fns together or using curve-vertex. An additional\n fn called curve-tightness provides control for the visual quality of\n the curve. The curve fn is an implementation of Catmull-Rom\n splines."}, :added "1.0", :name quil.core/curve, :variadic false, :subcategory "Curves", :file "out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 12, :method-params ([x1 y1 x2 y2 x3 y3 x4 y4] [x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4]), :arglists ([x1 y1 x2 y2 x3 y3 x4 y4] [x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4]), :arglists-meta (nil nil)}, :processing-name "curve()", :method-params ([x1 y1 x2 y2 x3 y3 x4 y4] [x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1314, :end-line 1320, :max-fixed-arity 12, :fn-var true, :arglists ([x1 y1 x2 y2 x3 y3 x4 y4] [x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4]), :doc "Draws a curved line on the screen. The first and second parameters\n specify the beginning control point and the last two parameters\n specify the ending control point. The middle parameters specify the\n start and stop of the curve. Longer curves can be created by putting\n a series of curve fns together or using curve-vertex. An additional\n fn called curve-tightness provides control for the visual quality of\n the curve. The curve fn is an implementation of Catmull-Rom\n splines."}, shape {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([sh] [sh x y] [sh x y width height]), :arglists ([sh] [sh x y] [sh x y width height]), :arglists-meta (nil nil nil)}, :processing-name "shape()", :column 3, :requires-bindings true, :line 3751, :end-line 3751, :arglists (quote ([sh] [sh x y] [sh x y width height])), :doc "Displays shapes to the screen. The shapes must have been loaded\n with load-shape. Processing currently works with SVG shapes\n only. The sh parameter specifies the shape to display and the x and\n y parameters define the location of the shape from its upper-left\n corner. The shape is displayed at its original size unless the width\n and height parameters specify a different size. The shape-mode\n fn changes the way the parameters work. A call to\n (shape-mode :corners), for example, will change the width and height\n parameters to define the x and y values of the opposite corner of\n the shape.\n\n Note complex shapes may draw awkwardly with the renderers :p2d, :p3d, and\n :opengl. Those renderers do not yet support shapes that have holes\n or complicated breaks."}, :added "1.0", :name quil.core/shape, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([sh] [sh x y] [sh x y width height]), :arglists ([sh] [sh x y] [sh x y width height]), :arglists-meta (nil nil nil)}, :processing-name "shape()", :method-params ([sh] [sh x y] [sh x y width height]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 3745, :end-line 3751, :max-fixed-arity 5, :fn-var true, :arglists ([sh] [sh x y] [sh x y width height]), :doc "Displays shapes to the screen. The shapes must have been loaded\n with load-shape. Processing currently works with SVG shapes\n only. The sh parameter specifies the shape to display and the x and\n y parameters define the location of the shape from its upper-left\n corner. The shape is displayed at its original size unless the width\n and height parameters specify a different size. The shape-mode\n fn changes the way the parameters work. A call to\n (shape-mode :corners), for example, will change the width and height\n parameters to define the x and y values of the opposite corner of\n the shape.\n\n Note complex shapes may draw awkwardly with the renderers :p2d, :p3d, and\n :opengl. Those renderers do not yet support shapes that have holes\n or complicated breaks."}, image-formats {:name quil.core/image-formats, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 51, :end-column 15, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 51, :column 2, :end-line 51, :end-column 15}, :tag cljs.core/IMap}, text-descent {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Metrics", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "textDescent()", :column 3, :requires-bindings true, :line 4255, :end-line 4255, :arglists (quote ([])), :doc "Returns descent of the current font at its current size. This\n information is useful for determining the height of the font below\n the baseline. For example, adding the text-ascent and text-descent\n values will give you the total height of the line."}, :added "1.0", :name quil.core/text-descent, :variadic false, :subcategory "Metrics", :file "out/quil/core.cljc", :end-column 15, :processing-name "textDescent()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4249, :end-line 4255, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Returns descent of the current font at its current size. This\n information is useful for determining the height of the font below\n the baseline. For example, adding the text-ascent and text-descent\n values will give you the total height of the line."}, screen-z {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Coordinates", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :processing-name "screenZ()", :column 3, :requires-bindings true, :line 3668, :end-line 3668, :arglists (quote ([x y z])), :doc "Given an x, y, z coordinate, returns its z value.\n This value can be used to determine if an x, y, z coordinate is in\n front or in back of another (x, y, z) coordinate. The units are\n based on how the zbuffer is set up, and don't relate to anything\n 'real'. They're only useful for in comparison to another value\n obtained from screen-z, or directly out of the zbuffer"}, :added "1.0", :name quil.core/screen-z, :variadic false, :subcategory "Coordinates", :file "out/quil/core.cljc", :end-column 11, :processing-name "screenZ()", :method-params ([x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3662, :end-line 3668, :max-fixed-arity 3, :fn-var true, :arglists (quote ([x y z])), :doc "Given an x, y, z coordinate, returns its z value.\n This value can be used to determine if an x, y, z coordinate is in\n front or in back of another (x, y, z) coordinate. The units are\n based on how the zbuffer is set up, and don't relate to anything\n 'real'. They're only useful for in comparison to another value\n obtained from screen-z, or directly out of the zbuffer"}, ambient-int {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Material Properties", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :processing-name "ambient()", :column 3, :requires-bindings true, :line 341, :end-line 341, :arglists (quote ([rgb])), :doc "Sets the ambient reflectance for shapes drawn to the screen. This\n is combined with the ambient light component of environment. The rgb\n color components set define the reflectance. Used in combination\n with emissive, specular, and shininess in setting the material\n properties of shapes."}, :added "1.0", :name quil.core/ambient-int, :variadic false, :subcategory "Material Properties", :file "out/quil/core.cljc", :end-column 14, :processing-name "ambient()", :method-params ([rgb]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 335, :end-line 341, :max-fixed-arity 1, :fn-var true, :arglists (quote ([rgb])), :doc "Sets the ambient reflectance for shapes drawn to the screen. This\n is combined with the ambient light component of environment. The rgb\n color components set define the reflectance. Used in combination\n with emissive, specular, and shininess in setting the material\n properties of shapes."}, ellipse {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "2D Primitives", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "ellipse()", :column 3, :requires-bindings true, :line 1531, :end-line 1531, :arglists (quote ([x y width height])), :doc "Draws an ellipse (oval) in the display window. An ellipse with an\n equal width and height is a circle. The origin may be changed with\n the ellipse-mode function"}, :added "1.0", :name quil.core/ellipse, :variadic false, :subcategory "2D Primitives", :file "out/quil/core.cljc", :end-column 10, :processing-name "ellipse()", :method-params ([x y width height]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1525, :end-line 1531, :max-fixed-arity 4, :fn-var true, :arglists (quote ([x y width height])), :doc "Draws an ellipse (oval) in the display window. An ellipse with an\n equal width and height is a circle. The origin may be changed with\n the ellipse-mode function"}, text-leading {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "textLeading()", :column 3, :requires-bindings true, :line 4295, :end-line 4295, :arglists (quote ([leading])), :doc "Sets the spacing between lines of text in units of pixels. This\n setting will be used in all subsequent calls to the text function."}, :added "1.0", :name quil.core/text-leading, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 15, :processing-name "textLeading()", :method-params ([leading]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4289, :end-line 4295, :max-fixed-arity 1, :fn-var true, :arglists (quote ([leading])), :doc "Sets the spacing between lines of text in units of pixels. This\n setting will be used in all subsequent calls to the text function."}, image-filter {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "2.0", :subcategory "Pixels", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([img mode] [img mode level]), :arglists ([img mode] [img mode level]), :arglists-meta (nil nil)}, :processing-name "PImage.filter()", :column 3, :requires-bindings true, :line 2105, :end-line 2105, :arglists (quote ([img mode] [img mode level])), :doc "Originally named filter in Processing Language.\n Filters given image with the specified mode and level.\n Level defines the quality of the filter and mode may be one of\n the following keywords:\n\n :threshold - converts the image to black and white pixels depending\n if they are above or below the threshold defined by\n the level parameter. The level must be between\n 0.0 (black) and 1.0 (white). If no level is specified,\n 0.5 is used.\n :gray - converts any colors in the image to grayscale\n equivalents. Doesn't work with level.\n :invert - sets each pixel to its inverse value. Doesn't work with\n level.\n :posterize - limits each channel of the image to the number of\n colors specified as the level parameter. The parameter can\n be set to values between 2 and 255, but results are most\n noticeable in the lower ranges.\n :blur - executes a Guassian blur with the level parameter\n specifying the extent of the blurring. If no level\n parameter is used, the blur is equivalent to Guassian\n blur of radius 1.\n :opaque - sets the alpha channel to entirely opaque. Doesn't work\n with level.\n :erode - reduces the light areas. Doesn't work with level.\n :dilate - increases the light areas. Doesn't work with level."}, :added "2.0", :name quil.core/image-filter, :variadic false, :subcategory "Pixels", :file "out/quil/core.cljc", :end-column 15, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([img mode] [img mode level]), :arglists ([img mode] [img mode level]), :arglists-meta (nil nil)}, :processing-name "PImage.filter()", :method-params ([img mode] [img mode level]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2099, :end-line 2105, :max-fixed-arity 3, :fn-var true, :arglists ([img mode] [img mode level]), :doc "Originally named filter in Processing Language.\n Filters given image with the specified mode and level.\n Level defines the quality of the filter and mode may be one of\n the following keywords:\n\n :threshold - converts the image to black and white pixels depending\n if they are above or below the threshold defined by\n the level parameter. The level must be between\n 0.0 (black) and 1.0 (white). If no level is specified,\n 0.5 is used.\n :gray - converts any colors in the image to grayscale\n equivalents. Doesn't work with level.\n :invert - sets each pixel to its inverse value. Doesn't work with\n level.\n :posterize - limits each channel of the image to the number of\n colors specified as the level parameter. The parameter can\n be set to values between 2 and 255, but results are most\n noticeable in the lower ranges.\n :blur - executes a Guassian blur with the level parameter\n specifying the extent of the blurring. If no level\n parameter is used, the blur is equivalent to Guassian\n blur of radius 1.\n :opaque - sets the alpha channel to entirely opaque. Doesn't work\n with level.\n :erode - reduces the light areas. Doesn't work with level.\n :dilate - increases the light areas. Doesn't work with level."}, random {:category "Math", :protocol-inline nil, :meta {:category "Math", :added "1.0", :subcategory "Random", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([max] [min max]), :arglists ([max] [min max]), :arglists-meta (nil nil)}, :processing-name "random()", :column 3, :requires-bindings true, :line 3207, :end-line 3207, :arglists (quote ([max] [min max])), :doc "Generates random numbers. Each time the random function is called,\n it returns an unexpected value within the specified range. If one\n parameter is passed to the function it will return a float between\n zero and the value of the high parameter. The function call (random\n 5) returns values between 0 and 5 (starting at zero, up to but not\n including 5). If two parameters are passed, it will return a float\n with a value between the parameters. The function call\n (random -5 10.2) returns values starting at -5 up to (but not\n including) 10.2."}, :added "1.0", :name quil.core/random, :variadic false, :subcategory "Random", :file "out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 2, :method-params ([max] [min max]), :arglists ([max] [min max]), :arglists-meta (nil nil)}, :processing-name "random()", :method-params ([max] [min max]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3201, :end-line 3207, :max-fixed-arity 2, :fn-var true, :arglists ([max] [min max]), :doc "Generates random numbers. Each time the random function is called,\n it returns an unexpected value within the specified range. If one\n parameter is passed to the function it will return a float between\n zero and the value of the high parameter. The function call (random\n 5) returns values between 0 and 5 (starting at zero, up to but not\n including 5). If two parameters are passed, it will return a float\n with a value between the parameters. The function call\n (random -5 10.2) returns values starting at -5 up to (but not\n including) 10.2."}, texture-mode {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Vertex", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "textureMode()", :column 3, :requires-bindings true, :line 4367, :end-line 4367, :arglists (quote ([mode])), :doc "Sets the coordinate space for texture mapping. There are two\n options, :image and :normal.\n\n :image refers to the actual coordinates of the image and :normal\n refers to a normalized space of values ranging from 0 to 1. The\n default mode is :image. In :image, if an image is 100 x 200 pixels,\n mapping the image onto the entire size of a quad would require the\n points (0,0) (0,100) (100,200) (0,200). The same mapping in\n NORMAL_SPACE is (0,0) (0,1) (1,1) (0,1)."}, :added "1.0", :name quil.core/texture-mode, :variadic false, :subcategory "Vertex", :file "out/quil/core.cljc", :end-column 15, :processing-name "textureMode()", :method-params ([mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 4361, :end-line 4367, :max-fixed-arity 1, :fn-var true, :arglists (quote ([mode])), :doc "Sets the coordinate space for texture mapping. There are two\n options, :image and :normal.\n\n :image refers to the actual coordinates of the image and :normal\n refers to a normalized space of values ranging from 0 to 1. The\n default mode is :image. In :image, if an image is 100 x 200 pixels,\n mapping the image onto the entire size of a quad would require the\n points (0,0) (0,100) (100,200) (0,200). The same mapping in\n NORMAL_SPACE is (0,0) (0,1) (1,1) (0,1)."}, redraw {:category "Structure", :protocol-inline nil, :meta {:category "Structure", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :processing-name "redraw()", :column 3, :requires-bindings true, :line 3344, :end-line 3344, :arglists (quote ([])), :doc "Executes the code within the draw fn one time. This functions\n allows the program to update the display window only when necessary,\n for example when an event registered by mouse-pressed or\n key-pressed occurs.\n\n In structuring a program, it only makes sense to call redraw\n within events such as mouse-pressed. This is because redraw does\n not run draw immediately (it only sets a flag that indicates an\n update is needed).\n\n Calling redraw within draw has no effect because draw is\n continuously called anyway."}, :added "1.0", :name quil.core/redraw, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 9, :processing-name "redraw()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3338, :end-line 3344, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Executes the code within the draw fn one time. This functions\n allows the program to update the display window only when necessary,\n for example when an event registered by mouse-pressed or\n key-pressed occurs.\n\n In structuring a program, it only makes sense to call redraw\n within events such as mouse-pressed. This is because redraw does\n not run draw immediately (it only sets a flag that indicates an\n update is needed).\n\n Calling redraw within draw has no effect because draw is\n continuously called anyway."}, RAD-TO-DEG {:name quil.core/RAD-TO-DEG, :file "out/quil/core.cljc", :line 83, :column 1, :end-line 83, :end-column 16, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 83, :column 6, :end-line 83, :end-column 16}, :tag number}, get-pixel {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Pixels", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([] [img] [x y] [img x y] [x y w h] [img x y w h]), :arglists ([] [img] [x y] [img x y] [x y w h] [img x y w h]), :arglists-meta (nil nil nil nil nil nil)}, :processing-name "get()", :column 3, :requires-bindings true, :line 1911, :end-line 1911, :arglists (quote ([] [img] [x y] [img x y] [x y w h] [img x y w h])), :doc "Reads the color of any pixel or grabs a section of an image. If no\n parameters are specified, a copy of entire image is returned. Get the\n value of one pixel by specifying an x,y coordinate. Get a section of\n the image by specifying an additional width and height parameter.\n If the pixel requested is outside of the image window, black is returned.\n The numbers returned are scaled according to the current color ranges,\n but only RGB values are returned by this function. For example, even though\n you may have drawn a shape with (color-mode :hsb), the numbers returned\n will be in RGB.\n\n Getting the color of a single pixel with (get x y) is easy, but not\n as fast as grabbing the data directly using the pixels fn.\n\n If no img specified - current-graphics is used."}, :added "1.0", :name quil.core/get-pixel, :variadic false, :subcategory "Pixels", :file "out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([] [img] [x y] [img x y] [x y w h] [img x y w h]), :arglists ([] [img] [x y] [img x y] [x y w h] [img x y w h]), :arglists-meta (nil nil nil nil nil nil)}, :processing-name "get()", :method-params ([] [img] [x y] [img x y] [x y w h] [img x y w h]), :protocol-impl nil, :arglists-meta (nil nil nil nil nil nil), :column 1, :requires-bindings true, :line 1905, :end-line 1911, :max-fixed-arity 5, :fn-var true, :arglists ([] [img] [x y] [img x y] [x y w h] [img x y w h]), :doc "Reads the color of any pixel or grabs a section of an image. If no\n parameters are specified, a copy of entire image is returned. Get the\n value of one pixel by specifying an x,y coordinate. Get a section of\n the image by specifying an additional width and height parameter.\n If the pixel requested is outside of the image window, black is returned.\n The numbers returned are scaled according to the current color ranges,\n but only RGB values are returned by this function. For example, even though\n you may have drawn a shape with (color-mode :hsb), the numbers returned\n will be in RGB.\n\n Getting the color of a single pixel with (get x y) is easy, but not\n as fast as grabbing the data directly using the pixels fn.\n\n If no img specified - current-graphics is used."}, rotate {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([angle] [angle vx vy vz]), :arglists ([angle] [angle vx vy vz]), :arglists-meta (nil nil)}, :processing-name "rotate()", :column 3, :requires-bindings true, :line 3438, :end-line 3438, :arglists (quote ([angle] [angle vx vy vz])), :doc "Rotates a shape the amount specified by the angle parameter. Angles\n should be specified in radians (values from 0 to TWO-PI) or\n converted to radians with the radians function.\n\n Objects are always rotated around their relative position to the\n origin and positive numbers rotate objects in a clockwise\n direction. Transformations apply to everything that happens after\n and subsequent calls to the function accumulates the effect. For\n example, calling (rotate HALF-PI) and then (rotate HALF-PI) is the\n same as (rotate PI). All tranformations are reset when draw begins\n again.\n\n Technically, rotate multiplies the current transformation matrix by\n a rotation matrix. This function can be further controlled by the\n push-matrix and pop-matrix."}, :added "1.0", :name quil.core/rotate, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([angle] [angle vx vy vz]), :arglists ([angle] [angle vx vy vz]), :arglists-meta (nil nil)}, :processing-name "rotate()", :method-params ([angle] [angle vx vy vz]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3432, :end-line 3438, :max-fixed-arity 4, :fn-var true, :arglists ([angle] [angle vx vy vz]), :doc "Rotates a shape the amount specified by the angle parameter. Angles\n should be specified in radians (values from 0 to TWO-PI) or\n converted to radians with the radians function.\n\n Objects are always rotated around their relative position to the\n origin and positive numbers rotate objects in a clockwise\n direction. Transformations apply to everything that happens after\n and subsequent calls to the function accumulates the effect. For\n example, calling (rotate HALF-PI) and then (rotate HALF-PI) is the\n same as (rotate PI). All tranformations are reset when draw begins\n again.\n\n Technically, rotate multiplies the current transformation matrix by\n a rotation matrix. This function can be further controlled by the\n push-matrix and pop-matrix."}, set-pixel {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Pixels", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([x y c] [img x y c]), :arglists ([x y c] [img x y c]), :arglists-meta (nil nil)}, :processing-name "set()", :column 3, :requires-bindings true, :line 3696, :end-line 3696, :arglists (quote ([x y c] [img x y c])), :doc "Changes the color of any pixel in the display window. The x and y\n parameters specify the pixel to change and the color parameter\n specifies the color value. The color parameter is affected by the\n current color mode (the default is RGB values from 0 to 255).\n\n Setting the color of a single pixel with (set x, y) is easy, but not\n as fast as putting the data directly into pixels[].\n\n This function ignores imageMode().\n\n Due to what appears to be a bug in Apple's Java implementation, the\n point() and set() methods are extremely slow in some circumstances\n when used with the default renderer. Using :p2d or :p3d will fix the\n problem. Grouping many calls to point or set-pixel together can also\n help. (Bug 1094)"}, :added "1.0", :name quil.core/set-pixel, :variadic false, :subcategory "Pixels", :file "out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 4, :method-params ([x y c] [img x y c]), :arglists ([x y c] [img x y c]), :arglists-meta (nil nil)}, :processing-name "set()", :method-params ([x y c] [img x y c]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3690, :end-line 3696, :max-fixed-arity 4, :fn-var true, :arglists ([x y c] [img x y c]), :doc "Changes the color of any pixel in the display window. The x and y\n parameters specify the pixel to change and the color parameter\n specifies the color value. The color parameter is affected by the\n current color mode (the default is RGB values from 0 to 255).\n\n Setting the color of a single pixel with (set x, y) is easy, but not\n as fast as putting the data directly into pixels[].\n\n This function ignores imageMode().\n\n Due to what appears to be a bug in Apple's Java implementation, the\n point() and set() methods are extremely slow in some circumstances\n when used with the default renderer. Using :p2d or :p3d will fix the\n problem. Grouping many calls to point or set-pixel together can also\n help. (Bug 1094)"}, push-matrix {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 14, :processing-name "pushMatrix()", :column 3, :requires-bindings true, :line 3110, :end-line 3110, :arglists (quote ([])), :doc "Pushes the current transformation matrix onto the matrix\n stack. Understanding push-matrix and pop-matrix requires\n understanding the concept of a matrix stack. The push-matrix\n function saves the current coordinate system to the stack and\n pop-matrix restores the prior coordinate system. push-matrix and\n pop-matrix are used in conjuction with the other transformation\n methods and may be embedded to control the scope of the\n transformations."}, :added "1.0", :name quil.core/push-matrix, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 14, :processing-name "pushMatrix()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3104, :end-line 3110, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Pushes the current transformation matrix onto the matrix\n stack. Understanding push-matrix and pop-matrix requires\n understanding the concept of a matrix stack. The push-matrix\n function saves the current coordinate system to the stack and\n pop-matrix restores the prior coordinate system. push-matrix and\n pop-matrix are used in conjuction with the other transformation\n methods and may be embedded to control the scope of the\n transformations."}, no-smooth {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "Attributes", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "noSmooth()", :column 3, :requires-bindings true, :line 2853, :end-line 2853, :arglists (quote ([])), :doc "Draws all geometry with jagged (aliased) edges. Must be called inside\n :settings handler."}, :added "1.0", :name quil.core/no-smooth, :variadic false, :subcategory "Attributes", :file "out/quil/core.cljc", :end-column 12, :processing-name "noSmooth()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2847, :end-line 2853, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Draws all geometry with jagged (aliased) edges. Must be called inside\n :settings handler."}, alpha {:category "Color", :protocol-inline nil, :meta {:category "Color", :added "1.0", :subcategory "Creating & Reading", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :processing-name "alpha()", :column 3, :requires-bindings true, :line 313, :end-line 313, :arglists (quote ([color])), :doc "Extracts the alpha value from a color."}, :added "1.0", :name quil.core/alpha, :variadic false, :subcategory "Creating & Reading", :file "out/quil/core.cljc", :end-column 8, :processing-name "alpha()", :method-params ([color]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 307, :end-line 313, :max-fixed-arity 1, :fn-var true, :arglists (quote ([color])), :doc "Extracts the alpha value from a color."}, camera {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Camera", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 9, :method-params ([] [eyeX eyeY eyeZ centerX centerY centerZ upX upY upZ]), :arglists ([] [eyeX eyeY eyeZ centerX centerY centerZ upX upY upZ]), :arglists-meta (nil nil)}, :processing-name "camera()", :column 3, :requires-bindings true, :line 939, :end-line 939, :arglists (quote ([] [eyeX eyeY eyeZ centerX centerY centerZ upX upY upZ])), :doc "Sets the position of the camera through setting the eye position,\n the center of the scene, and which axis is facing upward. Moving the\n eye position and the direction it is pointing (the center of the\n scene) allows the images to be seen from different angles. The\n version without any parameters sets the camera to the default\n position, pointing to the center of the display window with the Y\n axis as up. The default values are:\n\n eyeX: (/ (width) 2.0)\n eyeY: (/ (height) 2.0)\n eyeZ: (/ (/ (height) 2.0) (tan (/ (* Math/PI 60.0) 360.0)))\n centerX: (/ (width) 2.0)\n centerY: (/ (height) 2.0)\n centerZ: 0\n upX: 0\n upY: 1\n upZ: 0\n\n Similar imilar to gluLookAt() in OpenGL, but it first clears the\n current camera settings."}, :added "1.0", :name quil.core/camera, :variadic false, :subcategory "Camera", :file "out/quil/core.cljc", :end-column 9, :top-fn {:variadic false, :max-fixed-arity 9, :method-params ([] [eyeX eyeY eyeZ centerX centerY centerZ upX upY upZ]), :arglists ([] [eyeX eyeY eyeZ centerX centerY centerZ upX upY upZ]), :arglists-meta (nil nil)}, :processing-name "camera()", :method-params ([] [eyeX eyeY eyeZ centerX centerY centerZ upX upY upZ]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 933, :end-line 939, :max-fixed-arity 9, :fn-var true, :arglists ([] [eyeX eyeY eyeZ centerX centerY centerZ upX upY upZ]), :doc "Sets the position of the camera through setting the eye position,\n the center of the scene, and which axis is facing upward. Moving the\n eye position and the direction it is pointing (the center of the\n scene) allows the images to be seen from different angles. The\n version without any parameters sets the camera to the default\n position, pointing to the center of the display window with the Y\n axis as up. The default values are:\n\n eyeX: (/ (width) 2.0)\n eyeY: (/ (height) 2.0)\n eyeZ: (/ (/ (height) 2.0) (tan (/ (* Math/PI 60.0) 360.0)))\n centerX: (/ (width) 2.0)\n centerY: (/ (height) 2.0)\n centerZ: 0\n upX: 0\n upY: 1\n upZ: 0\n\n Similar imilar to gluLookAt() in OpenGL, but it first clears the\n current camera settings."}, translate {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([v] [tx ty] [tx ty tz]), :arglists ([v] [tx ty] [tx ty tz]), :arglists-meta (nil nil nil)}, :processing-name "translate()", :column 3, :requires-bindings true, :line 4488, :end-line 4488, :arglists (quote ([v] [tx ty] [tx ty tz])), :doc "Specifies an amount to displace objects within the display\n window. The x parameter specifies left/right translation, the y\n parameter specifies up/down translation, and the z parameter\n specifies translations toward/away from the screen. Transformations\n apply to everything that happens after and subsequent calls to the\n function accumulates the effect. For example, calling (translate 50\n 0) and then (translate 20, 0) is the same as (translate 70, 0). If\n translate is called within draw, the transformation is reset when\n the loop begins again. This function can be further controlled by\n the push-matrix and pop-matrix."}, :added "1.0", :name quil.core/translate, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 12, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([v] [tx ty] [tx ty tz]), :arglists ([v] [tx ty] [tx ty tz]), :arglists-meta (nil nil nil)}, :processing-name "translate()", :method-params ([v] [tx ty] [tx ty tz]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :requires-bindings true, :line 4482, :end-line 4488, :max-fixed-arity 3, :fn-var true, :arglists ([v] [tx ty] [tx ty tz]), :doc "Specifies an amount to displace objects within the display\n window. The x parameter specifies left/right translation, the y\n parameter specifies up/down translation, and the z parameter\n specifies translations toward/away from the screen. Transformations\n apply to everything that happens after and subsequent calls to the\n function accumulates the effect. For example, calling (translate 50\n 0) and then (translate 20, 0) is the same as (translate 70, 0). If\n translate is called within draw, the transformation is reset when\n the loop begins again. This function can be further controlled by\n the push-matrix and pop-matrix."}, load-font {:category "Typography", :protocol-inline nil, :meta {:category "Typography", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "loadFont()", :column 3, :requires-bindings true, :line 2344, :end-line 2344, :arglists (quote ([filename])), :doc "Loads a font into a variable of type PFont. To load correctly,\n fonts must be located in the data directory of the current sketch.\n To create a font to use with Processing use the create-font fn.\n\n Like load-image and other methods that load data, the load-font fn\n should not be used inside draw, because it will slow down the sketch\n considerably, as the font will be re-loaded from the disk (or\n network) on each frame.\n\n For most renderers, Processing displays fonts using the .vlw font\n format, which uses images for each letter, rather than defining them\n through vector data. When hint :enable-native-fonts is used with the\n JAVA2D renderer, the native version of a font will be used if it is\n installed on the user's machine.\n\n Using create-font (instead of load-font) enables vector data to be\n used with the JAVA2D (default) renderer setting. This can be helpful\n when many font sizes are needed, or when using any renderer based on\n JAVA2D, such as the PDF library."}, :added "1.0", :name quil.core/load-font, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 12, :processing-name "loadFont()", :method-params ([filename]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2338, :end-line 2344, :max-fixed-arity 1, :fn-var true, :arglists (quote ([filename])), :doc "Loads a font into a variable of type PFont. To load correctly,\n fonts must be located in the data directory of the current sketch.\n To create a font to use with Processing use the create-font fn.\n\n Like load-image and other methods that load data, the load-font fn\n should not be used inside draw, because it will slow down the sketch\n considerably, as the font will be re-loaded from the disk (or\n network) on each frame.\n\n For most renderers, Processing displays fonts using the .vlw font\n format, which uses images for each letter, rather than defining them\n through vector data. When hint :enable-native-fonts is used with the\n JAVA2D renderer, the native version of a font will be used if it is\n installed on the user's machine.\n\n Using create-font (instead of load-font) enables vector data to be\n used with the JAVA2D (default) renderer setting. This can be helpful\n when many font sizes are needed, or when using any renderer based on\n JAVA2D, such as the PDF library."}, ambient {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Material Properties", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([rgb] [x y z]), :arglists ([rgb] [x y z]), :arglists-meta (nil nil)}, :processing-name "ambient()", :column 3, :requires-bindings true, :line 356, :end-line 356, :arglists (quote ([rgb] [x y z])), :doc "Sets the ambient reflectance for shapes drawn to the screen. This\n is combined with the ambient light component of environment. The\n color components set through the parameters define the\n reflectance. For example in the default color mode, setting x=255,\n y=126, z=0, would cause all the red light to reflect and half of the\n green light to reflect. Used in combination with emissive, specular,\n and shininess in setting the material properties of shapes."}, :added "1.0", :name quil.core/ambient, :variadic false, :subcategory "Material Properties", :file "out/quil/core.cljc", :end-column 10, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([rgb] [x y z]), :arglists ([rgb] [x y z]), :arglists-meta (nil nil)}, :processing-name "ambient()", :method-params ([rgb] [x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 350, :end-line 356, :max-fixed-arity 3, :fn-var true, :arglists ([rgb] [x y z]), :doc "Sets the ambient reflectance for shapes drawn to the screen. This\n is combined with the ambient light component of environment. The\n color components set through the parameters define the\n reflectance. For example in the default color mode, setting x=255,\n y=126, z=0, would cause all the red light to reflect and half of the\n green light to reflect. Used in combination with emissive, specular,\n and shininess in setting the material properties of shapes."}, shear-y {:category "Transform", :protocol-inline nil, :meta {:category "Transform", :added "1.0", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "shearY()", :column 3, :requires-bindings true, :line 3801, :end-line 3801, :arglists (quote ([angle])), :doc "Shears a shape around the y-axis the amount specified by the angle\n parameter. Angles should be specified in radians (values from 0 to\n PI*2) or converted to radians with the radians() function. Objects\n are always sheared around their relative position to the origin and\n positive numbers shear objects in a clockwise direction.\n Transformations apply to everything that happens after and\n subsequent calls to the function accumulates the effect. For\n example, calling (shear-y (/ PI 2)) and then (shear-y (/ PI 2)) is\n the same as (shear-y PI). If shear-y is called within the draw fn,\n the transformation is reset when the loop begins again. This\n function works in P2D or JAVA2D mode.\n\n Technically, shear-y multiplies the current transformation matrix\n by a rotation matrix. This function can be further controlled by the\n push-matrix and pop-matrix fns."}, :added "1.0", :name quil.core/shear-y, :variadic false, :subcategory nil, :file "out/quil/core.cljc", :end-column 10, :processing-name "shearY()", :method-params ([angle]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 3795, :end-line 3801, :max-fixed-arity 1, :fn-var true, :arglists (quote ([angle])), :doc "Shears a shape around the y-axis the amount specified by the angle\n parameter. Angles should be specified in radians (values from 0 to\n PI*2) or converted to radians with the radians() function. Objects\n are always sheared around their relative position to the origin and\n positive numbers shear objects in a clockwise direction.\n Transformations apply to everything that happens after and\n subsequent calls to the function accumulates the effect. For\n example, calling (shear-y (/ PI 2)) and then (shear-y (/ PI 2)) is\n the same as (shear-y PI). If shear-y is called within the draw fn,\n the transformation is reset when the loop begins again. This\n function works in P2D or JAVA2D mode.\n\n Technically, shear-y multiplies the current transformation matrix\n by a rotation matrix. This function can be further controlled by the\n push-matrix and pop-matrix fns."}, cursor-modes {:name quil.core/cursor-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 72, :end-column 14, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 72, :column 2, :end-line 72, :end-column 14}, :tag cljs.core/IMap}, mouse-y {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Mouse", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "mouseY", :column 3, :requires-bindings true, :line 2631, :end-line 2631, :arglists (quote ([])), :doc "Current vertical coordinate of the mouse."}, :added "1.0", :name quil.core/mouse-y, :variadic false, :subcategory "Mouse", :file "out/quil/core.cljc", :end-column 10, :processing-name "mouseY", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2625, :end-line 2631, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Current vertical coordinate of the mouse."}, mouse-button {:category "Input", :protocol-inline nil, :meta {:category "Input", :added "1.0", :subcategory "Mouse", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "mouseButton", :column 3, :requires-bindings true, :line 2581, :end-line 2581, :arglists (quote ([])), :doc "The value of the system variable mouseButton is either :left, :right,\n or :center depending on which button is pressed. nil if no button pressed"}, :added "1.0", :name quil.core/mouse-button, :variadic false, :subcategory "Mouse", :file "out/quil/core.cljc", :end-column 15, :processing-name "mouseButton", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2575, :end-line 2581, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "The value of the system variable mouseButton is either :left, :right,\n or :center depending on which button is pressed. nil if no button pressed"}, p-shape-modes {:name quil.core/p-shape-modes, :file "out/quil/core.cljc", :line 45, :column 1, :end-line 63, :end-column 15, :meta {:file "/home/mediocregopher/src/viz/out/quil/core.cljc", :line 63, :column 2, :end-line 63, :end-column 15}, :tag cljs.core/IMap}, image {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([img x y] [img x y c d]), :arglists ([img x y] [img x y c d]), :arglists-meta (nil nil)}, :processing-name "image()", :column 3, :requires-bindings true, :line 2076, :end-line 2076, :arglists (quote ([img x y] [img x y c d])), :doc "Displays images to the screen. Processing currently works with GIF,\n JPEG, and Targa images. The color of an image may be modified with\n the tint function and if a GIF has transparency, it will maintain\n its transparency. The img parameter specifies the image to display\n and the x and y parameters define the location of the image from its\n upper-left corner. The image is displayed at its original size\n unless the width and height parameters specify a different size. The\n image-mode fn changes the way the parameters work. A call to\n (image-mode :corners) will change the width and height parameters to\n define the x and y values of the opposite corner of the image.\n\n Starting with release 0124, when using the default (JAVA2D)\n renderer, smooth will also improve image quality of resized\n images."}, :added "1.0", :name quil.core/image, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 5, :method-params ([img x y] [img x y c d]), :arglists ([img x y] [img x y c d]), :arglists-meta (nil nil)}, :processing-name "image()", :method-params ([img x y] [img x y c d]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2070, :end-line 2076, :max-fixed-arity 5, :fn-var true, :arglists ([img x y] [img x y c d]), :doc "Displays images to the screen. Processing currently works with GIF,\n JPEG, and Targa images. The color of an image may be modified with\n the tint function and if a GIF has transparency, it will maintain\n its transparency. The img parameter specifies the image to display\n and the x and y parameters define the location of the image from its\n upper-left corner. The image is displayed at its original size\n unless the width and height parameters specify a different size. The\n image-mode fn changes the way the parameters work. A call to\n (image-mode :corners) will change the width and height parameters to\n define the x and y values of the opposite corner of the image.\n\n Starting with release 0124, when using the default (JAVA2D)\n renderer, smooth will also improve image quality of resized\n images."}, unbinary {:category "Data", :protocol-inline nil, :meta {:category "Data", :require-binding false, :added "1.0", :subcategory "Conversion", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 11, :processing-name "unbinary()", :column 3, :line 4526, :end-line 4526, :arglists (quote ([str-val])), :doc "Unpack a binary string to an integer. See binary for converting\n integers to strings."}, :require-binding false, :added "1.0", :name quil.core/unbinary, :variadic false, :subcategory "Conversion", :file "out/quil/core.cljc", :end-column 11, :processing-name "unbinary()", :method-params ([str-val]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 4520, :end-line 4526, :max-fixed-arity 1, :fn-var true, :arglists (quote ([str-val])), :doc "Unpack a binary string to an integer. See binary for converting\n integers to strings."}, no-tint {:category "Image", :protocol-inline nil, :meta {:category "Image", :added "1.0", :subcategory "Loading & Displaying", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 10, :processing-name "noTint()", :column 3, :requires-bindings true, :line 2876, :end-line 2876, :arglists (quote ([])), :doc "Removes the current fill value for displaying images and reverts to\n displaying images with their original hues."}, :added "1.0", :name quil.core/no-tint, :variadic false, :subcategory "Loading & Displaying", :file "out/quil/core.cljc", :end-column 10, :processing-name "noTint()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2870, :end-line 2876, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Removes the current fill value for displaying images and reverts to\n displaying images with their original hues."}, no-lights {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Lights", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 12, :processing-name "noLights()", :column 3, :requires-bindings true, :line 2785, :end-line 2785, :arglists (quote ([])), :doc "Disable all lighting. Lighting is turned off by default and enabled\n with the lights fn. This function can be used to disable lighting so\n that 2D geometry (which does not require lighting) can be drawn\n after a set of lighted 3D geometry."}, :added "1.0", :name quil.core/no-lights, :variadic false, :subcategory "Lights", :file "out/quil/core.cljc", :end-column 12, :processing-name "noLights()", :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2779, :end-line 2785, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Disable all lighting. Lighting is turned off by default and enabled\n with the lights fn. This function can be used to disable lighting so\n that 2D geometry (which does not require lighting) can be drawn\n after a set of lighted 3D geometry."}, emissive-int {:category "Lights, Camera", :protocol-inline nil, :meta {:category "Lights, Camera", :added "1.0", :subcategory "Material Properties", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 15, :processing-name "emissive()", :column 3, :requires-bindings true, :line 1580, :end-line 1580, :arglists (quote ([int-val])), :doc "Sets the emissive color of the material used for drawing shapes\n drawn to the screen. Used in combination with ambient, specular, and\n shininess in setting the material properties of shapes. Converts all\n args to ints"}, :added "1.0", :name quil.core/emissive-int, :variadic false, :subcategory "Material Properties", :file "out/quil/core.cljc", :end-column 15, :processing-name "emissive()", :method-params ([int-val]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 1574, :end-line 1580, :max-fixed-arity 1, :fn-var true, :arglists (quote ([int-val])), :doc "Sets the emissive color of the material used for drawing shapes\n drawn to the screen. Used in combination with ambient, specular, and\n shininess in setting the material properties of shapes. Converts all\n args to ints"}, point {:category "Shape", :protocol-inline nil, :meta {:category "Shape", :added "1.0", :subcategory "2D Primitives", :file "/home/mediocregopher/src/viz/out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([x y] [x y z]), :arglists ([x y] [x y z]), :arglists-meta (nil nil)}, :processing-name "point()", :column 3, :requires-bindings true, :line 2995, :end-line 2995, :arglists (quote ([x y] [x y z])), :doc "Draws a point, a coordinate in space at the dimension of one\n pixel. The first parameter is the horizontal value for the point,\n the second value is the vertical value for the point, and the\n optional third value is the depth value. Drawing this shape in 3D\n using the z parameter requires the :P3D or :opengl renderer to be\n used."}, :added "1.0", :name quil.core/point, :variadic false, :subcategory "2D Primitives", :file "out/quil/core.cljc", :end-column 8, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([x y] [x y z]), :arglists ([x y] [x y z]), :arglists-meta (nil nil)}, :processing-name "point()", :method-params ([x y] [x y z]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings true, :line 2989, :end-line 2995, :max-fixed-arity 3, :fn-var true, :arglists ([x y] [x y z]), :doc "Draws a point, a coordinate in space at the dimension of one\n pixel. The first parameter is the horizontal value for the point,\n the second value is the vertical value for the point, and the\n optional third value is the depth value. Drawing this shape in 3D\n using the z parameter requires the :P3D or :opengl renderer to be\n used."}}, :require-macros {ap quil.sketch, quil.sketch quil.sketch, u quil.util, quil.util quil.util}, :cljs.analyzer/constants {:seen #{:shift .endDraw :open :baseline gr__8476__auto__ :disable-stroke-perspective :hsb :quads :arrow :dilate quil.core/current-fill try quil.core/*graphics* :quad-strip :down :disable-depth-mask cljs.core/binding :burn :posterize quil.sketch/with-sketch old-stroke__8848__auto__ :f8 quil.core/translate :screen :enable-depth-test :gray :enable-depth-sort :f1 :corner :disable-texture-mipmaps :darkest :f10 :dodge :bottom :bevel :disable-stroke-pure :replace :alt :top cljs.core/apply :disable-depth-test finally :pie quil.core/pop-matrix :enable-stroke-perspective :chord :rgb .dispose :lines :argb :move :f5 :command quil.core/stroke :miter :points old-fill__8840__auto__ :hand :close :radius :normal :threshold :up :center :round :disable-optimized-stroke cljs.core/let :corners :f11 :opaque gr__8872__auto__ :overlay :enable-opengl-errors :enable-stroke-pure :blur :project :triangle-fan :f3 :enable-depth-mask :f2 :control :difference quil.core/push-matrix :square :enable-optimized-stroke :p2d :shape :f12 :exclusion quil.core/fill :disable-opengl-errors :unknown-key :alpha :wait :right quil.core/current-stroke :repeat :hard-light quil.sketch$macros/defsketch :image :multiply :lightest quil.core/rotate tr__8864__auto__ :f7 :blend :disable-depth-sort :f9 :erode :add :soft-light quil.core/with-graphics :subtract :clamp :f6 :f4 :triangle-strip :cross tr__8856__auto__ :triangles .beginDraw :left :invert :text :enable-texture-mipmaps :model}, :order [:open :chord :pie :points :lines :triangles :triangle-fan :triangle-strip :quads :quad-strip :burn :screen :darkest :dodge :replace :overlay :difference :exclusion :hard-light :multiply :lightest :blend :add :soft-light :subtract :rgb :hsb :argb :alpha :center :radius :corner :corners :disable-stroke-perspective :disable-depth-mask :enable-depth-test :enable-depth-sort :disable-texture-mipmaps :disable-stroke-pure :disable-depth-test :enable-stroke-perspective :disable-optimized-stroke :enable-opengl-errors :enable-stroke-pure :enable-depth-mask :enable-optimized-stroke :disable-opengl-errors :disable-depth-sort :enable-texture-mipmaps :square :round :project :model :miter :bevel :left :right :top :bottom :baseline :shape :image :normal :clamp :repeat :threshold :gray :invert :posterize :blur :opaque :erode :dilate :arrow :cross :hand :move :text :wait :f10 :command :f8 :f5 :f2 :down :f6 :f7 :f11 :control :f4 :f1 :f12 :shift :f9 :up :alt :f3 quil.sketch/with-sketch :p2d cljs.core/let gr__8476__auto__ quil.core/with-graphics .dispose :close old-fill__8840__auto__ quil.core/current-fill cljs.core/apply quil.core/fill old-stroke__8848__auto__ quil.core/current-stroke quil.core/stroke tr__8856__auto__ quil.core/push-matrix try quil.core/translate finally quil.core/pop-matrix tr__8864__auto__ quil.core/rotate gr__8872__auto__ cljs.core/binding quil.core/*graphics* .beginDraw .endDraw quil.sketch$macros/defsketch :unknown-key]}, :doc "Wrappers and extensions around the core Processing.org API."} \ No newline at end of file
diff --git a/assets/viz/1/quil/core.js b/assets/viz/1/quil/core.js
new file mode 100644
index 0000000..87f3457
--- /dev/null
+++ b/assets/viz/1/quil/core.js
@@ -0,0 +1,6643 @@
+// Compiled by ClojureScript 1.9.473 {}
+goog.provide('quil.core');
+goog.require('cljs.core');
+goog.require('clojure.string');
+goog.require('org.processingjs.Processing');
+goog.require('quil.sketch');
+goog.require('quil.util');
+quil.core._STAR_graphics_STAR_ = null;
+quil.core.no_fill_prop = "no-fill-quil";
+/**
+ * Graphics currently used for drawing. By default it is sketch graphics,
+ * but if called inside with-graphics macro - graphics passed to the macro
+ * is returned. This method should be used if you need to call some methods
+ * that are not implemented by quil. Example:
+ * (.beginDraw (current-graphics)).
+ */
+quil.core.current_graphics = (function quil$core$current_graphics(){
+var or__6814__auto__ = quil.core._STAR_graphics_STAR_;
+if(cljs.core.truth_(or__6814__auto__)){
+return or__6814__auto__;
+} else {
+return quil.sketch.current_applet.call(null);
+}
+});
+quil.core.arc_modes = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"open","open",-1763596448),(Processing.prototype.PConstants["OPEN"]),new cljs.core.Keyword(null,"chord","chord",-696248342),(Processing.prototype.PConstants["CHORD"]),new cljs.core.Keyword(null,"pie","pie",1530441672),(Processing.prototype.PConstants["PIE"])], null);
+
+quil.core.shape_modes = new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"points","points",-1486596883),(Processing.prototype.PConstants["POINTS"]),new cljs.core.Keyword(null,"lines","lines",-700165781),(Processing.prototype.PConstants["LINES"]),new cljs.core.Keyword(null,"triangles","triangles",-1525417058),(Processing.prototype.PConstants["TRIANGLES"]),new cljs.core.Keyword(null,"triangle-fan","triangle-fan",1743150739),(Processing.prototype.PConstants["TRIANGLE_FAN"]),new cljs.core.Keyword(null,"triangle-strip","triangle-strip",221845500),(Processing.prototype.PConstants["TRIANGLE_STRIP"]),new cljs.core.Keyword(null,"quads","quads",1347497505),(Processing.prototype.PConstants["QUADS"]),new cljs.core.Keyword(null,"quad-strip","quad-strip",-1297270686),(Processing.prototype.PConstants["QUAD_STRIP"])], null);
+
+quil.core.blend_modes = cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"burn","burn",-458179293),new cljs.core.Keyword(null,"screen","screen",1990059748),new cljs.core.Keyword(null,"darkest","darkest",68197253),new cljs.core.Keyword(null,"dodge","dodge",-1556666427),new cljs.core.Keyword(null,"replace","replace",-786587770),new cljs.core.Keyword(null,"overlay","overlay",-139131598),new cljs.core.Keyword(null,"difference","difference",1916101396),new cljs.core.Keyword(null,"exclusion","exclusion",531897910),new cljs.core.Keyword(null,"hard-light","hard-light",-37591145),new cljs.core.Keyword(null,"multiply","multiply",-1036907048),new cljs.core.Keyword(null,"lightest","lightest",-2043115912),new cljs.core.Keyword(null,"blend","blend",249565561),new cljs.core.Keyword(null,"add","add",235287739),new cljs.core.Keyword(null,"soft-light","soft-light",513207899),new cljs.core.Keyword(null,"subtract","subtract",2136988635)],[(Processing.prototype.PConstants["BURN"]),(Processing.prototype.PConstants["SCREEN"]),(Processing.prototype.PConstants["DARKEST"]),(Processing.prototype.PConstants["DODGE"]),(Processing.prototype.PConstants["REPLACE"]),(Processing.prototype.PConstants["OVERLAY"]),(Processing.prototype.PConstants["DIFFERENCE"]),(Processing.prototype.PConstants["EXCLUSION"]),(Processing.prototype.PConstants["HARD_LIGHT"]),(Processing.prototype.PConstants["MULTIPLY"]),(Processing.prototype.PConstants["LIGHTEST"]),(Processing.prototype.PConstants["BLEND"]),(Processing.prototype.PConstants["ADD"]),(Processing.prototype.PConstants["SOFT_LIGHT"]),(Processing.prototype.PConstants["SUBTRACT"])]);
+
+quil.core.color_modes = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"rgb","rgb",1432123467),(Processing.prototype.PConstants["RGB"]),new cljs.core.Keyword(null,"hsb","hsb",-753472031),(Processing.prototype.PConstants["HSB"])], null);
+
+quil.core.image_formats = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"rgb","rgb",1432123467),(Processing.prototype.PConstants["RGB"]),new cljs.core.Keyword(null,"argb","argb",633844107),(Processing.prototype.PConstants["ARGB"]),new cljs.core.Keyword(null,"alpha","alpha",-1574982441),(Processing.prototype.PConstants["ALPHA"])], null);
+
+quil.core.ellipse_modes = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"center","center",-748944368),(Processing.prototype.PConstants["CENTER"]),new cljs.core.Keyword(null,"radius","radius",-2073122258),(Processing.prototype.PConstants["RADIUS"]),new cljs.core.Keyword(null,"corner","corner",1296717125),(Processing.prototype.PConstants["CORNER"]),new cljs.core.Keyword(null,"corners","corners",-137817903),(Processing.prototype.PConstants["CORNERS"])], null);
+
+quil.core.hint_options = cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"disable-stroke-perspective","disable-stroke-perspective",479198433),new cljs.core.Keyword(null,"disable-depth-mask","disable-depth-mask",3298562),new cljs.core.Keyword(null,"enable-depth-test","enable-depth-test",1519326084),new cljs.core.Keyword(null,"enable-depth-sort","enable-depth-sort",-383089627),new cljs.core.Keyword(null,"disable-texture-mipmaps","disable-texture-mipmaps",1697917541),new cljs.core.Keyword(null,"disable-stroke-pure","disable-stroke-pure",735493926),new cljs.core.Keyword(null,"disable-depth-test","disable-depth-test",284606407),new cljs.core.Keyword(null,"enable-stroke-perspective","enable-stroke-perspective",-259923319),new cljs.core.Keyword(null,"disable-optimized-stroke","disable-optimized-stroke",74038544),new cljs.core.Keyword(null,"enable-opengl-errors","enable-opengl-errors",89998962),new cljs.core.Keyword(null,"enable-stroke-pure","enable-stroke-pure",881345587),new cljs.core.Keyword(null,"enable-depth-mask","enable-depth-mask",872785875),new cljs.core.Keyword(null,"enable-optimized-stroke","enable-optimized-stroke",1537575253),new cljs.core.Keyword(null,"disable-opengl-errors","disable-opengl-errors",506822839),new cljs.core.Keyword(null,"disable-depth-sort","disable-depth-sort",-1568352839),new cljs.core.Keyword(null,"enable-texture-mipmaps","enable-texture-mipmaps",1241892671)],[(Processing.prototype.PConstants["DISABLE_STROKE_PERSPECTIVE"]),(Processing.prototype.PConstants["DISABLE_DEPTH_MASK"]),(Processing.prototype.PConstants["ENABLE_DEPTH_TEST"]),(Processing.prototype.PConstants["ENABLE_DEPTH_SORT"]),(Processing.prototype.PConstants["DISABLE_TEXTURE_MIPMAPS"]),(Processing.prototype.PConstants["DISABLE_STROKE_PURE"]),(Processing.prototype.PConstants["DISABLE_DEPTH_TEST"]),(Processing.prototype.PConstants["ENABLE_STROKE_PERSPECTIVE"]),(Processing.prototype.PConstants["DISABLE_OPTIMIZED_STROKE"]),(Processing.prototype.PConstants["ENABLE_OPENGL_ERRORS"]),(Processing.prototype.PConstants["ENABLE_STROKE_PURE"]),(Processing.prototype.PConstants["ENABLE_DEPTH_MASK"]),(Processing.prototype.PConstants["ENABLE_OPTIMIZED_STROKE"]),(Processing.prototype.PConstants["DISABLE_OPENGL_ERRORS"]),(Processing.prototype.PConstants["DISABLE_DEPTH_SORT"]),(Processing.prototype.PConstants["ENABLE_TEXTURE_MIPMAPS"])]);
+
+quil.core.image_modes = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"corner","corner",1296717125),(Processing.prototype.PConstants["CORNER"]),new cljs.core.Keyword(null,"corners","corners",-137817903),(Processing.prototype.PConstants["CORNERS"]),new cljs.core.Keyword(null,"center","center",-748944368),(Processing.prototype.PConstants["CENTER"])], null);
+
+quil.core.rect_modes = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"corner","corner",1296717125),(Processing.prototype.PConstants["CORNER"]),new cljs.core.Keyword(null,"corners","corners",-137817903),(Processing.prototype.PConstants["CORNERS"]),new cljs.core.Keyword(null,"center","center",-748944368),(Processing.prototype.PConstants["CENTER"]),new cljs.core.Keyword(null,"radius","radius",-2073122258),(Processing.prototype.PConstants["RADIUS"])], null);
+
+quil.core.p_shape_modes = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"corner","corner",1296717125),(Processing.prototype.PConstants["CORNER"]),new cljs.core.Keyword(null,"corners","corners",-137817903),(Processing.prototype.PConstants["CORNERS"]),new cljs.core.Keyword(null,"center","center",-748944368),(Processing.prototype.PConstants["CENTER"])], null);
+
+quil.core.stroke_cap_modes = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"square","square",812434677),(Processing.prototype.PConstants["SQUARE"]),new cljs.core.Keyword(null,"round","round",2009433328),(Processing.prototype.PConstants["ROUND"]),new cljs.core.Keyword(null,"project","project",1124394579),(Processing.prototype.PConstants["PROJECT"]),new cljs.core.Keyword(null,"model","model",331153215),(Processing.prototype.PConstants["MODEL"])], null);
+
+quil.core.stroke_join_modes = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"miter","miter",327727052),(Processing.prototype.PConstants["MITER"]),new cljs.core.Keyword(null,"bevel","bevel",2090515654),(Processing.prototype.PConstants["BEVEL"]),new cljs.core.Keyword(null,"round","round",2009433328),(Processing.prototype.PConstants["ROUND"])], null);
+
+quil.core.horizontal_alignment_modes = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"left","left",-399115937),(Processing.prototype.PConstants["LEFT"]),new cljs.core.Keyword(null,"center","center",-748944368),(Processing.prototype.PConstants["CENTER"]),new cljs.core.Keyword(null,"right","right",-452581833),(Processing.prototype.PConstants["RIGHT"])], null);
+
+quil.core.vertical_alignment_modes = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"top","top",-1856271961),(Processing.prototype.PConstants["TOP"]),new cljs.core.Keyword(null,"bottom","bottom",-1550509018),(Processing.prototype.PConstants["BOTTOM"]),new cljs.core.Keyword(null,"center","center",-748944368),(Processing.prototype.PConstants["CENTER"]),new cljs.core.Keyword(null,"baseline","baseline",1151033280),(Processing.prototype.PConstants["BASELINE"])], null);
+
+quil.core.text_modes = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"model","model",331153215),(Processing.prototype.PConstants["MODEL"]),new cljs.core.Keyword(null,"shape","shape",1190694006),(Processing.prototype.PConstants["SHAPE"])], null);
+
+quil.core.texture_modes = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"image","image",-58725096),(Processing.prototype.PConstants["IMAGE"]),new cljs.core.Keyword(null,"normal","normal",-1519123858),(Processing.prototype.PConstants["NORMAL"])], null);
+
+quil.core.texture_wrap_modes = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"clamp","clamp",1803814940),(Processing.prototype.PConstants["CLAMP"]),new cljs.core.Keyword(null,"repeat","repeat",832692087),(Processing.prototype.PConstants["REPEAT"])], null);
+
+quil.core.filter_modes = new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"threshold","threshold",204221583),(Processing.prototype.PConstants["THRESHOLD"]),new cljs.core.Keyword(null,"gray","gray",1013268388),(Processing.prototype.PConstants["GRAY"]),new cljs.core.Keyword(null,"invert","invert",1553577503),(Processing.prototype.PConstants["INVERT"]),new cljs.core.Keyword(null,"posterize","posterize",-148251901),(Processing.prototype.PConstants["POSTERIZE"]),new cljs.core.Keyword(null,"blur","blur",-453500461),(Processing.prototype.PConstants["BLUR"]),new cljs.core.Keyword(null,"opaque","opaque",-1243552654),(Processing.prototype.PConstants["OPAQUE"]),new cljs.core.Keyword(null,"erode","erode",1539530618),(Processing.prototype.PConstants["ERODE"]),new cljs.core.Keyword(null,"dilate","dilate",1504745153),(Processing.prototype.PConstants["DILATE"])], null);
+
+quil.core.cursor_modes = new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"arrow","arrow",1071351425),(Processing.prototype.PConstants["ARROW"]),new cljs.core.Keyword(null,"cross","cross",194557789),(Processing.prototype.PConstants["CROSS"]),new cljs.core.Keyword(null,"hand","hand",791601933),(Processing.prototype.PConstants["HAND"]),new cljs.core.Keyword(null,"move","move",-2110884309),(Processing.prototype.PConstants["MOVE"]),new cljs.core.Keyword(null,"text","text",-1790561697),(Processing.prototype.PConstants["TEXT"]),new cljs.core.Keyword(null,"wait","wait",-260664777),(Processing.prototype.PConstants["WAIT"])], null);
+quil.core.PI = Math.PI;
+quil.core.HALF_PI = (quil.core.PI / 2.0);
+quil.core.THIRD_PI = (quil.core.PI / 3.0);
+quil.core.QUARTER_PI = (quil.core.PI / 4.0);
+quil.core.TWO_PI = (quil.core.PI * 2.0);
+quil.core.DEG_TO_RAD = (quil.core.PI / 180.0);
+quil.core.RAD_TO_DEG = (180.0 / quil.core.PI);
+quil.core.KEY_CODES = cljs.core.PersistentHashMap.fromArrays([(121),(39),(157),(119),(116),(113),(40),(117),(118),(122),(17),(115),(112),(123),(16),(120),(38),(18),(114),(37)],[new cljs.core.Keyword(null,"f10","f10",627525541),new cljs.core.Keyword(null,"right","right",-452581833),new cljs.core.Keyword(null,"command","command",-894540724),new cljs.core.Keyword(null,"f8","f8",-2141475484),new cljs.core.Keyword(null,"f5","f5",1587057387),new cljs.core.Keyword(null,"f2","f2",396168596),new cljs.core.Keyword(null,"down","down",1565245570),new cljs.core.Keyword(null,"f6","f6",2103080604),new cljs.core.Keyword(null,"f7","f7",356150168),new cljs.core.Keyword(null,"f11","f11",-1417398799),new cljs.core.Keyword(null,"control","control",1892578036),new cljs.core.Keyword(null,"f4","f4",990968764),new cljs.core.Keyword(null,"f1","f1",1714532389),new cljs.core.Keyword(null,"f12","f12",853352790),new cljs.core.Keyword(null,"shift","shift",997140064),new cljs.core.Keyword(null,"f9","f9",704633338),new cljs.core.Keyword(null,"up","up",-269712113),new cljs.core.Keyword(null,"alt","alt",-3214426),new cljs.core.Keyword(null,"f3","f3",1954829043),new cljs.core.Keyword(null,"left","left",-399115937)]);
+/**
+ * Writes to the text area of the Processing environment's console.
+ * This is often helpful for looking at the data a program is producing.
+ * Each call to this function creates a new line of output.
+ * Individual elements can be separated with quotes ("") and joined with the string concatenation operator (+).
+ * Also writes the content of an array to the text area of the Processing environment.
+ * This is often helpful for looking at the data a program is producing.
+ * A new line is put between each element of the array. This function can only print 1D arrays,
+ * but can test to see if the content are null or not null for 2+ dimensional arrays.
+ */
+quil.core.prc_println = (function quil$core$prc_println(msg){
+return quil.sketch.current_applet.call(null).println(msg);
+});
+/**
+ * Writes to the console area of the Processing environment.
+ * This is often helpful for looking at the data a program is producing.
+ * The companion function println() works like print(), but creates a new line of text for each call to the function.
+ * Individual elements can be separated with quotes ("") and joined with the addition operator (+).
+ */
+quil.core.prc_print = (function quil$core$prc_print(msg){
+return quil.sketch.current_applet.call(null).print(msg);
+});
+/**
+ * Returns sketch object by id of canvas element of sketch.
+ */
+quil.core.get_sketch_by_id = (function quil$core$get_sketch_by_id(id){
+return Processing.getInstanceById(id);
+});
+quil.core.with_sketch = (function quil$core$with_sketch(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8277 = arguments.length;
+var i__7928__auto___8278 = (0);
+while(true){
+if((i__7928__auto___8278 < len__7927__auto___8277)){
+args__7934__auto__.push((arguments[i__7928__auto___8278]));
+
+var G__8279 = (i__7928__auto___8278 + (1));
+i__7928__auto___8278 = G__8279;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((3) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((3)),(0),null)):null);
+return quil.core.with_sketch.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7935__auto__);
+});
+
+quil.core.with_sketch.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,applet,body){
+if(cljs.core.truth_(quil.util.clj_compilation_QMARK_.call(null))){
+return null;
+} else {
+return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.sketch","with-sketch","quil.sketch/with-sketch",-634067708,null)),(function (){var x__7656__auto__ = applet;
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),body)));
+}
+});
+
+quil.core.with_sketch.cljs$lang$maxFixedArity = (3);
+
+quil.core.with_sketch.cljs$lang$applyTo = (function (seq8273){
+var G__8274 = cljs.core.first.call(null,seq8273);
+var seq8273__$1 = cljs.core.next.call(null,seq8273);
+var G__8275 = cljs.core.first.call(null,seq8273__$1);
+var seq8273__$2 = cljs.core.next.call(null,seq8273__$1);
+var G__8276 = cljs.core.first.call(null,seq8273__$2);
+var seq8273__$3 = cljs.core.next.call(null,seq8273__$2);
+return quil.core.with_sketch.cljs$core$IFn$_invoke$arity$variadic(G__8274,G__8275,G__8276,seq8273__$3);
+});
+
+
+quil.core.with_sketch.cljs$lang$macro = true;
+/**
+ * Retrieve sketch-specific state-atom. All changes to the
+ * atom will be reflected in the state.
+ *
+ * (set-state! :foo 1)
+ * (state :foo) ;=> 1
+ * (swap! (state-atom) update-in [:foo] inc)
+ * (state :foo) ;=> 2
+ */
+quil.core.state_atom = (function quil$core$state_atom(){
+return quil.sketch.current_applet.call(null).quil;
+});
+/**
+ * Retrieve sketch-specific state by key. Must initially call
+ * set-state! to store state. If no parameter passed whole
+ * state map is returned.
+ *
+ * (set-state! :foo 1)
+ * (state :foo) ;=> 1
+ * (state) ;=> {:foo 1}
+ */
+quil.core.state = (function quil$core$state(var_args){
+var args8280 = [];
+var len__7927__auto___8283 = arguments.length;
+var i__7928__auto___8284 = (0);
+while(true){
+if((i__7928__auto___8284 < len__7927__auto___8283)){
+args8280.push((arguments[i__7928__auto___8284]));
+
+var G__8285 = (i__7928__auto___8284 + (1));
+i__7928__auto___8284 = G__8285;
+continue;
+} else {
+}
+break;
+}
+
+var G__8282 = args8280.length;
+switch (G__8282) {
+case 0:
+return quil.core.state.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 1:
+return quil.core.state.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8280.length)].join('')));
+
+}
+});
+
+quil.core.state.cljs$core$IFn$_invoke$arity$0 = (function (){
+return cljs.core.deref.call(null,quil.core.state_atom.call(null));
+});
+
+quil.core.state.cljs$core$IFn$_invoke$arity$1 = (function (key){
+var state = quil.core.state.call(null);
+if(cljs.core.contains_QMARK_.call(null,state,key)){
+} else {
+throw Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Unable to find state with key: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(key)].join(''));
+}
+
+return cljs.core.get.call(null,state,key);
+});
+
+quil.core.state.cljs$lang$maxFixedArity = 1;
+
+/**
+ * Set sketch-specific state. May only be called once (ideally in the
+ * setup fn). Subsequent calls have no effect.
+ *
+ * Example:
+ * (set-state! :foo 1 :bar (atom true) :baz (/ (width) 2))
+ */
+quil.core.set_state_BANG_ = (function quil$core$set_state_BANG_(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8288 = arguments.length;
+var i__7928__auto___8289 = (0);
+while(true){
+if((i__7928__auto___8289 < len__7927__auto___8288)){
+args__7934__auto__.push((arguments[i__7928__auto___8289]));
+
+var G__8290 = (i__7928__auto___8289 + (1));
+i__7928__auto___8289 = G__8290;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((0) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((0)),(0),null)):null);
+return quil.core.set_state_BANG_.cljs$core$IFn$_invoke$arity$variadic(argseq__7935__auto__);
+});
+
+quil.core.set_state_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (state_vals){
+var state_STAR_ = quil.core.state_atom.call(null);
+if(cljs.core.truth_(cljs.core.deref.call(null,state_STAR_))){
+return null;
+} else {
+var state_map = cljs.core.apply.call(null,cljs.core.hash_map,state_vals);
+return cljs.core.reset_BANG_.call(null,state_STAR_,state_map);
+}
+});
+
+quil.core.set_state_BANG_.cljs$lang$maxFixedArity = (0);
+
+quil.core.set_state_BANG_.cljs$lang$applyTo = (function (seq8287){
+return quil.core.set_state_BANG_.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq8287));
+});
+
+/**
+ * Calculates the absolute value (magnitude) of a number. The
+ * absolute value of a number is always positive. Dynamically casts to
+ * an int or float appropriately
+ */
+quil.core.abs = (function quil$core$abs(n){
+return quil.sketch.current_applet.call(null).abs(n);
+});
+/**
+ * The inverse of cos, returns the arc cosine of a value. This
+ * function expects the values in the range of -1 to 1 and values are
+ * returned in the range 0 to Math/PI (3.1415927).
+ */
+quil.core.acos = (function quil$core$acos(n){
+return quil.sketch.current_applet.call(null).acos(n);
+});
+/**
+ * Extracts the alpha value from a color.
+ */
+quil.core.alpha = (function quil$core$alpha(color){
+return quil.core.current_graphics.call(null).alpha(cljs.core.unchecked_int.call(null,color));
+});
+/**
+ * Sets the ambient reflectance for shapes drawn to the screen. This
+ * is combined with the ambient light component of environment. The
+ * color components set through the parameters define the
+ * reflectance. For example in the default color mode, setting x=255,
+ * y=126, z=0, would cause all the red light to reflect and half of the
+ * green light to reflect. Used in combination with emissive, specular,
+ * and shininess in setting the material properties of shapes.
+ */
+quil.core.ambient_float = (function quil$core$ambient_float(var_args){
+var args8291 = [];
+var len__7927__auto___8294 = arguments.length;
+var i__7928__auto___8295 = (0);
+while(true){
+if((i__7928__auto___8295 < len__7927__auto___8294)){
+args8291.push((arguments[i__7928__auto___8295]));
+
+var G__8296 = (i__7928__auto___8295 + (1));
+i__7928__auto___8295 = G__8296;
+continue;
+} else {
+}
+break;
+}
+
+var G__8293 = args8291.length;
+switch (G__8293) {
+case 1:
+return quil.core.ambient_float.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 3:
+return quil.core.ambient_float.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8291.length)].join('')));
+
+}
+});
+
+quil.core.ambient_float.cljs$core$IFn$_invoke$arity$1 = (function (gray){
+return quil.core.current_graphics.call(null).ambient(gray);
+});
+
+quil.core.ambient_float.cljs$core$IFn$_invoke$arity$3 = (function (x,y,z){
+return quil.core.current_graphics.call(null).ambient(x,y,z);
+});
+
+quil.core.ambient_float.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Sets the ambient reflectance for shapes drawn to the screen. This
+ * is combined with the ambient light component of environment. The rgb
+ * color components set define the reflectance. Used in combination
+ * with emissive, specular, and shininess in setting the material
+ * properties of shapes.
+ */
+quil.core.ambient_int = (function quil$core$ambient_int(rgb){
+return quil.core.current_graphics.call(null).ambient((rgb | (0)));
+});
+/**
+ * Sets the ambient reflectance for shapes drawn to the screen. This
+ * is combined with the ambient light component of environment. The
+ * color components set through the parameters define the
+ * reflectance. For example in the default color mode, setting x=255,
+ * y=126, z=0, would cause all the red light to reflect and half of the
+ * green light to reflect. Used in combination with emissive, specular,
+ * and shininess in setting the material properties of shapes.
+ */
+quil.core.ambient = (function quil$core$ambient(var_args){
+var args8298 = [];
+var len__7927__auto___8301 = arguments.length;
+var i__7928__auto___8302 = (0);
+while(true){
+if((i__7928__auto___8302 < len__7927__auto___8301)){
+args8298.push((arguments[i__7928__auto___8302]));
+
+var G__8303 = (i__7928__auto___8302 + (1));
+i__7928__auto___8302 = G__8303;
+continue;
+} else {
+}
+break;
+}
+
+var G__8300 = args8298.length;
+switch (G__8300) {
+case 1:
+return quil.core.ambient.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 3:
+return quil.core.ambient.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8298.length)].join('')));
+
+}
+});
+
+quil.core.ambient.cljs$core$IFn$_invoke$arity$1 = (function (rgb){
+return quil.core.ambient_float.call(null,rgb);
+});
+
+quil.core.ambient.cljs$core$IFn$_invoke$arity$3 = (function (x,y,z){
+return quil.core.ambient_float.call(null,x,y,z);
+});
+
+quil.core.ambient.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Adds an ambient light. Ambient light doesn't come from a specific direction,
+ * the rays have light have bounced around so much that objects are
+ * evenly lit from all sides. Ambient lights are almost always used in
+ * combination with other types of lights. Lights need to be included
+ * in the draw to remain persistent in a looping program. Placing them
+ * in the setup of a looping program will cause them to only have an
+ * effect the first time through the loop. The effect of the
+ * parameters is determined by the current color mode.
+ */
+quil.core.ambient_light = (function quil$core$ambient_light(var_args){
+var args8305 = [];
+var len__7927__auto___8308 = arguments.length;
+var i__7928__auto___8309 = (0);
+while(true){
+if((i__7928__auto___8309 < len__7927__auto___8308)){
+args8305.push((arguments[i__7928__auto___8309]));
+
+var G__8310 = (i__7928__auto___8309 + (1));
+i__7928__auto___8309 = G__8310;
+continue;
+} else {
+}
+break;
+}
+
+var G__8307 = args8305.length;
+switch (G__8307) {
+case 3:
+return quil.core.ambient_light.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 6:
+return quil.core.ambient_light.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8305.length)].join('')));
+
+}
+});
+
+quil.core.ambient_light.cljs$core$IFn$_invoke$arity$3 = (function (red,green,blue){
+return quil.core.current_graphics.call(null).ambientLight(red,green,blue);
+});
+
+quil.core.ambient_light.cljs$core$IFn$_invoke$arity$6 = (function (red,green,blue,x,y,z){
+return quil.core.current_graphics.call(null).ambientLight(red,green,blue,x,y,z);
+});
+
+quil.core.ambient_light.cljs$lang$maxFixedArity = 6;
+
+/**
+ * Multiplies the current matrix by the one specified through the
+ * parameters. This is very slow because it will try to calculate the
+ * inverse of the transform, so avoid it whenever possible. The
+ * equivalent function in OpenGL is glMultMatrix().
+ */
+quil.core.apply_matrix = (function quil$core$apply_matrix(n00,n01,n02,n03,n10,n11,n12,n13,n20,n21,n22,n23,n30,n31,n32,n33){
+return quil.core.current_graphics.call(null).applyMatrix(n00,n01,n02,n03,n10,n11,n12,n13,n20,n21,n22,n23,n30,n31,n32,n33);
+});
+/**
+ * Draws an arc in the display window. Arcs are drawn along the outer
+ * edge of an ellipse defined by the x, y, width and height
+ * parameters. The origin or the arc's ellipse may be changed with the
+ * ellipse-mode function. The start and stop parameters specify the
+ * angles at which to draw the arc. The mode is either :open, :chord or :pie.
+ */
+quil.core.arc = (function quil$core$arc(x,y,width,height,start,stop){
+return quil.core.current_graphics.call(null).arc(x,y,width,height,start,stop);
+});
+/**
+ * The inverse of sin, returns the arc sine of a value. This function
+ * expects the values in the range of -1 to 1 and values are returned
+ * in the range -PI/2 to PI/2.
+ */
+quil.core.asin = (function quil$core$asin(n){
+return quil.sketch.current_applet.call(null).asin(n);
+});
+/**
+ * The inverse of tan, returns the arc tangent of a value. This
+ * function expects the values in the range of -Infinity to
+ * Infinity (exclusive) and values are returned in the range -PI/2 to
+ * PI/2 .
+ */
+quil.core.atan = (function quil$core$atan(n){
+return quil.sketch.current_applet.call(null).atan(n);
+});
+/**
+ * Calculates the angle (in radians) from a specified point to the
+ * coordinate origin as measured from the positive x-axis. Values are
+ * returned as a float in the range from PI to -PI. The atan2 function
+ * is most often used for orienting geometry to the position of the
+ * cursor. Note: The y-coordinate of the point is the first parameter
+ * and the x-coordinate is the second due to the structure of
+ * calculating the tangent.
+ */
+quil.core.atan2 = (function quil$core$atan2(y,x){
+return quil.sketch.current_applet.call(null).atan2(y,x);
+});
+/**
+ * A sequence of strings representing the fonts on this system
+ * available for use.
+ *
+ * Because of limitations in Java, not all fonts can be used and some
+ * might work with one operating system and not others. When sharing a
+ * sketch with other people or posting it on the web, you may need to
+ * include a .ttf or .otf version of your font in the data directory of
+ * the sketch because other people might not have the font installed on
+ * their computer. Only fonts that can legally be distributed should be
+ * included with a sketch.
+ */
+quil.core.available_fonts = (function quil$core$available_fonts(){
+return cljs.core.seq.call(null,PFont.list());
+});
+/**
+ * Sets the color used for the background of the Processing
+ * window. The default background is light gray. In the draw function,
+ * the background color is used to clear the display window at the
+ * beginning of each frame.
+ *
+ * It is not possible to use transparency (alpha) in background colors
+ * with the main drawing surface, however they will work properly with
+ * create-graphics. Converts args to floats.
+ */
+quil.core.background_float = (function quil$core$background_float(var_args){
+var args8312 = [];
+var len__7927__auto___8315 = arguments.length;
+var i__7928__auto___8316 = (0);
+while(true){
+if((i__7928__auto___8316 < len__7927__auto___8315)){
+args8312.push((arguments[i__7928__auto___8316]));
+
+var G__8317 = (i__7928__auto___8316 + (1));
+i__7928__auto___8316 = G__8317;
+continue;
+} else {
+}
+break;
+}
+
+var G__8314 = args8312.length;
+switch (G__8314) {
+case 1:
+return quil.core.background_float.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.background_float.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.background_float.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.background_float.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8312.length)].join('')));
+
+}
+});
+
+quil.core.background_float.cljs$core$IFn$_invoke$arity$1 = (function (gray){
+return quil.core.current_graphics.call(null).background(gray);
+});
+
+quil.core.background_float.cljs$core$IFn$_invoke$arity$2 = (function (gray,alpha){
+return quil.core.current_graphics.call(null).background(gray,alpha);
+});
+
+quil.core.background_float.cljs$core$IFn$_invoke$arity$3 = (function (r,g,b){
+return quil.core.current_graphics.call(null).background(r,g,b);
+});
+
+quil.core.background_float.cljs$core$IFn$_invoke$arity$4 = (function (r,g,b,a){
+return quil.core.current_graphics.call(null).background(r,g,b,a);
+});
+
+quil.core.background_float.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Sets the color used for the background of the Processing
+ * window. The default background is light gray. In the draw function,
+ * the background color is used to clear the display window at the
+ * beginning of each frame.
+ *
+ * It is not possible to use transparency (alpha) in background colors
+ * with the main drawing surface, however they will work properly with
+ * create-graphics. Converts rgb to an int and alpha to a float.
+ */
+quil.core.background_int = (function quil$core$background_int(var_args){
+var args8319 = [];
+var len__7927__auto___8322 = arguments.length;
+var i__7928__auto___8323 = (0);
+while(true){
+if((i__7928__auto___8323 < len__7927__auto___8322)){
+args8319.push((arguments[i__7928__auto___8323]));
+
+var G__8324 = (i__7928__auto___8323 + (1));
+i__7928__auto___8323 = G__8324;
+continue;
+} else {
+}
+break;
+}
+
+var G__8321 = args8319.length;
+switch (G__8321) {
+case 1:
+return quil.core.background_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.background_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8319.length)].join('')));
+
+}
+});
+
+quil.core.background_int.cljs$core$IFn$_invoke$arity$1 = (function (rgb){
+return quil.core.current_graphics.call(null).background(cljs.core.unchecked_int.call(null,rgb));
+});
+
+quil.core.background_int.cljs$core$IFn$_invoke$arity$2 = (function (rgb,alpha){
+return quil.core.current_graphics.call(null).background(cljs.core.unchecked_int.call(null,rgb),alpha);
+});
+
+quil.core.background_int.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Sets the color used for the background of the Processing
+ * window. The default background is light gray. In the draw function,
+ * the background color is used to clear the display window at the
+ * beginning of each frame.
+ *
+ * It is not possible to use transparency (alpha) in background colors
+ * with the main drawing surface, however they will work properly with
+ * create-graphics. Converts args to floats.
+ */
+quil.core.background = (function quil$core$background(var_args){
+var args8326 = [];
+var len__7927__auto___8329 = arguments.length;
+var i__7928__auto___8330 = (0);
+while(true){
+if((i__7928__auto___8330 < len__7927__auto___8329)){
+args8326.push((arguments[i__7928__auto___8330]));
+
+var G__8331 = (i__7928__auto___8330 + (1));
+i__7928__auto___8330 = G__8331;
+continue;
+} else {
+}
+break;
+}
+
+var G__8328 = args8326.length;
+switch (G__8328) {
+case 1:
+return quil.core.background.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.background.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.background.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.background.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8326.length)].join('')));
+
+}
+});
+
+quil.core.background.cljs$core$IFn$_invoke$arity$1 = (function (rgb){
+return quil.core.current_graphics.call(null).background(rgb);
+});
+
+quil.core.background.cljs$core$IFn$_invoke$arity$2 = (function (rgb,alpha){
+return quil.core.current_graphics.call(null).background(rgb,alpha);
+});
+
+quil.core.background.cljs$core$IFn$_invoke$arity$3 = (function (r,g,b){
+return quil.core.background_float.call(null,r,g,b);
+});
+
+quil.core.background.cljs$core$IFn$_invoke$arity$4 = (function (r,g,b,a){
+return quil.core.background_float.call(null,r,g,b,a);
+});
+
+quil.core.background.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Specify an image to be used as the background for a sketch. Its
+ * width and height must be the same size as the sketch window. Images
+ * used as background will ignore the current tint setting.
+ */
+quil.core.background_image = (function quil$core$background_image(img){
+return quil.core.current_graphics.call(null).background(img);
+});
+/**
+ * Sets the matrix mode to the camera matrix so calls such as
+ * translate, rotate, apply-matrix and reset-matrix affect the
+ * camera. begin-camera should always be used with a following
+ * end-camera and pairs of begin-camera and end-camera cannot be
+ * nested.
+ *
+ * For most situations the camera function will be sufficient.
+ */
+quil.core.begin_camera = (function quil$core$begin_camera(){
+return quil.core.current_graphics.call(null).beginCamera();
+});
+/**
+ * Use the begin-contour and end-contour function to create negative
+ * shapes within shapes. These functions can only be within a
+ * begin-shape/end-shape pair and they only work with the :p2d and :p3d
+ * renderers.
+ */
+quil.core.begin_contour = (function quil$core$begin_contour(){
+return quil.core.current_graphics.call(null).beginContour();
+});
+/**
+ * Enables the creation of complex forms. begin-shape begins recording
+ * vertices for a shape and end-shape stops recording. Use the mode
+ * keyword to specify which shape create from the provided
+ * vertices. With no mode specified, the shape can be any irregular
+ * polygon.
+ *
+ * The available mode keywords are :points, :lines, :triangles,
+ * :triangle-fan, :triangle-strip,
+ * :quads, :quad-strip.
+ *
+ * After calling the begin-shape function, a series of vertex commands
+ * must follow. To stop drawing the shape, call end-shape. The vertex
+ * function with two parameters specifies a position in 2D and the
+ * vertex function with three parameters specifies a position in
+ * 3D. Each shape will be outlined with the current stroke color and
+ * filled with the fill color.
+ *
+ * Transformations such as translate, rotate, and scale do not work
+ * within begin-shape. It is also not possible to use other shapes,
+ * such as ellipse or rect within begin-shape.
+ */
+quil.core.begin_shape = (function quil$core$begin_shape(var_args){
+var args8333 = [];
+var len__7927__auto___8336 = arguments.length;
+var i__7928__auto___8337 = (0);
+while(true){
+if((i__7928__auto___8337 < len__7927__auto___8336)){
+args8333.push((arguments[i__7928__auto___8337]));
+
+var G__8338 = (i__7928__auto___8337 + (1));
+i__7928__auto___8337 = G__8338;
+continue;
+} else {
+}
+break;
+}
+
+var G__8335 = args8333.length;
+switch (G__8335) {
+case 0:
+return quil.core.begin_shape.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 1:
+return quil.core.begin_shape.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8333.length)].join('')));
+
+}
+});
+
+quil.core.begin_shape.cljs$core$IFn$_invoke$arity$0 = (function (){
+return quil.core.current_graphics.call(null).beginShape();
+});
+
+quil.core.begin_shape.cljs$core$IFn$_invoke$arity$1 = (function (mode){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.shape_modes);
+return quil.core.current_graphics.call(null).beginShape((mode__$1 | (0)));
+});
+
+quil.core.begin_shape.cljs$lang$maxFixedArity = 1;
+
+/**
+ * Draws a Bezier curve on the screen. These curves are defined by a
+ * series of anchor and control points. The first two parameters
+ * specify the first anchor point and the last two parameters specify
+ * the other anchor point. The middle parameters specify the control
+ * points which define the shape of the curve.
+ */
+quil.core.bezier = (function quil$core$bezier(var_args){
+var args8340 = [];
+var len__7927__auto___8343 = arguments.length;
+var i__7928__auto___8344 = (0);
+while(true){
+if((i__7928__auto___8344 < len__7927__auto___8343)){
+args8340.push((arguments[i__7928__auto___8344]));
+
+var G__8345 = (i__7928__auto___8344 + (1));
+i__7928__auto___8344 = G__8345;
+continue;
+} else {
+}
+break;
+}
+
+var G__8342 = args8340.length;
+switch (G__8342) {
+case 8:
+return quil.core.bezier.cljs$core$IFn$_invoke$arity$8((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]));
+
+break;
+case 12:
+return quil.core.bezier.cljs$core$IFn$_invoke$arity$12((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8340.length)].join('')));
+
+}
+});
+
+quil.core.bezier.cljs$core$IFn$_invoke$arity$8 = (function (x1,y1,cx1,cy1,cx2,cy2,x2,y2){
+return quil.core.current_graphics.call(null).bezier(x1,y1,cx1,cy1,cx2,cy2,x2,y2);
+});
+
+quil.core.bezier.cljs$core$IFn$_invoke$arity$12 = (function (x1,y1,z1,cx1,cy1,cz1,cx2,cy2,cz2,x2,y2,z2){
+return quil.core.current_graphics.call(null).bezier(x1,y1,z1,cx1,cy1,cz1,cx2,cy2,cz2,x2,y2,z2);
+});
+
+quil.core.bezier.cljs$lang$maxFixedArity = 12;
+
+/**
+ * Sets the resolution at which Beziers display. The default value is
+ * 20. This function is only useful when using the :p3d or :opengl
+ * renderer as the default (:java2d) renderer does not use this
+ * information.
+ */
+quil.core.bezier_detail = (function quil$core$bezier_detail(detail){
+return quil.core.current_graphics.call(null).bezierDetail((detail | (0)));
+});
+/**
+ * Evaluates the Bezier at point t for points a, b, c, d. The
+ * parameter t varies between 0 and 1, a and d are points on the curve,
+ * and b and c are the control points. This can be done once with the x
+ * coordinates and a second time with the y coordinates to get the
+ * location of a bezier curve at t.
+ */
+quil.core.bezier_point = (function quil$core$bezier_point(a,b,c,d,t){
+return quil.core.current_graphics.call(null).bezierPoint(a,b,c,d,t);
+});
+/**
+ * Calculates the tangent of a point on a Bezier curve.
+ * (See http://en.wikipedia.org/wiki/Tangent)
+ */
+quil.core.bezier_tangent = (function quil$core$bezier_tangent(a,b,c,d,t){
+return quil.core.current_graphics.call(null).bezierTangent(a,b,c,d,t);
+});
+/**
+ * Specifies vertex coordinates for Bezier curves. Each call to
+ * bezier-vertex defines the position of two control points and one
+ * anchor point of a Bezier curve, adding a new segment to a line or
+ * shape. The first time bezier-vertex is used within a begin-shape
+ * call, it must be prefaced with a call to vertex to set the first
+ * anchor point. This function must be used between begin-shape and
+ * end-shape and only when there is no parameter specified to
+ * begin-shape.
+ */
+quil.core.bezier_vertex = (function quil$core$bezier_vertex(var_args){
+var args8347 = [];
+var len__7927__auto___8350 = arguments.length;
+var i__7928__auto___8351 = (0);
+while(true){
+if((i__7928__auto___8351 < len__7927__auto___8350)){
+args8347.push((arguments[i__7928__auto___8351]));
+
+var G__8352 = (i__7928__auto___8351 + (1));
+i__7928__auto___8351 = G__8352;
+continue;
+} else {
+}
+break;
+}
+
+var G__8349 = args8347.length;
+switch (G__8349) {
+case 6:
+return quil.core.bezier_vertex.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]));
+
+break;
+case 9:
+return quil.core.bezier_vertex.cljs$core$IFn$_invoke$arity$9((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8347.length)].join('')));
+
+}
+});
+
+quil.core.bezier_vertex.cljs$core$IFn$_invoke$arity$6 = (function (cx1,cy1,cx2,cy2,x,y){
+return quil.core.current_graphics.call(null).bezierVertex(cx1,cy1,cx2,cy2,x,y);
+});
+
+quil.core.bezier_vertex.cljs$core$IFn$_invoke$arity$9 = (function (cx1,cy1,cz1,cx2,cy2,cz2,x,y,z){
+return quil.core.current_graphics.call(null).bezierVertex(cx1,cy1,cz1,cx2,cy2,cz2,x,y,z);
+});
+
+quil.core.bezier_vertex.cljs$lang$maxFixedArity = 9;
+
+/**
+ * Returns a string representing the binary value of an int, char or
+ * byte. When converting an int to a string, it is possible to specify
+ * the number of digits used.
+ */
+quil.core.binary = (function quil$core$binary(var_args){
+var args8354 = [];
+var len__7927__auto___8357 = arguments.length;
+var i__7928__auto___8358 = (0);
+while(true){
+if((i__7928__auto___8358 < len__7927__auto___8357)){
+args8354.push((arguments[i__7928__auto___8358]));
+
+var G__8359 = (i__7928__auto___8358 + (1));
+i__7928__auto___8358 = G__8359;
+continue;
+} else {
+}
+break;
+}
+
+var G__8356 = args8354.length;
+switch (G__8356) {
+case 1:
+return quil.core.binary.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.binary.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8354.length)].join('')));
+
+}
+});
+
+quil.core.binary.cljs$core$IFn$_invoke$arity$1 = (function (val){
+return quil.sketch.current_applet.call(null).binary(val);
+});
+
+quil.core.binary.cljs$core$IFn$_invoke$arity$2 = (function (val,num_digits){
+return quil.sketch.current_applet.call(null).binary(val,num_digits);
+});
+
+quil.core.binary.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Blends a region of pixels from one image into another with full alpha
+ * channel support. If src is not specified it defaults to current-graphics.
+ * If dest is not specified it defaults to current-graphics.
+ *
+ * Note: blend-mode function is recommended to use instead of this one.
+ *
+ * Available blend modes are:
+ *
+ * :blend - linear interpolation of colours: C = A*factor + B
+ * :add - additive blending with white clip:
+ * C = min(A*factor + B, 255)
+ * :subtract - subtractive blending with black clip:
+ * C = max(B - A*factor, 0)
+ * :darkest - only the darkest colour succeeds:
+ * C = min(A*factor, B)
+ * :lightest - only the lightest colour succeeds:
+ * C = max(A*factor, B)
+ * :difference - subtract colors from underlying image.
+ * :exclusion - similar to :difference, but less extreme.
+ * :multiply - Multiply the colors, result will always be darker.
+ * :screen - Opposite multiply, uses inverse values of the colors.
+ * :overlay - A mix of :multiply and :screen. Multiplies dark values
+ * and screens light values.
+ * :hard-light - :screen when greater than 50% gray, :multiply when
+ * lower.
+ * :soft-light - Mix of :darkest and :lightest. Works like :overlay,
+ * but not as harsh.
+ * :dodge - Lightens light tones and increases contrast, ignores
+ * darks.
+ * Called "Color Dodge" in Illustrator and Photoshop.
+ * :burn - Darker areas are applied, increasing contrast, ignores
+ * lights. Called "Color Burn" in Illustrator and
+ * Photoshop.
+ */
+quil.core.blend = (function quil$core$blend(var_args){
+var args8361 = [];
+var len__7927__auto___8364 = arguments.length;
+var i__7928__auto___8365 = (0);
+while(true){
+if((i__7928__auto___8365 < len__7927__auto___8364)){
+args8361.push((arguments[i__7928__auto___8365]));
+
+var G__8366 = (i__7928__auto___8365 + (1));
+i__7928__auto___8365 = G__8366;
+continue;
+} else {
+}
+break;
+}
+
+var G__8363 = args8361.length;
+switch (G__8363) {
+case 9:
+return quil.core.blend.cljs$core$IFn$_invoke$arity$9((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]));
+
+break;
+case 10:
+return quil.core.blend.cljs$core$IFn$_invoke$arity$10((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]));
+
+break;
+case 11:
+return quil.core.blend.cljs$core$IFn$_invoke$arity$11((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8361.length)].join('')));
+
+}
+});
+
+quil.core.blend.cljs$core$IFn$_invoke$arity$9 = (function (x,y,width,height,dx,dy,dwidth,dheight,mode){
+return quil.core.blend.call(null,quil.core.current_graphics.call(null),quil.core.current_graphics.call(null),x,y,width,height,dx,dy,dwidth,dheight,mode);
+});
+
+quil.core.blend.cljs$core$IFn$_invoke$arity$10 = (function (src_img,x,y,width,height,dx,dy,dwidth,dheight,mode){
+return quil.core.blend.call(null,src_img,quil.core.current_graphics.call(null),x,y,width,height,dx,dy,dwidth,dheight,mode);
+});
+
+quil.core.blend.cljs$core$IFn$_invoke$arity$11 = (function (src_img,dest_img,x,y,width,height,dx,dy,dwidth,dheight,mode){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.blend_modes);
+return dest_img.blend(src_img,(x | (0)),(y | (0)),(width | (0)),(height | (0)),(dx | (0)),(dy | (0)),(dwidth | (0)),(dheight | (0)),(mode__$1 | (0)));
+});
+
+quil.core.blend.cljs$lang$maxFixedArity = 11;
+
+/**
+ * Blends two color values together based on the blending mode given specified
+ * with the mode keyword.
+ *
+ * Available blend modes are:
+ *
+ * :blend - linear interpolation of colours: C = A*factor + B
+ * :add - additive blending with white clip:
+ * C = min(A*factor + B, 255)
+ * :subtract - subtractive blending with black clip:
+ * C = max(B - A*factor, 0)
+ * :darkest - only the darkest colour succeeds:
+ * C = min(A*factor, B)
+ * :lightest - only the lightest colour succeeds:
+ * C = max(A*factor, B)
+ * :difference - subtract colors from underlying image.
+ * :exclusion - similar to :difference, but less extreme.
+ * :multiply - Multiply the colors, result will always be darker.
+ * :screen - Opposite multiply, uses inverse values of the colors.
+ * :overlay - A mix of :multiply and :screen. Multiplies dark values
+ * and screens light values.
+ * :hard-light - :screen when greater than 50% gray, :multiply when
+ * lower.
+ * :soft-light - Mix of :darkest and :lightest. Works like :overlay,
+ * but not as harsh.
+ * :dodge - Lightens light tones and increases contrast, ignores
+ * darks.
+ * Called "Color Dodge" in Illustrator and Photoshop.
+ * :burn - Darker areas are applied, increasing contrast, ignores
+ * lights. Called "Color Burn" in Illustrator and
+ * Photoshop.
+ */
+quil.core.blend_color = (function quil$core$blend_color(c1,c2,mode){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.blend_modes);
+return quil.core.current_graphics.call(null).blendColor(c1,c2,mode__$1);
+});
+/**
+ * Extracts the blue value from a color, scaled to match current color-mode.
+ * Returns a float.
+ */
+quil.core.blue = (function quil$core$blue(color){
+return quil.core.current_graphics.call(null).blue(cljs.core.unchecked_int.call(null,color));
+});
+/**
+ * Creates an extruded rectangle.
+ */
+quil.core.box = (function quil$core$box(var_args){
+var args8368 = [];
+var len__7927__auto___8371 = arguments.length;
+var i__7928__auto___8372 = (0);
+while(true){
+if((i__7928__auto___8372 < len__7927__auto___8371)){
+args8368.push((arguments[i__7928__auto___8372]));
+
+var G__8373 = (i__7928__auto___8372 + (1));
+i__7928__auto___8372 = G__8373;
+continue;
+} else {
+}
+break;
+}
+
+var G__8370 = args8368.length;
+switch (G__8370) {
+case 1:
+return quil.core.box.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 3:
+return quil.core.box.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8368.length)].join('')));
+
+}
+});
+
+quil.core.box.cljs$core$IFn$_invoke$arity$1 = (function (size){
+return quil.core.current_graphics.call(null).box(size);
+});
+
+quil.core.box.cljs$core$IFn$_invoke$arity$3 = (function (width,height,depth){
+return quil.core.current_graphics.call(null).box(width,height,depth);
+});
+
+quil.core.box.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Extracts the brightness value from a color. Returns a float.
+ */
+quil.core.brightness = (function quil$core$brightness(color){
+return quil.core.current_graphics.call(null).brightness(cljs.core.unchecked_int.call(null,color));
+});
+/**
+ * Sets the position of the camera through setting the eye position,
+ * the center of the scene, and which axis is facing upward. Moving the
+ * eye position and the direction it is pointing (the center of the
+ * scene) allows the images to be seen from different angles. The
+ * version without any parameters sets the camera to the default
+ * position, pointing to the center of the display window with the Y
+ * axis as up. The default values are:
+ *
+ * eyeX: (/ (width) 2.0)
+ * eyeY: (/ (height) 2.0)
+ * eyeZ: (/ (/ (height) 2.0) (tan (/ (* Math/PI 60.0) 360.0)))
+ * centerX: (/ (width) 2.0)
+ * centerY: (/ (height) 2.0)
+ * centerZ: 0
+ * upX: 0
+ * upY: 1
+ * upZ: 0
+ *
+ * Similar imilar to gluLookAt() in OpenGL, but it first clears the
+ * current camera settings.
+ */
+quil.core.camera = (function quil$core$camera(var_args){
+var args8375 = [];
+var len__7927__auto___8378 = arguments.length;
+var i__7928__auto___8379 = (0);
+while(true){
+if((i__7928__auto___8379 < len__7927__auto___8378)){
+args8375.push((arguments[i__7928__auto___8379]));
+
+var G__8380 = (i__7928__auto___8379 + (1));
+i__7928__auto___8379 = G__8380;
+continue;
+} else {
+}
+break;
+}
+
+var G__8377 = args8375.length;
+switch (G__8377) {
+case 0:
+return quil.core.camera.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 9:
+return quil.core.camera.cljs$core$IFn$_invoke$arity$9((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8375.length)].join('')));
+
+}
+});
+
+quil.core.camera.cljs$core$IFn$_invoke$arity$0 = (function (){
+return quil.core.current_graphics.call(null).camera();
+});
+
+quil.core.camera.cljs$core$IFn$_invoke$arity$9 = (function (eyeX,eyeY,eyeZ,centerX,centerY,centerZ,upX,upY,upZ){
+return quil.core.current_graphics.call(null).camera(eyeX,eyeY,eyeZ,centerX,centerY,centerZ,upX,upY,upZ);
+});
+
+quil.core.camera.cljs$lang$maxFixedArity = 9;
+
+/**
+ * Calculates the closest int value that is greater than or equal to
+ * the value of the parameter. For example, (ceil 9.03) returns the
+ * value 10.
+ */
+quil.core.ceil = (function quil$core$ceil(n){
+return quil.sketch.current_applet.call(null).ceil(n);
+});
+/**
+ * Creates an integer representation of a color The parameters are
+ * interpreted as RGB or HSB values depending on the current
+ * color-mode. The default mode is RGB values from 0 to 255 and
+ * therefore, the function call (color 255 204 0) will return a bright
+ * yellow. Args are cast to floats.
+ *
+ * r - red or hue value
+ * g - green or saturation value
+ * b - blue or brightness value
+ * a - alpha value
+ */
+quil.core.color = (function quil$core$color(var_args){
+var args8382 = [];
+var len__7927__auto___8385 = arguments.length;
+var i__7928__auto___8386 = (0);
+while(true){
+if((i__7928__auto___8386 < len__7927__auto___8385)){
+args8382.push((arguments[i__7928__auto___8386]));
+
+var G__8387 = (i__7928__auto___8386 + (1));
+i__7928__auto___8386 = G__8387;
+continue;
+} else {
+}
+break;
+}
+
+var G__8384 = args8382.length;
+switch (G__8384) {
+case 1:
+return quil.core.color.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.color.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.color.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.color.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8382.length)].join('')));
+
+}
+});
+
+quil.core.color.cljs$core$IFn$_invoke$arity$1 = (function (gray){
+return quil.core.current_graphics.call(null).color(gray);
+});
+
+quil.core.color.cljs$core$IFn$_invoke$arity$2 = (function (gray,alpha){
+return quil.core.current_graphics.call(null).color(gray,alpha);
+});
+
+quil.core.color.cljs$core$IFn$_invoke$arity$3 = (function (r,g,b){
+return quil.core.current_graphics.call(null).color(r,g,b);
+});
+
+quil.core.color.cljs$core$IFn$_invoke$arity$4 = (function (r,g,b,a){
+return quil.core.current_graphics.call(null).color(r,g,b,a);
+});
+
+quil.core.color.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Changes the way Processing interprets color data. Available modes
+ * are :rgb and :hsb.By default, the parameters for fill, stroke,
+ * background, and color are defined by values between 0 and 255 using
+ * the :rgb color model. The color-mode fn is used to change the
+ * numerical range used for specifying colors and to switch color
+ * systems. For example, calling
+ * (color-mode :rgb 1.0) will specify that values are specified between
+ * 0 and 1. The limits for defining colors are altered by setting the
+ * parameters range1, range2, range3, and range 4.
+ */
+quil.core.color_mode = (function quil$core$color_mode(var_args){
+var args8389 = [];
+var len__7927__auto___8392 = arguments.length;
+var i__7928__auto___8393 = (0);
+while(true){
+if((i__7928__auto___8393 < len__7927__auto___8392)){
+args8389.push((arguments[i__7928__auto___8393]));
+
+var G__8394 = (i__7928__auto___8393 + (1));
+i__7928__auto___8393 = G__8394;
+continue;
+} else {
+}
+break;
+}
+
+var G__8391 = args8389.length;
+switch (G__8391) {
+case 1:
+return quil.core.color_mode.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.color_mode.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 4:
+return quil.core.color_mode.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+case 5:
+return quil.core.color_mode.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8389.length)].join('')));
+
+}
+});
+
+quil.core.color_mode.cljs$core$IFn$_invoke$arity$1 = (function (mode){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.color_modes);
+return quil.core.current_graphics.call(null).colorMode((mode__$1 | (0)));
+});
+
+quil.core.color_mode.cljs$core$IFn$_invoke$arity$2 = (function (mode,max){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.color_modes);
+return quil.core.current_graphics.call(null).colorMode((mode__$1 | (0)),max);
+});
+
+quil.core.color_mode.cljs$core$IFn$_invoke$arity$4 = (function (mode,max_x,max_y,max_z){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.color_modes);
+return quil.core.current_graphics.call(null).colorMode((mode__$1 | (0)),max_x,max_y,max_z);
+});
+
+quil.core.color_mode.cljs$core$IFn$_invoke$arity$5 = (function (mode,max_x,max_y,max_z,max_a){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.color_modes);
+return quil.core.current_graphics.call(null).colorMode((mode__$1 | (0)),max_x,max_y,max_z,max_a);
+});
+
+quil.core.color_mode.cljs$lang$maxFixedArity = 5;
+
+/**
+ * Constrains a value to not exceed a maximum and minimum value.
+ */
+quil.core.constrain = (function quil$core$constrain(amt,low,high){
+return quil.sketch.current_applet.call(null).constrain(amt,low,high);
+});
+/**
+ * Copies a region of pixels from the one image to another. If src-img
+ * is not specified it defaults to current-graphics. If dest-img is not
+ * specified - it defaults to current-graphics. If the source
+ * and destination regions aren't the same size, it will automatically
+ * resize the source pixels to fit the specified target region. No
+ * alpha information is used in the process, however if the source
+ * image has an alpha channel set, it will be copied as well.
+ */
+quil.core.copy = (function quil$core$copy(var_args){
+var args8396 = [];
+var len__7927__auto___8423 = arguments.length;
+var i__7928__auto___8424 = (0);
+while(true){
+if((i__7928__auto___8424 < len__7927__auto___8423)){
+args8396.push((arguments[i__7928__auto___8424]));
+
+var G__8425 = (i__7928__auto___8424 + (1));
+i__7928__auto___8424 = G__8425;
+continue;
+} else {
+}
+break;
+}
+
+var G__8398 = args8396.length;
+switch (G__8398) {
+case 2:
+return quil.core.copy.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.copy.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.copy.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8396.length)].join('')));
+
+}
+});
+
+quil.core.copy.cljs$core$IFn$_invoke$arity$2 = (function (p__8399,p__8400){
+var vec__8401 = p__8399;
+var sx = cljs.core.nth.call(null,vec__8401,(0),null);
+var sy = cljs.core.nth.call(null,vec__8401,(1),null);
+var swidth = cljs.core.nth.call(null,vec__8401,(2),null);
+var sheight = cljs.core.nth.call(null,vec__8401,(3),null);
+var vec__8404 = p__8400;
+var dx = cljs.core.nth.call(null,vec__8404,(0),null);
+var dy = cljs.core.nth.call(null,vec__8404,(1),null);
+var dwidth = cljs.core.nth.call(null,vec__8404,(2),null);
+var dheight = cljs.core.nth.call(null,vec__8404,(3),null);
+return quil.core.current_graphics.call(null).copy((sx | (0)),(sy | (0)),(swidth | (0)),(sheight | (0)),(dx | (0)),(dy | (0)),(dwidth | (0)),(dheight | (0)));
+});
+
+quil.core.copy.cljs$core$IFn$_invoke$arity$3 = (function (src_img,p__8407,p__8408){
+var vec__8409 = p__8407;
+var sx = cljs.core.nth.call(null,vec__8409,(0),null);
+var sy = cljs.core.nth.call(null,vec__8409,(1),null);
+var swidth = cljs.core.nth.call(null,vec__8409,(2),null);
+var sheight = cljs.core.nth.call(null,vec__8409,(3),null);
+var vec__8412 = p__8408;
+var dx = cljs.core.nth.call(null,vec__8412,(0),null);
+var dy = cljs.core.nth.call(null,vec__8412,(1),null);
+var dwidth = cljs.core.nth.call(null,vec__8412,(2),null);
+var dheight = cljs.core.nth.call(null,vec__8412,(3),null);
+return quil.core.copy.call(null,src_img,quil.core.current_graphics.call(null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [sx,sy,swidth,sheight], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [dx,dy,dwidth,dheight], null));
+});
+
+quil.core.copy.cljs$core$IFn$_invoke$arity$4 = (function (src_img,dest_img,p__8415,p__8416){
+var vec__8417 = p__8415;
+var sx = cljs.core.nth.call(null,vec__8417,(0),null);
+var sy = cljs.core.nth.call(null,vec__8417,(1),null);
+var swidth = cljs.core.nth.call(null,vec__8417,(2),null);
+var sheight = cljs.core.nth.call(null,vec__8417,(3),null);
+var vec__8420 = p__8416;
+var dx = cljs.core.nth.call(null,vec__8420,(0),null);
+var dy = cljs.core.nth.call(null,vec__8420,(1),null);
+var dwidth = cljs.core.nth.call(null,vec__8420,(2),null);
+var dheight = cljs.core.nth.call(null,vec__8420,(3),null);
+return dest_img.copy(src_img,(sx | (0)),(sy | (0)),(swidth | (0)),(sheight | (0)),(dx | (0)),(dy | (0)),(dwidth | (0)),(dheight | (0)));
+});
+
+quil.core.copy.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Calculates the cosine of an angle. This function expects the values
+ * of the angle parameter to be provided in radians (values from 0 to
+ * Math/PI*2). Values are returned in the range -1 to 1.
+ */
+quil.core.cos = (function quil$core$cos(angle){
+return quil.sketch.current_applet.call(null).cos(angle);
+});
+/**
+ * Dynamically converts a font to the format used by Processing (a
+ * PFont) from either a font name that's installed on the computer, or
+ * from a .ttf or .otf file inside the sketches 'data' folder. This
+ * function is an advanced feature for precise control.
+ *
+ * Use available-fonts to obtain the names for the fonts recognized by
+ * the computer and are compatible with this function.
+ *
+ * The size parameter states the font size you want to generate. The
+ * smooth parameter specifies if the font should be antialiased or not,
+ * and the charset parameter is an array of chars that specifies the
+ * characters to generate.
+ *
+ * This function creates a bitmapped version of a font It loads a font
+ * by name, and converts it to a series of images based on the size of
+ * the font. When possible, the text function will use a native font
+ * rather than the bitmapped version created behind the scenes with
+ * create-font. For instance, when using the default renderer
+ * setting (JAVA2D), the actual native version of the font will be
+ * employed by the sketch, improving drawing quality and
+ * performance. With the :p2d, :p3d, and :opengl renderer settings, the
+ * bitmapped version will be used. While this can drastically improve
+ * speed and appearance, results are poor when exporting if the sketch
+ * does not include the .otf or .ttf file, and the requested font is
+ * not available on the machine running the sketch.
+ */
+quil.core.create_font = (function quil$core$create_font(var_args){
+var args8427 = [];
+var len__7927__auto___8430 = arguments.length;
+var i__7928__auto___8431 = (0);
+while(true){
+if((i__7928__auto___8431 < len__7927__auto___8430)){
+args8427.push((arguments[i__7928__auto___8431]));
+
+var G__8432 = (i__7928__auto___8431 + (1));
+i__7928__auto___8431 = G__8432;
+continue;
+} else {
+}
+break;
+}
+
+var G__8429 = args8427.length;
+switch (G__8429) {
+case 2:
+return quil.core.create_font.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.create_font.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.create_font.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8427.length)].join('')));
+
+}
+});
+
+quil.core.create_font.cljs$core$IFn$_invoke$arity$2 = (function (name,size){
+return quil.sketch.current_applet.call(null).createFont([cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)].join(''),size);
+});
+
+quil.core.create_font.cljs$core$IFn$_invoke$arity$3 = (function (name,size,smooth){
+return quil.sketch.current_applet.call(null).createFont([cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)].join(''),size,smooth);
+});
+
+quil.core.create_font.cljs$core$IFn$_invoke$arity$4 = (function (name,size,smooth,charset){
+return quil.sketch.current_applet.call(null).createFont([cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)].join(''),size,smooth,charset);
+});
+
+quil.core.create_font.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Creates and returns a new PGraphics object of the types :p2d, :p3d,
+ * :java2d, :pdf. By default :java2d is used. Use this class if you
+ * need to draw into an off-screen graphics buffer. It's not possible
+ * to use create-graphics with the :opengl renderer, because it doesn't
+ * allow offscreen use. The :pdf renderer requires the filename parameter.
+ *
+ * Note: don't use create-graphics in draw in clojurescript, it leaks memory.
+ * You should create graphic in setup and reuse it in draw instead of creating
+ * a new one.
+ *
+ * It's important to call any drawing commands between (.beginDraw graphics) and
+ * (.endDraw graphics) statements or use with-graphics macro. This is also true
+ * for any commands that affect drawing, such as smooth or color-mode.
+ *
+ * If you're using :pdf renderer - don't forget to call (.dispose graphics)
+ * as last command inside with-graphics macro, otherwise graphics won't be
+ * saved.
+ *
+ * Unlike the main drawing surface which is completely opaque, surfaces
+ * created with create-graphics can have transparency. This makes it
+ * possible to draw into a graphics and maintain the alpha channel. By
+ * using save to write a PNG or TGA file, the transparency of the
+ * graphics object will be honored.
+ */
+quil.core.create_graphics = (function quil$core$create_graphics(var_args){
+var args8434 = [];
+var len__7927__auto___8437 = arguments.length;
+var i__7928__auto___8438 = (0);
+while(true){
+if((i__7928__auto___8438 < len__7927__auto___8437)){
+args8434.push((arguments[i__7928__auto___8438]));
+
+var G__8439 = (i__7928__auto___8438 + (1));
+i__7928__auto___8438 = G__8439;
+continue;
+} else {
+}
+break;
+}
+
+var G__8436 = args8434.length;
+switch (G__8436) {
+case 2:
+return quil.core.create_graphics.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.create_graphics.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.create_graphics.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8434.length)].join('')));
+
+}
+});
+
+quil.core.create_graphics.cljs$core$IFn$_invoke$arity$2 = (function (w,h){
+return quil.sketch.current_applet.call(null).createGraphics((w | (0)),(h | (0)),new cljs.core.Keyword(null,"p2d","p2d",-2106175755));
+});
+
+quil.core.create_graphics.cljs$core$IFn$_invoke$arity$3 = (function (w,h,renderer){
+return quil.sketch.current_applet.call(null).createGraphics((w | (0)),(h | (0)),quil.sketch.resolve_renderer.call(null,renderer));
+});
+
+quil.core.create_graphics.cljs$core$IFn$_invoke$arity$4 = (function (w,h,renderer,path){
+return quil.sketch.current_applet.call(null).createGraphics((w | (0)),(h | (0)),quil.sketch.resolve_renderer.call(null,renderer),path);
+});
+
+quil.core.create_graphics.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Creates a new PImage (the datatype for storing images). This
+ * provides a fresh buffer of pixels to play with. Set the size of the
+ * buffer with the width and height parameters. The format parameter
+ * defines how the pixels are stored. See the PImage reference for more
+ * information.
+ *
+ * Possible formats: :rgb, :argb, :alpha (grayscale alpha channel)
+ *
+ * Prefer using create-image over initialising new PImage instances
+ * directly.
+ */
+quil.core.create_image = (function quil$core$create_image(w,h,format){
+var format__$1 = quil.util.resolve_constant_key.call(null,format,quil.core.image_formats);
+return quil.sketch.current_applet.call(null).createImage((w | (0)),(h | (0)),(format__$1 | (0)));
+});
+/**
+ * Return the current fill color.
+ */
+quil.core.current_fill = (function quil$core$current_fill(){
+return quil.core.current_graphics.call(null).fillColor;
+});
+/**
+ * Return the current stroke color.
+ */
+quil.core.current_stroke = (function quil$core$current_stroke(){
+return quil.core.current_graphics.call(null).strokeColor;
+});
+/**
+ * Sets the cursor to a predefined symbol or makes it
+ * visible if already hidden (after no-cursor was called).
+ *
+ * Available modes: :arrow, :cross, :hand, :move, :text, :wait
+ *
+ * See cursor-image for specifying a generic image as the cursor
+ * symbol.
+ */
+quil.core.cursor = (function quil$core$cursor(var_args){
+var args8441 = [];
+var len__7927__auto___8444 = arguments.length;
+var i__7928__auto___8445 = (0);
+while(true){
+if((i__7928__auto___8445 < len__7927__auto___8444)){
+args8441.push((arguments[i__7928__auto___8445]));
+
+var G__8446 = (i__7928__auto___8445 + (1));
+i__7928__auto___8445 = G__8446;
+continue;
+} else {
+}
+break;
+}
+
+var G__8443 = args8441.length;
+switch (G__8443) {
+case 0:
+return quil.core.cursor.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 1:
+return quil.core.cursor.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8441.length)].join('')));
+
+}
+});
+
+quil.core.cursor.cljs$core$IFn$_invoke$arity$0 = (function (){
+return quil.sketch.current_applet.call(null).cursor();
+});
+
+quil.core.cursor.cljs$core$IFn$_invoke$arity$1 = (function (cursor_mode){
+var cursor_mode__$1 = quil.util.resolve_constant_key.call(null,cursor_mode,quil.core.cursor_modes);
+return quil.sketch.current_applet.call(null).cursor([cljs.core.str.cljs$core$IFn$_invoke$arity$1(cursor_mode__$1)].join(''));
+});
+
+quil.core.cursor.cljs$lang$maxFixedArity = 1;
+
+/**
+ * Set the cursor to a predefined image. The horizontal and vertical
+ * active spots of the cursor may be specified with hx and hy.
+ * It is recommended to make the size 16x16 or 32x32 pixels.
+ */
+quil.core.cursor_image = (function quil$core$cursor_image(var_args){
+var args8448 = [];
+var len__7927__auto___8451 = arguments.length;
+var i__7928__auto___8452 = (0);
+while(true){
+if((i__7928__auto___8452 < len__7927__auto___8451)){
+args8448.push((arguments[i__7928__auto___8452]));
+
+var G__8453 = (i__7928__auto___8452 + (1));
+i__7928__auto___8452 = G__8453;
+continue;
+} else {
+}
+break;
+}
+
+var G__8450 = args8448.length;
+switch (G__8450) {
+case 1:
+return quil.core.cursor_image.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 3:
+return quil.core.cursor_image.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8448.length)].join('')));
+
+}
+});
+
+quil.core.cursor_image.cljs$core$IFn$_invoke$arity$1 = (function (img){
+return quil.sketch.current_applet.call(null).cursor(img);
+});
+
+quil.core.cursor_image.cljs$core$IFn$_invoke$arity$3 = (function (img,hx,hy){
+return quil.sketch.current_applet.call(null).cursor(img,(hx | (0)),(hy | (0)));
+});
+
+quil.core.cursor_image.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Draws a curved line on the screen. The first and second parameters
+ * specify the beginning control point and the last two parameters
+ * specify the ending control point. The middle parameters specify the
+ * start and stop of the curve. Longer curves can be created by putting
+ * a series of curve fns together or using curve-vertex. An additional
+ * fn called curve-tightness provides control for the visual quality of
+ * the curve. The curve fn is an implementation of Catmull-Rom
+ * splines.
+ */
+quil.core.curve = (function quil$core$curve(var_args){
+var args8455 = [];
+var len__7927__auto___8458 = arguments.length;
+var i__7928__auto___8459 = (0);
+while(true){
+if((i__7928__auto___8459 < len__7927__auto___8458)){
+args8455.push((arguments[i__7928__auto___8459]));
+
+var G__8460 = (i__7928__auto___8459 + (1));
+i__7928__auto___8459 = G__8460;
+continue;
+} else {
+}
+break;
+}
+
+var G__8457 = args8455.length;
+switch (G__8457) {
+case 8:
+return quil.core.curve.cljs$core$IFn$_invoke$arity$8((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]));
+
+break;
+case 12:
+return quil.core.curve.cljs$core$IFn$_invoke$arity$12((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8455.length)].join('')));
+
+}
+});
+
+quil.core.curve.cljs$core$IFn$_invoke$arity$8 = (function (x1,y1,x2,y2,x3,y3,x4,y4){
+return quil.core.current_graphics.call(null).curve(x1,y1,x2,y2,x3,y3,x4,y4);
+});
+
+quil.core.curve.cljs$core$IFn$_invoke$arity$12 = (function (x1,y1,z1,x2,y2,z2,x3,y3,z3,x4,y4,z4){
+return quil.core.current_graphics.call(null).curve(x1,y1,z1,x2,y2,z2,x3,y3,z3,x4,y4,z4);
+});
+
+quil.core.curve.cljs$lang$maxFixedArity = 12;
+
+/**
+ * Sets the resolution at which curves display. The default value is
+ * 20. This function is only useful when using the :p3d or :opengl
+ * renderer as the default (:java2d) renderer does not use this
+ * information.
+ */
+quil.core.curve_detail = (function quil$core$curve_detail(detail){
+return quil.core.current_graphics.call(null).curveDetail((detail | (0)));
+});
+/**
+ * Evalutes the curve at point t for points a, b, c, d. The parameter
+ * t varies between 0 and 1, a and d are points on the curve, and b c
+ * and are the control points. This can be done once with the x
+ * coordinates and a second time with the y coordinates to get the
+ * location of a curve at t.
+ */
+quil.core.curve_point = (function quil$core$curve_point(a,b,c,d,t){
+return quil.core.current_graphics.call(null).curvePoint(a,b,c,d,t);
+});
+/**
+ * Calculates the tangent of a point on a curve.
+ * See: http://en.wikipedia.org/wiki/Tangent
+ */
+quil.core.curve_tangent = (function quil$core$curve_tangent(a,b,c,d,t){
+return quil.core.current_graphics.call(null).curveTangent(a,b,c,d,t);
+});
+/**
+ * Modifies the quality of forms created with curve and
+ * curve-vertex. The parameter squishy determines how the curve fits
+ * to the vertex points. The value 0.0 is the default value for
+ * squishy (this value defines the curves to be Catmull-Rom splines)
+ * and the value 1.0 connects all the points with straight
+ * lines. Values within the range -5.0 and 5.0 will deform the curves
+ * but will leave them recognizable and as values increase in
+ * magnitude, they will continue to deform.
+ */
+quil.core.curve_tightness = (function quil$core$curve_tightness(ti){
+return quil.core.current_graphics.call(null).curveTightness(ti);
+});
+/**
+ * Specifies vertex coordinates for curves. This function may only be
+ * used between begin-shape and end-shape and only when there is no
+ * mode keyword specified to begin-shape. The first and last points in a
+ * series of curve-vertex lines will be used to guide the beginning and
+ * end of a the curve. A minimum of four points is required to draw a
+ * tiny curve between the second and third points. Adding a fifth point
+ * with curve-vertex will draw the curve between the second, third, and
+ * fourth points. The curve-vertex function is an implementation of
+ * Catmull-Rom splines.
+ */
+quil.core.curve_vertex = (function quil$core$curve_vertex(var_args){
+var args8462 = [];
+var len__7927__auto___8465 = arguments.length;
+var i__7928__auto___8466 = (0);
+while(true){
+if((i__7928__auto___8466 < len__7927__auto___8465)){
+args8462.push((arguments[i__7928__auto___8466]));
+
+var G__8467 = (i__7928__auto___8466 + (1));
+i__7928__auto___8466 = G__8467;
+continue;
+} else {
+}
+break;
+}
+
+var G__8464 = args8462.length;
+switch (G__8464) {
+case 2:
+return quil.core.curve_vertex.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.curve_vertex.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8462.length)].join('')));
+
+}
+});
+
+quil.core.curve_vertex.cljs$core$IFn$_invoke$arity$2 = (function (x,y){
+return quil.core.current_graphics.call(null).curveVertex(x,y);
+});
+
+quil.core.curve_vertex.cljs$core$IFn$_invoke$arity$3 = (function (x,y,z){
+return quil.core.current_graphics.call(null).curveVertex(x,y,z);
+});
+
+quil.core.curve_vertex.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Get the current day of the month (1 through 31).
+ */
+quil.core.day = (function quil$core$day(){
+return quil.sketch.current_applet.call(null).day();
+});
+/**
+ * Converts a radian measurement to its corresponding value in
+ * degrees. Radians and degrees are two ways of measuring the same
+ * thing. There are 360 degrees in a circle and (* 2 Math/PI) radians
+ * in a circle. For example, (= 90° (/ Math/PI 2) 1.5707964). All
+ * trigonometric methods in Processing require their parameters to be
+ * specified in radians.
+ */
+quil.core.degrees = (function quil$core$degrees(radians){
+return quil.sketch.current_applet.call(null).degrees(radians);
+});
+/**
+ * Forces the program to stop running for a specified time. Delay
+ * times are specified in thousandths of a second, therefore the
+ * function call (delay 3000) will stop the program for three
+ * seconds. Because the screen is updated only at the end of draw,
+ * the program may appear to 'freeze', because the screen will not
+ * update when the delay fn is used. This function has no affect
+ * inside setup.
+ */
+quil.core.delay_frame = (function quil$core$delay_frame(freeze_ms){
+return quil.sketch.current_applet.call(null).delay((freeze_ms | (0)));
+});
+/**
+ * Adds a directional light. Directional light comes from one
+ * direction and is stronger when hitting a surface squarely and weaker
+ * if it hits at a gentle angle. After hitting a surface, a
+ * directional lights scatters in all directions. Lights need to be
+ * included in the draw fn to remain persistent in a looping
+ * program. Placing them in the setup fn of a looping program will cause
+ * them to only have an effect the first time through the loop. The
+ * affect of the r, g, and b parameters is determined by the current
+ * color mode. The nx, ny, and nz parameters specify the direction the
+ * light is facing. For example, setting ny to -1 will cause the
+ * geometry to be lit from below (the light is facing directly upward)
+ */
+quil.core.directional_light = (function quil$core$directional_light(r,g,b,nx,ny,nz){
+return quil.core.current_graphics.call(null).directionalLight(r,g,b,nx,ny,nz);
+});
+/**
+ * Calculates the distance between two points
+ */
+quil.core.dist = (function quil$core$dist(var_args){
+var args8469 = [];
+var len__7927__auto___8472 = arguments.length;
+var i__7928__auto___8473 = (0);
+while(true){
+if((i__7928__auto___8473 < len__7927__auto___8472)){
+args8469.push((arguments[i__7928__auto___8473]));
+
+var G__8474 = (i__7928__auto___8473 + (1));
+i__7928__auto___8473 = G__8474;
+continue;
+} else {
+}
+break;
+}
+
+var G__8471 = args8469.length;
+switch (G__8471) {
+case 4:
+return quil.core.dist.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+case 6:
+return quil.core.dist.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8469.length)].join('')));
+
+}
+});
+
+quil.core.dist.cljs$core$IFn$_invoke$arity$4 = (function (x1,y1,x2,y2){
+return quil.sketch.current_applet.call(null).dist(x1,y1,x2,y2);
+});
+
+quil.core.dist.cljs$core$IFn$_invoke$arity$6 = (function (x1,y1,z1,x2,y2,z2){
+return quil.sketch.current_applet.call(null).dist(x1,y1,z1,x2,y2,z2);
+});
+
+quil.core.dist.cljs$lang$maxFixedArity = 6;
+
+/**
+ * Macro for drawing on graphics which saves result in the file at the end.
+ * Similar to 'with-graphics' macro. do-record assumed to be used with :pdf
+ * graphics. Example:
+ *
+ * (q/do-record (q/create-graphics 200 200 :pdf "output.pdf")
+ * (q/fill 250 0 0)
+ * (q/ellipse 100 100 150 150))
+ *
+ */
+quil.core.do_record = (function quil$core$do_record(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8481 = arguments.length;
+var i__7928__auto___8482 = (0);
+while(true){
+if((i__7928__auto___8482 < len__7927__auto___8481)){
+args__7934__auto__.push((arguments[i__7928__auto___8482]));
+
+var G__8483 = (i__7928__auto___8482 + (1));
+i__7928__auto___8482 = G__8483;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((3) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((3)),(0),null)):null);
+return quil.core.do_record.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7935__auto__);
+});
+
+quil.core.do_record.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,graphics,body){
+return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","let","cljs.core/let",-308701135,null)),(function (){var x__7656__auto__ = cljs.core.vec.call(null,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"gr__8476__auto__","gr__8476__auto__",1999766593,null)),(function (){var x__7656__auto__ = graphics;
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})()))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","with-graphics","quil.core/with-graphics",481277883,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"gr__8476__auto__","gr__8476__auto__",1999766593,null)),body)));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,".dispose",".dispose",-1697594101,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"gr__8476__auto__","gr__8476__auto__",1999766593,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+});
+
+quil.core.do_record.cljs$lang$maxFixedArity = (3);
+
+quil.core.do_record.cljs$lang$applyTo = (function (seq8477){
+var G__8478 = cljs.core.first.call(null,seq8477);
+var seq8477__$1 = cljs.core.next.call(null,seq8477);
+var G__8479 = cljs.core.first.call(null,seq8477__$1);
+var seq8477__$2 = cljs.core.next.call(null,seq8477__$1);
+var G__8480 = cljs.core.first.call(null,seq8477__$2);
+var seq8477__$3 = cljs.core.next.call(null,seq8477__$2);
+return quil.core.do_record.cljs$core$IFn$_invoke$arity$variadic(G__8478,G__8479,G__8480,seq8477__$3);
+});
+
+
+quil.core.do_record.cljs$lang$macro = true;
+/**
+ * Draws an ellipse (oval) in the display window. An ellipse with an
+ * equal width and height is a circle. The origin may be changed with
+ * the ellipse-mode function
+ */
+quil.core.ellipse = (function quil$core$ellipse(x,y,width,height){
+return quil.core.current_graphics.call(null).ellipse(x,y,width,height);
+});
+/**
+ * Modifies the origin of the ellispse according to the specified mode:
+ *
+ * :center - specifies the location of the ellipse as
+ * the center of the shape. (Default).
+ * :radius - similar to center, but the width and height parameters to
+ * ellipse specify the radius of the ellipse, rather than the
+ * diameter.
+ * :corner - draws the shape from the upper-left corner of its bounding
+ * box.
+ * :corners - uses the four parameters to ellipse to set two opposing
+ * corners of the ellipse's bounding box.
+ */
+quil.core.ellipse_mode = (function quil$core$ellipse_mode(mode){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.ellipse_modes);
+return quil.core.current_graphics.call(null).ellipseMode((mode__$1 | (0)));
+});
+/**
+ * Sets the emissive color of the material used for drawing shapes
+ * drawn to the screen. Used in combination with ambient, specular, and
+ * shininess in setting the material properties of shapes. Converts all
+ * args to floats
+ */
+quil.core.emissive_float = (function quil$core$emissive_float(var_args){
+var args8484 = [];
+var len__7927__auto___8487 = arguments.length;
+var i__7928__auto___8488 = (0);
+while(true){
+if((i__7928__auto___8488 < len__7927__auto___8487)){
+args8484.push((arguments[i__7928__auto___8488]));
+
+var G__8489 = (i__7928__auto___8488 + (1));
+i__7928__auto___8488 = G__8489;
+continue;
+} else {
+}
+break;
+}
+
+var G__8486 = args8484.length;
+switch (G__8486) {
+case 1:
+return quil.core.emissive_float.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 3:
+return quil.core.emissive_float.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8484.length)].join('')));
+
+}
+});
+
+quil.core.emissive_float.cljs$core$IFn$_invoke$arity$1 = (function (float_val){
+return quil.core.current_graphics.call(null).emissive(float_val);
+});
+
+quil.core.emissive_float.cljs$core$IFn$_invoke$arity$3 = (function (r,g,b){
+return quil.core.current_graphics.call(null).emissive(r,g,b);
+});
+
+quil.core.emissive_float.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Sets the emissive color of the material used for drawing shapes
+ * drawn to the screen. Used in combination with ambient, specular, and
+ * shininess in setting the material properties of shapes. Converts all
+ * args to ints
+ */
+quil.core.emissive_int = (function quil$core$emissive_int(int_val){
+return quil.core.current_graphics.call(null).emissive((int_val | (0)));
+});
+/**
+ * Sets the emissive color of the material used for drawing shapes
+ * drawn to the screen. Used in combination with ambient, specular, and
+ * shininess in setting the material properties of shapes.
+ *
+ * If passed one arg - it is assumed to be an int (i.e. a color),
+ * multiple args are converted to floats.
+ */
+quil.core.emissive = (function quil$core$emissive(var_args){
+var args8491 = [];
+var len__7927__auto___8494 = arguments.length;
+var i__7928__auto___8495 = (0);
+while(true){
+if((i__7928__auto___8495 < len__7927__auto___8494)){
+args8491.push((arguments[i__7928__auto___8495]));
+
+var G__8496 = (i__7928__auto___8495 + (1));
+i__7928__auto___8495 = G__8496;
+continue;
+} else {
+}
+break;
+}
+
+var G__8493 = args8491.length;
+switch (G__8493) {
+case 1:
+return quil.core.emissive.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 3:
+return quil.core.emissive.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8491.length)].join('')));
+
+}
+});
+
+quil.core.emissive.cljs$core$IFn$_invoke$arity$1 = (function (c){
+return quil.core.emissive_float.call(null,c);
+});
+
+quil.core.emissive.cljs$core$IFn$_invoke$arity$3 = (function (r,g,b){
+return quil.core.emissive_float.call(null,r,g,b);
+});
+
+quil.core.emissive.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Unsets the matrix mode from the camera matrix. See begin-camera.
+ */
+quil.core.end_camera = (function quil$core$end_camera(){
+return quil.core.current_graphics.call(null).endCamera();
+});
+/**
+ * Use the begin-contour and end-contour function to create negative
+ * shapes within shapes. These functions can only be within a
+ * begin-shape/end-shape pair and they only work with the :p2d and :p3d
+ * renderers.
+ */
+quil.core.end_contour = (function quil$core$end_contour(){
+return quil.core.current_graphics.call(null).endContour();
+});
+/**
+ * Complement to begin-raw; they must always be used together. See
+ * the begin-raw docstring for details.
+ */
+quil.core.end_raw = (function quil$core$end_raw(){
+return quil.core.current_graphics.call(null).endRaw();
+});
+/**
+ * May only be called after begin-shape. When end-shape is called,
+ * all of image data defined since the previous call to begin-shape is
+ * written into the image buffer. The keyword :close may be passed to
+ * close the shape (to connect the beginning and the end).
+ */
+quil.core.end_shape = (function quil$core$end_shape(var_args){
+var args8498 = [];
+var len__7927__auto___8501 = arguments.length;
+var i__7928__auto___8502 = (0);
+while(true){
+if((i__7928__auto___8502 < len__7927__auto___8501)){
+args8498.push((arguments[i__7928__auto___8502]));
+
+var G__8503 = (i__7928__auto___8502 + (1));
+i__7928__auto___8502 = G__8503;
+continue;
+} else {
+}
+break;
+}
+
+var G__8500 = args8498.length;
+switch (G__8500) {
+case 0:
+return quil.core.end_shape.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 1:
+return quil.core.end_shape.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8498.length)].join('')));
+
+}
+});
+
+quil.core.end_shape.cljs$core$IFn$_invoke$arity$0 = (function (){
+return quil.core.current_graphics.call(null).endShape();
+});
+
+quil.core.end_shape.cljs$core$IFn$_invoke$arity$1 = (function (mode){
+if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"close","close",1835149582),mode)){
+} else {
+}
+
+return quil.core.current_graphics.call(null).endShape((2));
+});
+
+quil.core.end_shape.cljs$lang$maxFixedArity = 1;
+
+/**
+ * Quits/stops/exits the program. Rather than terminating
+ * immediately, exit will cause the sketch to exit after draw has
+ * completed (or after setup completes if called during the setup
+ * method).
+ */
+quil.core.exit = (function quil$core$exit(){
+return quil.sketch.current_applet.call(null).exit();
+});
+/**
+ * Returns Euler's number e (2.71828...) raised to the power of the
+ * value parameter.
+ */
+quil.core.exp = (function quil$core$exp(val){
+return quil.sketch.current_applet.call(null).exp(val);
+});
+/**
+ * Sets custom property on graphcs object indicating that it has
+ * fill color.
+ */
+quil.core.clear_no_fill_cljs = (function quil$core$clear_no_fill_cljs(graphics){
+return (graphics[quil.core.no_fill_prop] = false);
+});
+/**
+ * Sets the color used to fill shapes. For example, (fill 204 102 0),
+ * will specify that all subsequent shapes will be filled with orange.
+ */
+quil.core.fill_float = (function quil$core$fill_float(var_args){
+var args8505 = [];
+var len__7927__auto___8508 = arguments.length;
+var i__7928__auto___8509 = (0);
+while(true){
+if((i__7928__auto___8509 < len__7927__auto___8508)){
+args8505.push((arguments[i__7928__auto___8509]));
+
+var G__8510 = (i__7928__auto___8509 + (1));
+i__7928__auto___8509 = G__8510;
+continue;
+} else {
+}
+break;
+}
+
+var G__8507 = args8505.length;
+switch (G__8507) {
+case 1:
+return quil.core.fill_float.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.fill_float.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.fill_float.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.fill_float.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8505.length)].join('')));
+
+}
+});
+
+quil.core.fill_float.cljs$core$IFn$_invoke$arity$1 = (function (gray){
+quil.core.current_graphics.call(null).fill(gray);
+
+return quil.core.clear_no_fill_cljs.call(null,quil.core.current_graphics.call(null));
+});
+
+quil.core.fill_float.cljs$core$IFn$_invoke$arity$2 = (function (gray,alpha){
+quil.core.current_graphics.call(null).fill(gray,alpha);
+
+return quil.core.clear_no_fill_cljs.call(null,quil.core.current_graphics.call(null));
+});
+
+quil.core.fill_float.cljs$core$IFn$_invoke$arity$3 = (function (r,g,b){
+quil.core.current_graphics.call(null).fill(r,g,b);
+
+return quil.core.clear_no_fill_cljs.call(null,quil.core.current_graphics.call(null));
+});
+
+quil.core.fill_float.cljs$core$IFn$_invoke$arity$4 = (function (r,g,b,alpha){
+quil.core.current_graphics.call(null).fill(r,g,b,alpha);
+
+return quil.core.clear_no_fill_cljs.call(null,quil.core.current_graphics.call(null));
+});
+
+quil.core.fill_float.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Sets the color used to fill shapes.
+ */
+quil.core.fill_int = (function quil$core$fill_int(var_args){
+var args8512 = [];
+var len__7927__auto___8515 = arguments.length;
+var i__7928__auto___8516 = (0);
+while(true){
+if((i__7928__auto___8516 < len__7927__auto___8515)){
+args8512.push((arguments[i__7928__auto___8516]));
+
+var G__8517 = (i__7928__auto___8516 + (1));
+i__7928__auto___8516 = G__8517;
+continue;
+} else {
+}
+break;
+}
+
+var G__8514 = args8512.length;
+switch (G__8514) {
+case 1:
+return quil.core.fill_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.fill_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8512.length)].join('')));
+
+}
+});
+
+quil.core.fill_int.cljs$core$IFn$_invoke$arity$1 = (function (rgb){
+quil.core.current_graphics.call(null).fill(cljs.core.unchecked_int.call(null,rgb));
+
+return quil.core.clear_no_fill_cljs.call(null,quil.core.current_graphics.call(null));
+});
+
+quil.core.fill_int.cljs$core$IFn$_invoke$arity$2 = (function (rgb,alpha){
+quil.core.current_graphics.call(null).fill(cljs.core.unchecked_int.call(null,rgb),alpha);
+
+return quil.core.clear_no_fill_cljs.call(null,quil.core.current_graphics.call(null));
+});
+
+quil.core.fill_int.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Sets the color used to fill shapes.
+ */
+quil.core.fill = (function quil$core$fill(var_args){
+var args8519 = [];
+var len__7927__auto___8522 = arguments.length;
+var i__7928__auto___8523 = (0);
+while(true){
+if((i__7928__auto___8523 < len__7927__auto___8522)){
+args8519.push((arguments[i__7928__auto___8523]));
+
+var G__8524 = (i__7928__auto___8523 + (1));
+i__7928__auto___8523 = G__8524;
+continue;
+} else {
+}
+break;
+}
+
+var G__8521 = args8519.length;
+switch (G__8521) {
+case 1:
+return quil.core.fill.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.fill.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.fill.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.fill.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8519.length)].join('')));
+
+}
+});
+
+quil.core.fill.cljs$core$IFn$_invoke$arity$1 = (function (rgb){
+return quil.core.fill_float.call(null,rgb);
+});
+
+quil.core.fill.cljs$core$IFn$_invoke$arity$2 = (function (rgb,alpha){
+return quil.core.fill_float.call(null,rgb,alpha);
+});
+
+quil.core.fill.cljs$core$IFn$_invoke$arity$3 = (function (r,g,b){
+return quil.core.fill_float.call(null,r,g,b);
+});
+
+quil.core.fill.cljs$core$IFn$_invoke$arity$4 = (function (r,g,b,a){
+return quil.core.fill_float.call(null,r,g,b,a);
+});
+
+quil.core.fill.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Originally named filter in Processing Language.
+ * Filters the display window with the specified mode and level.
+ * Level defines the quality of the filter and mode may be one of the
+ * following keywords:
+ *
+ * :threshold - converts the image to black and white pixels depending
+ * if they are above or below the threshold defined by
+ * the level parameter. The level must be between
+ * 0.0 (black) and 1.0 (white). If no level is specified,
+ * 0.5 is used.
+ * :gray - converts any colors in the image to grayscale
+ * equivalents. Doesn't work with level.
+ * :invert - sets each pixel to its inverse value. Doesn't work with
+ * level.
+ * :posterize - limits each channel of the image to the number of
+ * colors specified as the level parameter. The parameter can
+ * be set to values between 2 and 255, but results are most
+ * noticeable in the lower ranges.
+ * :blur - executes a Guassian blur with the level parameter
+ * specifying the extent of the blurring. If no level
+ * parameter is used, the blur is equivalent to Guassian
+ * blur of radius 1.
+ * :opaque - sets the alpha channel to entirely opaque. Doesn't work
+ * with level.
+ * :erode - reduces the light areas. Doesn't work with level.
+ * :dilate - increases the light areas. Doesn't work with level.
+ */
+quil.core.display_filter = (function quil$core$display_filter(var_args){
+var args8526 = [];
+var len__7927__auto___8529 = arguments.length;
+var i__7928__auto___8530 = (0);
+while(true){
+if((i__7928__auto___8530 < len__7927__auto___8529)){
+args8526.push((arguments[i__7928__auto___8530]));
+
+var G__8531 = (i__7928__auto___8530 + (1));
+i__7928__auto___8530 = G__8531;
+continue;
+} else {
+}
+break;
+}
+
+var G__8528 = args8526.length;
+switch (G__8528) {
+case 1:
+return quil.core.display_filter.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.display_filter.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8526.length)].join('')));
+
+}
+});
+
+quil.core.display_filter.cljs$core$IFn$_invoke$arity$1 = (function (mode){
+return quil.core.current_graphics.call(null).filter((quil.util.resolve_constant_key.call(null,mode,quil.core.filter_modes) | (0)));
+});
+
+quil.core.display_filter.cljs$core$IFn$_invoke$arity$2 = (function (mode,level){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.filter_modes);
+return quil.core.current_graphics.call(null).filter((mode__$1 | (0)),level);
+});
+
+quil.core.display_filter.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Calculates the closest int value that is less than or equal to the
+ * value of the parameter. For example, (floor 9.03) returns the value 9.
+ */
+quil.core.floor = (function quil$core$floor(n){
+return quil.sketch.current_applet.call(null).floor(n);
+});
+/**
+ * Returns a boolean value representing whether the applet has focus.
+ */
+quil.core.focused = (function quil$core$focused(){
+return quil.sketch.current_applet.call(null).focused;
+});
+/**
+ * The system variable frameCount contains the number of frames
+ * displayed since the program started. Inside setup() the value is 0
+ * and after the first iteration of draw it is 1, etc.
+ */
+quil.core.frame_count = (function quil$core$frame_count(){
+return quil.sketch.current_applet.call(null).frameCount;
+});
+/**
+ * Returns the current framerate
+ */
+quil.core.current_frame_rate = (function quil$core$current_frame_rate(){
+return quil.sketch.current_applet.call(null).__frameRate;
+});
+/**
+ * Specifies a new target framerate (number of frames to be displayed every
+ * second). If the processor is not fast enough to maintain the
+ * specified rate, it will not be achieved. For example, the function
+ * call (frame-rate 30) will attempt to refresh 30 times a second. It
+ * is recommended to set the frame rate within setup. The default rate
+ * is 60 frames per second.
+ */
+quil.core.frame_rate = (function quil$core$frame_rate(new_rate){
+cljs.core.reset_BANG_.call(null,quil.sketch.current_applet.call(null).target_frame_rate,new_rate);
+
+return quil.sketch.current_applet.call(null).frameRate(new_rate);
+});
+/**
+ * Sets a perspective matrix defined through the parameters. Works
+ * like glFrustum, except it wipes out the current perspective matrix
+ * rather than muliplying itself with it.
+ */
+quil.core.frustum = (function quil$core$frustum(left,right,bottom,top,near,far){
+return quil.core.current_graphics.call(null).frustum(left,right,bottom,top,near,far);
+});
+/**
+ * Reads the color of any pixel or grabs a section of an image. If no
+ * parameters are specified, a copy of entire image is returned. Get the
+ * value of one pixel by specifying an x,y coordinate. Get a section of
+ * the image by specifying an additional width and height parameter.
+ * If the pixel requested is outside of the image window, black is returned.
+ * The numbers returned are scaled according to the current color ranges,
+ * but only RGB values are returned by this function. For example, even though
+ * you may have drawn a shape with (color-mode :hsb), the numbers returned
+ * will be in RGB.
+ *
+ * Getting the color of a single pixel with (get x y) is easy, but not
+ * as fast as grabbing the data directly using the pixels fn.
+ *
+ * If no img specified - current-graphics is used.
+ */
+quil.core.get_pixel = (function quil$core$get_pixel(var_args){
+var args8533 = [];
+var len__7927__auto___8536 = arguments.length;
+var i__7928__auto___8537 = (0);
+while(true){
+if((i__7928__auto___8537 < len__7927__auto___8536)){
+args8533.push((arguments[i__7928__auto___8537]));
+
+var G__8538 = (i__7928__auto___8537 + (1));
+i__7928__auto___8537 = G__8538;
+continue;
+} else {
+}
+break;
+}
+
+var G__8535 = args8533.length;
+switch (G__8535) {
+case 0:
+return quil.core.get_pixel.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 1:
+return quil.core.get_pixel.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.get_pixel.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.get_pixel.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.get_pixel.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+case 5:
+return quil.core.get_pixel.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8533.length)].join('')));
+
+}
+});
+
+quil.core.get_pixel.cljs$core$IFn$_invoke$arity$0 = (function (){
+return quil.core.get_pixel.call(null,quil.core.current_graphics.call(null));
+});
+
+quil.core.get_pixel.cljs$core$IFn$_invoke$arity$1 = (function (img){
+return img.get();
+});
+
+quil.core.get_pixel.cljs$core$IFn$_invoke$arity$2 = (function (x,y){
+return quil.core.get_pixel.call(null,quil.core.current_graphics.call(null),x,y);
+});
+
+quil.core.get_pixel.cljs$core$IFn$_invoke$arity$3 = (function (img,x,y){
+return img.get((x | (0)),(y | (0)));
+});
+
+quil.core.get_pixel.cljs$core$IFn$_invoke$arity$4 = (function (x,y,w,h){
+return quil.core.get_pixel.call(null,quil.core.current_graphics.call(null),x,y,w,h);
+});
+
+quil.core.get_pixel.cljs$core$IFn$_invoke$arity$5 = (function (img,x,y,w,h){
+return img.get((x | (0)),(y | (0)),(w | (0)),(h | (0)));
+});
+
+quil.core.get_pixel.cljs$lang$maxFixedArity = 5;
+
+/**
+ * Extracts the green value from a color, scaled to match current
+ * color-mode. This value is always returned as a float so be careful
+ * not to assign it to an int value.
+ */
+quil.core.green = (function quil$core$green(col){
+return quil.core.current_graphics.call(null).green(cljs.core.unchecked_int.call(null,col));
+});
+/**
+ * Converts a byte, char, int, or color to a String containing the
+ * equivalent hexadecimal notation. For example color(0, 102, 153) will
+ * convert to the String "FF006699". This function can help make your
+ * geeky debugging sessions much happier.
+ */
+quil.core.hex = (function quil$core$hex(var_args){
+var args8540 = [];
+var len__7927__auto___8543 = arguments.length;
+var i__7928__auto___8544 = (0);
+while(true){
+if((i__7928__auto___8544 < len__7927__auto___8543)){
+args8540.push((arguments[i__7928__auto___8544]));
+
+var G__8545 = (i__7928__auto___8544 + (1));
+i__7928__auto___8544 = G__8545;
+continue;
+} else {
+}
+break;
+}
+
+var G__8542 = args8540.length;
+switch (G__8542) {
+case 1:
+return quil.core.hex.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.hex.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8540.length)].join('')));
+
+}
+});
+
+quil.core.hex.cljs$core$IFn$_invoke$arity$1 = (function (val){
+return quil.sketch.current_applet.call(null).hex(val);
+});
+
+quil.core.hex.cljs$core$IFn$_invoke$arity$2 = (function (val,num_digits){
+return quil.sketch.current_applet.call(null).hex(val,num_digits);
+});
+
+quil.core.hex.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Height of the display window. The value of height is zero until
+ * size is called.
+ */
+quil.core.height = (function quil$core$height(){
+return quil.sketch.current_applet.call(null).height;
+});
+/**
+ * Set various hints and hacks for the renderer. This is used to
+ * handle obscure rendering features that cannot be implemented in a
+ * consistent manner across renderers. Many options will often graduate
+ * to standard features instead of hints over time.
+ *
+ * Options:
+ *
+ * :enable-native-fonts - Use the native version fonts when they are
+ * installed, rather than the bitmapped version from a .vlw
+ * file. This is useful with the default (or JAVA2D) renderer
+ * setting, as it will improve font rendering speed. This is not
+ * enabled by default, because it can be misleading while testing
+ * because the type will look great on your machine (because you have
+ * the font installed) but lousy on others' machines if the identical
+ * font is unavailable. This option can only be set per-sketch, and
+ * must be called before any use of text-font.
+ *
+ * :disable-native-fonts - Disables native font support.
+ *
+ * :disable-depth-test - Disable the zbuffer, allowing you to draw on
+ * top of everything at will. When depth testing is disabled, items
+ * will be drawn to the screen sequentially, like a painting. This
+ * hint is most often used to draw in 3D, then draw in 2D on top of
+ * it (for instance, to draw GUI controls in 2D on top of a 3D
+ * interface). Starting in release 0149, this will also clear the
+ * depth buffer. Restore the default with :enable-depth-test
+ * but note that with the depth buffer cleared, any 3D drawing that
+ * happens later in draw will ignore existing shapes on the screen.
+ *
+ * :enable-depth-test - Enables the zbuffer.
+ *
+ * :enable-depth-sort - Enable primitive z-sorting of triangles and
+ * lines in :p3d and :opengl rendering modes. This can slow
+ * performance considerably, and the algorithm is not yet perfect.
+ *
+ * :disable-depth-sort - Disables hint :enable-depth-sort
+ *
+ * :disable-opengl-errors - Speeds up the OPENGL renderer setting
+ * by not checking for errors while running.
+ *
+ * :enable-opengl-errors - Turns on OpenGL error checking
+ *
+ * :enable-depth-mask
+ * :disable-depth-mask
+ *
+ * :enable-optimized-stroke
+ * :disable-optimized-stroke
+ * :enable-retina-pixels
+ * :disable-retina-pixels
+ * :enable-stroke-perspective
+ * :disable-stroke-perspective
+ * :enable-stroke-pure
+ * :disable-stroke-pure
+ * :enable-texture-mipmaps
+ * :disable-texture-mipmaps
+ */
+quil.core.hint = (function quil$core$hint(hint_type){
+var hint_type__$1 = (((hint_type instanceof cljs.core.Keyword))?cljs.core.get.call(null,quil.core.hint_options,hint_type):hint_type);
+return quil.core.current_graphics.call(null).hint((hint_type__$1 | (0)));
+});
+/**
+ * Returns the current hour as a value from 0 - 23.
+ */
+quil.core.hour = (function quil$core$hour(){
+return quil.sketch.current_applet.call(null).hour();
+});
+/**
+ * Extracts the hue value from a color.
+ */
+quil.core.hue = (function quil$core$hue(col){
+return quil.core.current_graphics.call(null).hue(cljs.core.unchecked_int.call(null,col));
+});
+/**
+ * Displays images to the screen. Processing currently works with GIF,
+ * JPEG, and Targa images. The color of an image may be modified with
+ * the tint function and if a GIF has transparency, it will maintain
+ * its transparency. The img parameter specifies the image to display
+ * and the x and y parameters define the location of the image from its
+ * upper-left corner. The image is displayed at its original size
+ * unless the width and height parameters specify a different size. The
+ * image-mode fn changes the way the parameters work. A call to
+ * (image-mode :corners) will change the width and height parameters to
+ * define the x and y values of the opposite corner of the image.
+ *
+ * Starting with release 0124, when using the default (JAVA2D)
+ * renderer, smooth will also improve image quality of resized
+ * images.
+ */
+quil.core.image = (function quil$core$image(var_args){
+var args8547 = [];
+var len__7927__auto___8550 = arguments.length;
+var i__7928__auto___8551 = (0);
+while(true){
+if((i__7928__auto___8551 < len__7927__auto___8550)){
+args8547.push((arguments[i__7928__auto___8551]));
+
+var G__8552 = (i__7928__auto___8551 + (1));
+i__7928__auto___8551 = G__8552;
+continue;
+} else {
+}
+break;
+}
+
+var G__8549 = args8547.length;
+switch (G__8549) {
+case 3:
+return quil.core.image.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 5:
+return quil.core.image.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8547.length)].join('')));
+
+}
+});
+
+quil.core.image.cljs$core$IFn$_invoke$arity$3 = (function (img,x,y){
+return quil.core.current_graphics.call(null).image(img,x,y);
+});
+
+quil.core.image.cljs$core$IFn$_invoke$arity$5 = (function (img,x,y,c,d){
+return quil.core.current_graphics.call(null).image(img,x,y,c,d);
+});
+
+quil.core.image.cljs$lang$maxFixedArity = 5;
+
+/**
+ * Originally named filter in Processing Language.
+ * Filters given image with the specified mode and level.
+ * Level defines the quality of the filter and mode may be one of
+ * the following keywords:
+ *
+ * :threshold - converts the image to black and white pixels depending
+ * if they are above or below the threshold defined by
+ * the level parameter. The level must be between
+ * 0.0 (black) and 1.0 (white). If no level is specified,
+ * 0.5 is used.
+ * :gray - converts any colors in the image to grayscale
+ * equivalents. Doesn't work with level.
+ * :invert - sets each pixel to its inverse value. Doesn't work with
+ * level.
+ * :posterize - limits each channel of the image to the number of
+ * colors specified as the level parameter. The parameter can
+ * be set to values between 2 and 255, but results are most
+ * noticeable in the lower ranges.
+ * :blur - executes a Guassian blur with the level parameter
+ * specifying the extent of the blurring. If no level
+ * parameter is used, the blur is equivalent to Guassian
+ * blur of radius 1.
+ * :opaque - sets the alpha channel to entirely opaque. Doesn't work
+ * with level.
+ * :erode - reduces the light areas. Doesn't work with level.
+ * :dilate - increases the light areas. Doesn't work with level.
+ */
+quil.core.image_filter = (function quil$core$image_filter(var_args){
+var args8554 = [];
+var len__7927__auto___8557 = arguments.length;
+var i__7928__auto___8558 = (0);
+while(true){
+if((i__7928__auto___8558 < len__7927__auto___8557)){
+args8554.push((arguments[i__7928__auto___8558]));
+
+var G__8559 = (i__7928__auto___8558 + (1));
+i__7928__auto___8558 = G__8559;
+continue;
+} else {
+}
+break;
+}
+
+var G__8556 = args8554.length;
+switch (G__8556) {
+case 2:
+return quil.core.image_filter.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.image_filter.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8554.length)].join('')));
+
+}
+});
+
+quil.core.image_filter.cljs$core$IFn$_invoke$arity$2 = (function (img,mode){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.filter_modes);
+return img.filter((mode__$1 | (0)));
+});
+
+quil.core.image_filter.cljs$core$IFn$_invoke$arity$3 = (function (img,mode,level){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.filter_modes);
+return img.filter((mode__$1 | (0)),level);
+});
+
+quil.core.image_filter.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Modifies the location from which images draw. The default mode is :corner.
+ * Available modes are:
+ *
+ * :corner - specifies the location to be the upper left corner and
+ * uses the fourth and fifth parameters of image to set the
+ * image's width and height.
+ *
+ * :corners - uses the second and third parameters of image to set the
+ * location of one corner of the image and uses the fourth
+ * and fifth parameters to set the opposite corner.
+ *
+ * :center - draw images centered at the given x and y position.
+ */
+quil.core.image_mode = (function quil$core$image_mode(mode){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.image_modes);
+return quil.core.current_graphics.call(null).imageMode((mode__$1 | (0)));
+});
+/**
+ * The variable keyCode is used to detect special keys such as the UP,
+ * DOWN, LEFT, RIGHT arrow keys and ALT, CONTROL, SHIFT. When checking
+ * for these keys, it's first necessary to check and see if the key is
+ * coded. This is done with the conditional (= (key) CODED).
+ *
+ * The keys included in the ASCII specification (BACKSPACE, TAB, ENTER,
+ * RETURN, ESC, and DELETE) do not require checking to see if they key
+ * is coded, and you should simply use the key variable instead of
+ * key-code If you're making cross-platform projects, note that the
+ * ENTER key is commonly used on PCs and Unix and the RETURN key is
+ * used instead on Macintosh. Check for both ENTER and RETURN to make
+ * sure your program will work for all platforms.
+ *
+ * For users familiar with Java, the values for UP and DOWN are simply
+ * shorter versions of Java's KeyEvent.VK_UP and
+ * KeyEvent.VK_DOWN. Other keyCode values can be found in the Java
+ * KeyEvent reference.
+ */
+quil.core.key_code = (function quil$core$key_code(){
+return quil.sketch.current_applet.call(null).keyCode;
+});
+/**
+ * true if any key is currently pressed, false otherwise.
+ */
+quil.core.key_pressed_QMARK_ = (function quil$core$key_pressed_QMARK_(){
+return quil.sketch.current_applet.call(null).__keyPressed;
+});
+/**
+ * Sets the falloff rates for point lights, spot lights, and ambient
+ * lights. The parameters are used to determine the falloff with the
+ * following equation:
+ *
+ * d = distance from light position to vertex position
+ * falloff = 1 / (CONSTANT + d * LINEAR + (d*d) * QUADRATIC)
+ *
+ * Like fill, it affects only the elements which are created after it
+ * in the code. The default value is (light-falloff 1.0 0.0 0.0).
+ * Thinking about an ambient light with a falloff can be tricky. It is
+ * used, for example, if you wanted a region of your scene to be lit
+ * ambiently one color and another region to be lit ambiently by
+ * another color, you would use an ambient light with location and
+ * falloff. You can think of it as a point light that doesn't care
+ * which direction a surface is facing.
+ */
+quil.core.light_falloff = (function quil$core$light_falloff(constant,linear,quadratic){
+return quil.core.current_graphics.call(null).lightFalloff(constant,linear,quadratic);
+});
+/**
+ * Calculates a color or colors between two color at a specific
+ * increment. The amt parameter is the amount to interpolate between
+ * the two values where 0.0 equal to the first point, 0.1 is very near
+ * the first point, 0.5 is half-way in between, etc.
+ */
+quil.core.lerp_color = (function quil$core$lerp_color(c1,c2,amt){
+return quil.core.current_graphics.call(null).lerpColor(cljs.core.unchecked_int.call(null,c1),cljs.core.unchecked_int.call(null,c2),amt);
+});
+/**
+ * Calculates a number between two numbers at a specific
+ * increment. The amt parameter is the amount to interpolate between
+ * the two values where 0.0 equal to the first point, 0.1 is very near
+ * the first point, 0.5 is half-way in between, etc. The lerp function
+ * is convenient for creating motion along a straight path and for
+ * drawing dotted lines.
+ */
+quil.core.lerp = (function quil$core$lerp(start,stop,amt){
+return quil.sketch.current_applet.call(null).lerp(start,stop,amt);
+});
+/**
+ * Sets the default ambient light, directional light, falloff, and
+ * specular values. The defaults are:
+ *
+ * (ambient-light 128 128 128)
+ * (directional-light 128 128 128 0 0 -1)
+ * (light-falloff 1 0 0)
+ * (light-specular 0 0 0).
+ *
+ * Lights need to be included in the draw to remain persistent in a
+ * looping program. Placing them in the setup of a looping program
+ * will cause them to only have an effect the first time through the
+ * loop.
+ */
+quil.core.lights = (function quil$core$lights(){
+return quil.core.current_graphics.call(null).lights();
+});
+/**
+ * Sets the specular color for lights. Like fill, it affects only the
+ * elements which are created after it in the code. Specular refers to
+ * light which bounces off a surface in a perferred direction (rather
+ * than bouncing in all directions like a diffuse light) and is used
+ * for creating highlights. The specular quality of a light interacts
+ * with the specular material qualities set through the specular and
+ * shininess functions.
+ */
+quil.core.light_specular = (function quil$core$light_specular(r,g,b){
+return quil.core.current_graphics.call(null).lightSpecular(r,g,b);
+});
+/**
+ * Draws a line (a direct path between two points) to the screen. The
+ * version of line with four parameters draws the line in 2D. To color
+ * a line, use the stroke function. A line cannot be filled, therefore
+ * the fill method will not affect the color of a line. 2D lines are
+ * drawn with a width of one pixel by default, but this can be changed
+ * with the stroke-weight function. The version with six parameters
+ * allows the line to be placed anywhere within XYZ space.
+ */
+quil.core.line = (function quil$core$line(var_args){
+var args8561 = [];
+var len__7927__auto___8564 = arguments.length;
+var i__7928__auto___8565 = (0);
+while(true){
+if((i__7928__auto___8565 < len__7927__auto___8564)){
+args8561.push((arguments[i__7928__auto___8565]));
+
+var G__8566 = (i__7928__auto___8565 + (1));
+i__7928__auto___8565 = G__8566;
+continue;
+} else {
+}
+break;
+}
+
+var G__8563 = args8561.length;
+switch (G__8563) {
+case 2:
+return quil.core.line.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 4:
+return quil.core.line.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+case 6:
+return quil.core.line.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8561.length)].join('')));
+
+}
+});
+
+quil.core.line.cljs$core$IFn$_invoke$arity$2 = (function (p1,p2){
+return cljs.core.apply.call(null,quil.core.line,cljs.core.concat.call(null,p1,p2));
+});
+
+quil.core.line.cljs$core$IFn$_invoke$arity$4 = (function (x1,y1,x2,y2){
+return quil.core.current_graphics.call(null).line(x1,y1,x2,y2);
+});
+
+quil.core.line.cljs$core$IFn$_invoke$arity$6 = (function (x1,y1,z1,x2,y2,z2){
+return quil.core.current_graphics.call(null).line(x1,y1,z1,x2,y2,z2);
+});
+
+quil.core.line.cljs$lang$maxFixedArity = 6;
+
+/**
+ * Loads a font into a variable of type PFont. To load correctly,
+ * fonts must be located in the data directory of the current sketch.
+ * To create a font to use with Processing use the create-font fn.
+ *
+ * Like load-image and other methods that load data, the load-font fn
+ * should not be used inside draw, because it will slow down the sketch
+ * considerably, as the font will be re-loaded from the disk (or
+ * network) on each frame.
+ *
+ * For most renderers, Processing displays fonts using the .vlw font
+ * format, which uses images for each letter, rather than defining them
+ * through vector data. When hint :enable-native-fonts is used with the
+ * JAVA2D renderer, the native version of a font will be used if it is
+ * installed on the user's machine.
+ *
+ * Using create-font (instead of load-font) enables vector data to be
+ * used with the JAVA2D (default) renderer setting. This can be helpful
+ * when many font sizes are needed, or when using any renderer based on
+ * JAVA2D, such as the PDF library.
+ */
+quil.core.load_font = (function quil$core$load_font(filename){
+return quil.sketch.current_applet.call(null).loadFont([cljs.core.str.cljs$core$IFn$_invoke$arity$1(filename)].join(''));
+});
+/**
+ * Loads an image into a variable of type PImage. Four types of
+ * images ( .gif, .jpg, .tga, .png) images may be loaded. To load
+ * correctly, images must be located in the data directory of the
+ * current sketch. In most cases, load all images in setup to preload
+ * them at the start of the program. Loading images inside draw will
+ * reduce the speed of a program.
+ *
+ * The filename parameter can also be a URL to a file found online.
+ *
+ * If an image is not loaded successfully, the null value is returned
+ * and an error message will be printed to the console. The error
+ * message does not halt the program, however the null value may cause
+ * a NullPointerException if your code does not check whether the value
+ * returned from load-image is nil.
+ *
+ * Depending on the type of error, a PImage object may still be
+ * returned, but the width and height of the image will be set to
+ * -1. This happens if bad image data is returned or cannot be decoded
+ * properly. Sometimes this happens with image URLs that produce a 403
+ * error or that redirect to a password prompt, because load-image
+ * will attempt to interpret the HTML as image data.
+ */
+quil.core.load_image = (function quil$core$load_image(filename){
+return quil.sketch.current_applet.call(null).loadImage([cljs.core.str.cljs$core$IFn$_invoke$arity$1(filename)].join(''));
+});
+/**
+ * Loads a shader into the PShader object. Shaders are compatible with the
+ * P2D and P3D renderers, but not with the default renderer.
+ */
+quil.core.load_shader = (function quil$core$load_shader(var_args){
+var args8568 = [];
+var len__7927__auto___8571 = arguments.length;
+var i__7928__auto___8572 = (0);
+while(true){
+if((i__7928__auto___8572 < len__7927__auto___8571)){
+args8568.push((arguments[i__7928__auto___8572]));
+
+var G__8573 = (i__7928__auto___8572 + (1));
+i__7928__auto___8572 = G__8573;
+continue;
+} else {
+}
+break;
+}
+
+var G__8570 = args8568.length;
+switch (G__8570) {
+case 1:
+return quil.core.load_shader.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.load_shader.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8568.length)].join('')));
+
+}
+});
+
+quil.core.load_shader.cljs$core$IFn$_invoke$arity$1 = (function (fragment_filename){
+return quil.core.current_graphics.call(null).loadShader(fragment_filename);
+});
+
+quil.core.load_shader.cljs$core$IFn$_invoke$arity$2 = (function (fragment_filename,vertex_filename){
+return quil.core.current_graphics.call(null).loadShader(fragment_filename,vertex_filename);
+});
+
+quil.core.load_shader.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Load a geometry from a file as a PShape.
+ */
+quil.core.load_shape = (function quil$core$load_shape(filename){
+return quil.sketch.current_applet.call(null).loadShape(filename);
+});
+/**
+ * Calculates the natural logarithm (the base-e logarithm) of a
+ * number. This function expects the values greater than 0.0.
+ */
+quil.core.log = (function quil$core$log(val){
+return quil.sketch.current_applet.call(null).log(val);
+});
+/**
+ * Calculates the magnitude (or length) of a vector. A vector is a
+ * direction in space commonly used in computer graphics and linear
+ * algebra. Because it has no start position, the magnitude of a vector
+ * can be thought of as the distance from coordinate (0,0) to its (x,y)
+ * value. Therefore, mag is a shortcut for writing (dist 0 0 x y).
+ */
+quil.core.mag = (function quil$core$mag(var_args){
+var args8575 = [];
+var len__7927__auto___8578 = arguments.length;
+var i__7928__auto___8579 = (0);
+while(true){
+if((i__7928__auto___8579 < len__7927__auto___8578)){
+args8575.push((arguments[i__7928__auto___8579]));
+
+var G__8580 = (i__7928__auto___8579 + (1));
+i__7928__auto___8579 = G__8580;
+continue;
+} else {
+}
+break;
+}
+
+var G__8577 = args8575.length;
+switch (G__8577) {
+case 2:
+return quil.core.mag.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.mag.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8575.length)].join('')));
+
+}
+});
+
+quil.core.mag.cljs$core$IFn$_invoke$arity$2 = (function (a,b){
+return quil.sketch.current_applet.call(null).mag(a,b);
+});
+
+quil.core.mag.cljs$core$IFn$_invoke$arity$3 = (function (a,b,c){
+return quil.sketch.current_applet.call(null).mag(a,b,c);
+});
+
+quil.core.mag.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Re-maps a number from one range to another.
+ *
+ * Numbers outside the range are not clamped to 0 and 1, because
+ * out-of-range values are often intentional and useful.
+ */
+quil.core.map_range = (function quil$core$map_range(val,low1,high1,low2,high2){
+return quil.sketch.current_applet.call(null).map(val,low1,high1,low2,high2);
+});
+/**
+ * Returns the number of milliseconds (thousandths of a second) since
+ * starting the sketch. This information is often used for timing
+ * animation sequences.
+ */
+quil.core.millis = (function quil$core$millis(){
+return quil.sketch.current_applet.call(null).millis();
+});
+/**
+ * Returns the current minute as a value from 0 - 59
+ */
+quil.core.minute = (function quil$core$minute(){
+return quil.sketch.current_applet.call(null).minute();
+});
+/**
+ * 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.
+ */
+quil.core.model_x = (function quil$core$model_x(x,y,z){
+return quil.core.current_graphics.call(null).modelX(x,y,z);
+});
+/**
+ * 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.
+ */
+quil.core.model_y = (function quil$core$model_y(x,y,z){
+return quil.core.current_graphics.call(null).modelY(x,y,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.
+ */
+quil.core.model_z = (function quil$core$model_z(x,y,z){
+return quil.core.current_graphics.call(null).modelZ(x,y,z);
+});
+/**
+ * Returns the current month as a value from 1 - 12.
+ */
+quil.core.month = (function quil$core$month(){
+return quil.sketch.current_applet.call(null).month();
+});
+/**
+ * The value of the system variable mouseButton is either :left, :right,
+ * or :center depending on which button is pressed. nil if no button pressed
+ */
+quil.core.mouse_button = (function quil$core$mouse_button(){
+var button_code = quil.sketch.current_applet.call(null).mouseButton;
+var pred__8585 = cljs.core._EQ_;
+var expr__8586 = button_code;
+if(cljs.core.truth_(pred__8585.call(null,(37),expr__8586))){
+return new cljs.core.Keyword(null,"left","left",-399115937);
+} else {
+if(cljs.core.truth_(pred__8585.call(null,(39),expr__8586))){
+return new cljs.core.Keyword(null,"right","right",-452581833);
+} else {
+if(cljs.core.truth_(pred__8585.call(null,(3),expr__8586))){
+return new cljs.core.Keyword(null,"center","center",-748944368);
+} else {
+return null;
+}
+}
+}
+});
+/**
+ * Variable storing if a mouse button is pressed. The value of the
+ * system variable mousePressed is true if a mouse button is pressed
+ * and false if a button is not pressed.
+ */
+quil.core.mouse_pressed_QMARK_ = (function quil$core$mouse_pressed_QMARK_(){
+return quil.sketch.current_applet.call(null).__mousePressed;
+});
+/**
+ * Current horizontal coordinate of the mouse.
+ */
+quil.core.mouse_x = (function quil$core$mouse_x(){
+return quil.sketch.current_applet.call(null).mouseX;
+});
+/**
+ * Current vertical coordinate of the mouse.
+ */
+quil.core.mouse_y = (function quil$core$mouse_y(){
+return quil.sketch.current_applet.call(null).mouseY;
+});
+/**
+ * Hides the cursor from view. Will not work when running the in full
+ * screen (Present) mode.
+ */
+quil.core.no_cursor = (function quil$core$no_cursor(){
+return quil.sketch.current_applet.call(null).noCursor();
+});
+/**
+ * Disables filling geometry. If both no-stroke and no-fill are called,
+ * nothing will be drawn to the screen.
+ */
+quil.core.no_fill = (function quil$core$no_fill(){
+quil.core.current_graphics.call(null).noFill();
+
+return (quil.core.current_graphics.call(null)[quil.core.no_fill_prop] = true);
+});
+/**
+ * Returns a new 2D unit vector in a random direction
+ */
+quil.core.random_2d = (function quil$core$random_2d(){
+var theta = quil.sketch.current_applet.call(null).random(quil.core.TWO_PI);
+return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [Math.cos(theta),Math.sin(theta)], null);
+});
+/**
+ * Returns a new 3D unit vector in a random direction
+ */
+quil.core.random_3d = (function quil$core$random_3d(){
+var theta = quil.sketch.current_applet.call(null).random(quil.core.TWO_PI);
+var phi = quil.sketch.current_applet.call(null).random((- quil.core.HALF_PI),quil.core.HALF_PI);
+var vx = (Math.cos(theta) * Math.sin(phi));
+var vy = (Math.sin(theta) * Math.sin(phi));
+var vz = Math.cos(phi);
+return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [vx,vy,vz], null);
+});
+/**
+ * Returns the Perlin noise value at specified coordinates. Perlin
+ * noise is a random sequence generator producing a more natural
+ * ordered, harmonic succession of numbers compared to the standard
+ * random function. It was invented by Ken Perlin in the 1980s and
+ * been used since in graphical applications to produce procedural
+ * textures, natural motion, shapes, terrains etc.
+ *
+ * The main difference to the random function is that Perlin noise is
+ * defined in an infinite n-dimensional space where each pair of
+ * coordinates corresponds to a fixed semi-random value (fixed only for
+ * the lifespan of the program). The resulting value will always be
+ * between 0.0 and 1.0. Processing can compute 1D, 2D and 3D noise,
+ * depending on the number of coordinates given. The noise value can be
+ * animated by moving through the noise space and the 2nd and 3rd
+ * dimensions can also be interpreted as time.
+ *
+ * The actual noise is structured similar to an audio signal, in
+ * respect to the function's use of frequencies. Similar to the concept
+ * of harmonics in physics, perlin noise is computed over several
+ * octaves which are added together for the final result.
+ *
+ * Another way to adjust the character of the resulting sequence is the
+ * scale of the input coordinates. As the function works within an
+ * infinite space the value of the coordinates doesn't matter as such,
+ * only the distance between successive coordinates does (eg. when
+ * using noise within a loop). As a general rule the smaller the
+ * difference between coordinates, the smoother the resulting noise
+ * sequence will be. Steps of 0.005-0.03 work best for most
+ * applications, but this will differ depending on use.
+ */
+quil.core.noise = (function quil$core$noise(var_args){
+var args8588 = [];
+var len__7927__auto___8591 = arguments.length;
+var i__7928__auto___8592 = (0);
+while(true){
+if((i__7928__auto___8592 < len__7927__auto___8591)){
+args8588.push((arguments[i__7928__auto___8592]));
+
+var G__8593 = (i__7928__auto___8592 + (1));
+i__7928__auto___8592 = G__8593;
+continue;
+} else {
+}
+break;
+}
+
+var G__8590 = args8588.length;
+switch (G__8590) {
+case 1:
+return quil.core.noise.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.noise.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.noise.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8588.length)].join('')));
+
+}
+});
+
+quil.core.noise.cljs$core$IFn$_invoke$arity$1 = (function (x){
+return quil.sketch.current_applet.call(null).noise(x);
+});
+
+quil.core.noise.cljs$core$IFn$_invoke$arity$2 = (function (x,y){
+return quil.sketch.current_applet.call(null).noise(x,y);
+});
+
+quil.core.noise.cljs$core$IFn$_invoke$arity$3 = (function (x,y,z){
+return quil.sketch.current_applet.call(null).noise(x,y,z);
+});
+
+quil.core.noise.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Adjusts the character and level of detail produced by the Perlin
+ * noise function. Similar to harmonics in physics, noise is computed
+ * over several octaves. Lower octaves contribute more to the output
+ * signal and as such define the overal intensity of the noise, whereas
+ * higher octaves create finer grained details in the noise
+ * sequence. By default, noise is computed over 4 octaves with each
+ * octave contributing exactly half than its predecessor, starting at
+ * 50% strength for the 1st octave. This falloff amount can be changed
+ * by adding an additional function parameter. Eg. a falloff factor of
+ * 0.75 means each octave will now have 75% impact (25% less) of the
+ * previous lower octave. Any value between 0.0 and 1.0 is valid,
+ * however note that values greater than 0.5 might result in greater
+ * than 1.0 values returned by noise.
+ *
+ * By changing these parameters, the signal created by the noise
+ * function can be adapted to fit very specific needs and
+ * characteristics.
+ */
+quil.core.noise_detail = (function quil$core$noise_detail(var_args){
+var args8595 = [];
+var len__7927__auto___8598 = arguments.length;
+var i__7928__auto___8599 = (0);
+while(true){
+if((i__7928__auto___8599 < len__7927__auto___8598)){
+args8595.push((arguments[i__7928__auto___8599]));
+
+var G__8600 = (i__7928__auto___8599 + (1));
+i__7928__auto___8599 = G__8600;
+continue;
+} else {
+}
+break;
+}
+
+var G__8597 = args8595.length;
+switch (G__8597) {
+case 1:
+return quil.core.noise_detail.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.noise_detail.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8595.length)].join('')));
+
+}
+});
+
+quil.core.noise_detail.cljs$core$IFn$_invoke$arity$1 = (function (octaves){
+return quil.sketch.current_applet.call(null).noiseDetail((octaves | (0)));
+});
+
+quil.core.noise_detail.cljs$core$IFn$_invoke$arity$2 = (function (octaves,falloff){
+return quil.sketch.current_applet.call(null).noiseDetail((octaves | (0)),falloff);
+});
+
+quil.core.noise_detail.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Sets the seed value for noise. By default, noise produces different
+ * results each time the program is run. Set the value parameter to a
+ * constant to return the same pseudo-random numbers each time the
+ * software is run.
+ */
+quil.core.noise_seed = (function quil$core$noise_seed(val){
+return quil.sketch.current_applet.call(null).noiseSeed((val | (0)));
+});
+/**
+ * Disable all lighting. Lighting is turned off by default and enabled
+ * with the lights fn. This function can be used to disable lighting so
+ * that 2D geometry (which does not require lighting) can be drawn
+ * after a set of lighted 3D geometry.
+ */
+quil.core.no_lights = (function quil$core$no_lights(){
+return quil.core.current_graphics.call(null).noLights();
+});
+/**
+ * Stops Processing from continuously executing the code within
+ * draw. If start-loop is called, the code in draw will begin to run
+ * continuously again. If using no-loop in setup, it should be the last
+ * line inside the block.
+ *
+ * When no-loop is used, it's not possible to manipulate or access the
+ * screen inside event handling functions such as mouse-pressed or
+ * key-pressed. Instead, use those functions to call redraw or
+ * loop which will run draw, which can update the screen
+ * properly. This means that when no-loop has been called, no drawing
+ * can happen, and functions like save-frame may not be used.
+ *
+ * Note that if the sketch is resized, redraw will be called to
+ * update the sketch, even after no-oop has been
+ * specified. Otherwise, the sketch would enter an odd state until
+ * loop was called.
+ */
+quil.core.no_loop = (function quil$core$no_loop(){
+return quil.sketch.current_applet.call(null).noLoop();
+});
+/**
+ * Normalize a value to exist between 0 and 1 (inclusive).
+ */
+quil.core.norm = (function quil$core$norm(val,start,stop){
+return quil.sketch.current_applet.call(null).norm(val,start,stop);
+});
+/**
+ * Sets the current normal vector. This is for drawing three
+ * dimensional shapes and surfaces and specifies a vector perpendicular
+ * to the surface of the shape which determines how lighting affects
+ * it. Processing attempts to automatically assign normals to shapes,
+ * but since that's imperfect, this is a better option when you want
+ * more control. This function is identical to glNormal3f() in OpenGL.
+ */
+quil.core.normal = (function quil$core$normal(nx,ny,nz){
+return quil.core.current_graphics.call(null).normal(nx,ny,nz);
+});
+/**
+ * Draws all geometry with jagged (aliased) edges. Must be called inside
+ * :settings handler.
+ */
+quil.core.no_smooth = (function quil$core$no_smooth(){
+return quil.core.current_graphics.call(null).noSmooth();
+});
+/**
+ * Disables drawing the stroke (outline). If both no-stroke and
+ * no-fill are called, nothing will be drawn to the screen.
+ */
+quil.core.no_stroke = (function quil$core$no_stroke(){
+return quil.core.current_graphics.call(null).noStroke();
+});
+/**
+ * Removes the current fill value for displaying images and reverts to
+ * displaying images with their original hues.
+ */
+quil.core.no_tint = (function quil$core$no_tint(){
+return quil.core.current_graphics.call(null).noTint();
+});
+/**
+ * Sets an orthographic projection and defines a parallel clipping
+ * volume. All objects with the same dimension appear the same size,
+ * regardless of whether they are near or far from the camera. The
+ * parameters to this function specify the clipping volume where left
+ * and right are the minimum and maximum x values, top and bottom are
+ * the minimum and maximum y values, and near and far are the minimum
+ * and maximum z values. If no parameters are given, the default is
+ * used: (ortho 0 width 0 height -10 10)
+ */
+quil.core.ortho = (function quil$core$ortho(var_args){
+var args8602 = [];
+var len__7927__auto___8605 = arguments.length;
+var i__7928__auto___8606 = (0);
+while(true){
+if((i__7928__auto___8606 < len__7927__auto___8605)){
+args8602.push((arguments[i__7928__auto___8606]));
+
+var G__8607 = (i__7928__auto___8606 + (1));
+i__7928__auto___8606 = G__8607;
+continue;
+} else {
+}
+break;
+}
+
+var G__8604 = args8602.length;
+switch (G__8604) {
+case 0:
+return quil.core.ortho.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 4:
+return quil.core.ortho.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+case 6:
+return quil.core.ortho.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8602.length)].join('')));
+
+}
+});
+
+quil.core.ortho.cljs$core$IFn$_invoke$arity$0 = (function (){
+return quil.core.current_graphics.call(null).ortho();
+});
+
+quil.core.ortho.cljs$core$IFn$_invoke$arity$4 = (function (left,right,bottom,top){
+return quil.core.current_graphics.call(null).ortho(left,right,bottom,top);
+});
+
+quil.core.ortho.cljs$core$IFn$_invoke$arity$6 = (function (left,right,bottom,top,near,far){
+return quil.core.current_graphics.call(null).ortho(left,right,bottom,top,near,far);
+});
+
+quil.core.ortho.cljs$lang$maxFixedArity = 6;
+
+/**
+ * Sets a perspective projection applying foreshortening, making
+ * distant objects appear smaller than closer ones. The parameters
+ * define a viewing volume with the shape of truncated pyramid. Objects
+ * near to the front of the volume appear their actual size, while
+ * farther objects appear smaller. This projection simulates the
+ * perspective of the world more accurately than orthographic
+ * projection. The version of perspective without parameters sets the
+ * default perspective and the version with four parameters allows the
+ * programmer to set the area precisely. The default values are:
+ * perspective(PI/3.0, width/height, cameraZ/10.0, cameraZ*10.0) where
+ * cameraZ is ((height/2.0) / tan(PI*60.0/360.0));
+ */
+quil.core.perspective = (function quil$core$perspective(var_args){
+var args8609 = [];
+var len__7927__auto___8612 = arguments.length;
+var i__7928__auto___8613 = (0);
+while(true){
+if((i__7928__auto___8613 < len__7927__auto___8612)){
+args8609.push((arguments[i__7928__auto___8613]));
+
+var G__8614 = (i__7928__auto___8613 + (1));
+i__7928__auto___8613 = G__8614;
+continue;
+} else {
+}
+break;
+}
+
+var G__8611 = args8609.length;
+switch (G__8611) {
+case 0:
+return quil.core.perspective.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 4:
+return quil.core.perspective.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8609.length)].join('')));
+
+}
+});
+
+quil.core.perspective.cljs$core$IFn$_invoke$arity$0 = (function (){
+return quil.core.current_graphics.call(null).perspective();
+});
+
+quil.core.perspective.cljs$core$IFn$_invoke$arity$4 = (function (fovy,aspect,z_near,z_far){
+return quil.core.current_graphics.call(null).perspective(fovy,aspect,z_near,z_far);
+});
+
+quil.core.perspective.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Array containing the values for all the pixels in the display
+ * window or image. This array is therefore the size of the display window. If
+ * this array is modified, the update-pixels fn must be called to update
+ * the changes. Calls .loadPixels before obtaining the pixel array.
+ */
+quil.core.pixels = (function quil$core$pixels(var_args){
+var args8616 = [];
+var len__7927__auto___8619 = arguments.length;
+var i__7928__auto___8620 = (0);
+while(true){
+if((i__7928__auto___8620 < len__7927__auto___8619)){
+args8616.push((arguments[i__7928__auto___8620]));
+
+var G__8621 = (i__7928__auto___8620 + (1));
+i__7928__auto___8620 = G__8621;
+continue;
+} else {
+}
+break;
+}
+
+var G__8618 = args8616.length;
+switch (G__8618) {
+case 0:
+return quil.core.pixels.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 1:
+return quil.core.pixels.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8616.length)].join('')));
+
+}
+});
+
+quil.core.pixels.cljs$core$IFn$_invoke$arity$0 = (function (){
+return quil.core.pixels.call(null,quil.core.current_graphics.call(null));
+});
+
+quil.core.pixels.cljs$core$IFn$_invoke$arity$1 = (function (img){
+img.loadPixels();
+
+var pix_array = img.pixels.toArray();
+img.stored_pix_array = pix_array;
+
+return pix_array;
+});
+
+quil.core.pixels.cljs$lang$maxFixedArity = 1;
+
+/**
+ * Horizontal coordinate of the mouse in the previous frame
+ */
+quil.core.pmouse_x = (function quil$core$pmouse_x(){
+return quil.sketch.current_applet.call(null).pmouseX;
+});
+/**
+ * Vertical coordinate of the mouse in the previous frame
+ */
+quil.core.pmouse_y = (function quil$core$pmouse_y(){
+return quil.sketch.current_applet.call(null).pmouseY;
+});
+/**
+ * Draws a point, a coordinate in space at the dimension of one
+ * pixel. The first parameter is the horizontal value for the point,
+ * the second value is the vertical value for the point, and the
+ * optional third value is the depth value. Drawing this shape in 3D
+ * using the z parameter requires the :P3D or :opengl renderer to be
+ * used.
+ */
+quil.core.point = (function quil$core$point(var_args){
+var args8623 = [];
+var len__7927__auto___8626 = arguments.length;
+var i__7928__auto___8627 = (0);
+while(true){
+if((i__7928__auto___8627 < len__7927__auto___8626)){
+args8623.push((arguments[i__7928__auto___8627]));
+
+var G__8628 = (i__7928__auto___8627 + (1));
+i__7928__auto___8627 = G__8628;
+continue;
+} else {
+}
+break;
+}
+
+var G__8625 = args8623.length;
+switch (G__8625) {
+case 2:
+return quil.core.point.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.point.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8623.length)].join('')));
+
+}
+});
+
+quil.core.point.cljs$core$IFn$_invoke$arity$2 = (function (x,y){
+return quil.core.current_graphics.call(null).point(x,y);
+});
+
+quil.core.point.cljs$core$IFn$_invoke$arity$3 = (function (x,y,z){
+return quil.core.current_graphics.call(null).point(x,y,z);
+});
+
+quil.core.point.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Adds a point light. Lights need to be included in the draw() to
+ * remain persistent in a looping program. Placing them in the setup()
+ * of a looping program will cause them to only have an effect the
+ * first time through the loop. The affect of the r, g, and b
+ * parameters is determined by the current color mode. The x, y, and z
+ * parameters set the position of the light
+ */
+quil.core.point_light = (function quil$core$point_light(r,g,b,x,y,z){
+return quil.core.current_graphics.call(null).pointLight(r,g,b,x,y,z);
+});
+/**
+ * Pops the current transformation matrix off the matrix
+ * stack. Understanding pushing and popping requires understanding the
+ * concept of a matrix stack. The push-matrix fn saves the current
+ * coordinate system to the stack and pop-matrix restores the prior
+ * coordinate system. push-matrix and pop-matrix are used in conjuction
+ * with the other transformation methods and may be embedded to control
+ * the scope of the transformations.
+ */
+quil.core.pop_matrix = (function quil$core$pop_matrix(){
+return quil.core.current_graphics.call(null).popMatrix();
+});
+/**
+ * Restores the prior settings on the 'style stack'. Used in
+ * conjunction with push-style. Together they allow you to change the
+ * style settings and later return to what you had. When a new style is
+ * started with push-style, it builds on the current style information.
+ * The push-style and pop-style functions can be nested to provide more
+ * control
+ */
+quil.core.pop_style = (function quil$core$pop_style(){
+return quil.core.current_graphics.call(null).popStyle();
+});
+/**
+ * Facilitates exponential expressions. The pow() function is an
+ * efficient way of multiplying numbers by themselves (or their
+ * reciprocal) in large quantities. For example, (pow 3 5) is
+ * equivalent to the expression (* 3 3 3 3 3) and (pow 3 -5) is
+ * equivalent to (/ 1 (* 3 3 3 3 3)).
+ */
+quil.core.pow = (function quil$core$pow(num,exponent){
+return quil.sketch.current_applet.call(null).pow(num,exponent);
+});
+/**
+ * Prints the current camera matrix to std out. Useful for debugging.
+ */
+quil.core.print_camera = (function quil$core$print_camera(){
+return quil.core.current_graphics.call(null).printCamera();
+});
+/**
+ * Prints the current matrix to std out. Useful for debugging.
+ */
+quil.core.print_matrix = (function quil$core$print_matrix(){
+return quil.core.current_graphics.call(null).printMatrix();
+});
+/**
+ * Prints the current projection matrix to std out. Useful for
+ * debugging
+ */
+quil.core.print_projection = (function quil$core$print_projection(){
+return quil.core.current_graphics.call(null).printProjection();
+});
+/**
+ * Pushes the current transformation matrix onto the matrix
+ * stack. Understanding push-matrix and pop-matrix requires
+ * understanding the concept of a matrix stack. The push-matrix
+ * function saves the current coordinate system to the stack and
+ * pop-matrix restores the prior coordinate system. push-matrix and
+ * pop-matrix are used in conjuction with the other transformation
+ * methods and may be embedded to control the scope of the
+ * transformations.
+ */
+quil.core.push_matrix = (function quil$core$push_matrix(){
+return quil.core.current_graphics.call(null).pushMatrix();
+});
+/**
+ * Saves the current style settings onto a 'style stack'. Use with
+ * pop-style which restores the prior settings. Note that these
+ * functions are always used together. They allow you to change the
+ * style settings and later return to what you had. When a new style is
+ * started with push-style, it builds on the current style
+ * information. The push-style and pop-style fns can be embedded to
+ * provide more control.
+ *
+ * The style information controlled by the following functions are
+ * included in the style: fill, stroke, tint, stroke-weight,
+ * stroke-cap, stroke-join, image-mode, rect-mode, ellipse-mode,
+ * shape-mode, color-mode, text-align, text-font, text-mode, text-size,
+ * text-leading, emissive, specular, shininess, and ambient
+ */
+quil.core.push_style = (function quil$core$push_style(){
+return quil.core.current_graphics.call(null).pushStyle();
+});
+/**
+ * A quad is a quadrilateral, a four sided polygon. It is similar to a
+ * rectangle, but the angles between its edges are not constrained to
+ * be ninety degrees. The first pair of parameters (x1,y1) sets the
+ * first vertex and the subsequent pairs should proceed clockwise or
+ * counter-clockwise around the defined shape.
+ */
+quil.core.quad = (function quil$core$quad(x1,y1,x2,y2,x3,y3,x4,y4){
+return quil.core.current_graphics.call(null).quad(x1,y1,x2,y2,x3,y3,x4,y4);
+});
+/**
+ * Specifies vertex coordinates for quadratic Bezier curves. Each call to
+ * quadratic-vertex defines the position of one control points and one
+ * anchor point of a Bezier curve, adding a new segment to a line or shape.
+ * The first time quadratic-vertex is used within a begin-shape call, it
+ * must be prefaced with a call to vertex to set the first anchor point.
+ * This function must be used between begin-shape and end-shape and only
+ * when there is no MODE parameter specified to begin-shape. Using the 3D
+ * version requires rendering with :p3d.
+ */
+quil.core.quadratic_vertex = (function quil$core$quadratic_vertex(var_args){
+var args8630 = [];
+var len__7927__auto___8633 = arguments.length;
+var i__7928__auto___8634 = (0);
+while(true){
+if((i__7928__auto___8634 < len__7927__auto___8633)){
+args8630.push((arguments[i__7928__auto___8634]));
+
+var G__8635 = (i__7928__auto___8634 + (1));
+i__7928__auto___8634 = G__8635;
+continue;
+} else {
+}
+break;
+}
+
+var G__8632 = args8630.length;
+switch (G__8632) {
+case 4:
+return quil.core.quadratic_vertex.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+case 6:
+return quil.core.quadratic_vertex.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8630.length)].join('')));
+
+}
+});
+
+quil.core.quadratic_vertex.cljs$core$IFn$_invoke$arity$4 = (function (cx,cy,x3,y3){
+return quil.core.current_graphics.call(null).quadraticVertex(cx,cy,x3,y3);
+});
+
+quil.core.quadratic_vertex.cljs$core$IFn$_invoke$arity$6 = (function (cx,cy,cz,x3,y3,z3){
+return quil.core.current_graphics.call(null).quadraticVertex(cx,cy,cz,x3,y3,z3);
+});
+
+quil.core.quadratic_vertex.cljs$lang$maxFixedArity = 6;
+
+/**
+ * Converts a degree measurement to its corresponding value in
+ * radians. Radians and degrees are two ways of measuring the same
+ * thing. There are 360 degrees in a circle and 2*PI radians in a
+ * circle. For example, 90° = PI/2 = 1.5707964. All trigonometric
+ * methods in Processing require their parameters to be specified in
+ * radians.
+ */
+quil.core.radians = (function quil$core$radians(degrees){
+return quil.sketch.current_applet.call(null).radians(degrees);
+});
+/**
+ * Generates random numbers. Each time the random function is called,
+ * it returns an unexpected value within the specified range. If one
+ * parameter is passed to the function it will return a float between
+ * zero and the value of the high parameter. The function call (random
+ * 5) returns values between 0 and 5 (starting at zero, up to but not
+ * including 5). If two parameters are passed, it will return a float
+ * with a value between the parameters. The function call
+ * (random -5 10.2) returns values starting at -5 up to (but not
+ * including) 10.2.
+ */
+quil.core.random = (function quil$core$random(var_args){
+var args8637 = [];
+var len__7927__auto___8640 = arguments.length;
+var i__7928__auto___8641 = (0);
+while(true){
+if((i__7928__auto___8641 < len__7927__auto___8640)){
+args8637.push((arguments[i__7928__auto___8641]));
+
+var G__8642 = (i__7928__auto___8641 + (1));
+i__7928__auto___8641 = G__8642;
+continue;
+} else {
+}
+break;
+}
+
+var G__8639 = args8637.length;
+switch (G__8639) {
+case 1:
+return quil.core.random.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.random.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8637.length)].join('')));
+
+}
+});
+
+quil.core.random.cljs$core$IFn$_invoke$arity$1 = (function (max){
+return quil.sketch.current_applet.call(null).random(max);
+});
+
+quil.core.random.cljs$core$IFn$_invoke$arity$2 = (function (min,max){
+return quil.sketch.current_applet.call(null).random(min,max);
+});
+
+quil.core.random.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Returns a float from a random series of numbers having a mean of 0 and
+ * standard deviation of 1. Each time the randomGaussian() function is called,
+ * it returns a number fitting a Gaussian, or normal, distribution.
+ * There is theoretically no minimum or maximum value that randomGaussian()
+ * might return. Rather, there is just a very low probability that values far
+ * from the mean will be returned; and a higher probability that numbers near
+ * the mean will be returned. .
+ */
+quil.core.random_gaussian = (function quil$core$random_gaussian(){
+return quil.sketch.current_applet.call(null).randomGaussian();
+});
+/**
+ * Sets the seed value for random. By default, random produces
+ * different results each time the program is run. Set the value
+ * parameter to a constant to return the same pseudo-random numbers
+ * each time the software is run.
+ */
+quil.core.random_seed = (function quil$core$random_seed(w){
+return quil.sketch.current_applet.call(null).randomSeed(w);
+});
+/**
+ * Contains the value of the most recent key on the keyboard that was
+ * used (either pressed or released).
+ *
+ * For non-ASCII keys, use the keyCode variable. The keys included in
+ * the ASCII specification (BACKSPACE, TAB, ENTER, RETURN, ESC, and
+ * DELETE) do not require checking to see if they key is coded, and you
+ * should simply use the key variable instead of keyCode If you're
+ * making cross-platform projects, note that the ENTER key is commonly
+ * used on PCs and Unix and the RETURN key is used instead on
+ * Macintosh. Check for both ENTER and RETURN to make sure your program
+ * will work for all platforms.
+ */
+quil.core.raw_key = (function quil$core$raw_key(){
+return quil.sketch.current_applet.call(null).key;
+});
+/**
+ * Draws a rectangle to the screen. A rectangle is a four-sided shape
+ * with every angle at ninety degrees. By default, the first two
+ * parameters set the location of the upper-left corner, the third
+ * sets the width, and the fourth sets the height. These parameters
+ * may be changed with rect-mode.
+ *
+ * To draw a rounded rectangle, add a fifth parameter, which is used as
+ * the radius value for all four corners. To use a different radius value
+ * for each corner, include eight parameters.
+ */
+quil.core.rect = (function quil$core$rect(var_args){
+var args8644 = [];
+var len__7927__auto___8647 = arguments.length;
+var i__7928__auto___8648 = (0);
+while(true){
+if((i__7928__auto___8648 < len__7927__auto___8647)){
+args8644.push((arguments[i__7928__auto___8648]));
+
+var G__8649 = (i__7928__auto___8648 + (1));
+i__7928__auto___8648 = G__8649;
+continue;
+} else {
+}
+break;
+}
+
+var G__8646 = args8644.length;
+switch (G__8646) {
+case 4:
+return quil.core.rect.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+case 5:
+return quil.core.rect.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]));
+
+break;
+case 8:
+return quil.core.rect.cljs$core$IFn$_invoke$arity$8((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8644.length)].join('')));
+
+}
+});
+
+quil.core.rect.cljs$core$IFn$_invoke$arity$4 = (function (x,y,width,height){
+return quil.core.current_graphics.call(null).rect(x,y,width,height);
+});
+
+quil.core.rect.cljs$core$IFn$_invoke$arity$5 = (function (x,y,width,height,r){
+return quil.core.current_graphics.call(null).rect(x,y,width,height,r);
+});
+
+quil.core.rect.cljs$core$IFn$_invoke$arity$8 = (function (x,y,width,height,top_left_r,top_right_r,bottom_right_r,bottom_left_r){
+return quil.core.current_graphics.call(null).rect(x,y,width,height,top_left_r,top_right_r,bottom_right_r,bottom_left_r);
+});
+
+quil.core.rect.cljs$lang$maxFixedArity = 8;
+
+/**
+ * Modifies the location from which rectangles draw. The default mode
+ * is :corner. Available modes are:
+ *
+ *
+ * :corner - Specifies the location to be the upper left corner of the
+ * shape and uses the third and fourth parameters of rect to
+ * specify the width and height.
+ *
+ * :corners - Uses the first and second parameters of rect to set the
+ * location of one corner and uses the third and fourth
+ * parameters to set the opposite corner.
+ *
+ * :center - Draws the image from its center point and uses the third
+ * and forth parameters of rect to specify the image's width
+ * and height.
+ *
+ * :radius - Draws the image from its center point and uses the third
+ * and forth parameters of rect() to specify half of the
+ * image's width and height.
+ */
+quil.core.rect_mode = (function quil$core$rect_mode(mode){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.rect_modes);
+return quil.core.current_graphics.call(null).rectMode((mode__$1 | (0)));
+});
+/**
+ * Extracts the red value from a color, scaled to match current color-mode.
+ */
+quil.core.red = (function quil$core$red(c){
+return quil.core.current_graphics.call(null).red(cljs.core.unchecked_int.call(null,c));
+});
+/**
+ * Executes the code within the draw fn one time. This functions
+ * allows the program to update the display window only when necessary,
+ * for example when an event registered by mouse-pressed or
+ * key-pressed occurs.
+ *
+ * In structuring a program, it only makes sense to call redraw
+ * within events such as mouse-pressed. This is because redraw does
+ * not run draw immediately (it only sets a flag that indicates an
+ * update is needed).
+ *
+ * Calling redraw within draw has no effect because draw is
+ * continuously called anyway.
+ */
+quil.core.redraw = (function quil$core$redraw(){
+return quil.sketch.current_applet.call(null).redraw();
+});
+/**
+ * This function load images on a separate thread so that your sketch
+ * does not freeze while images load during setup. While the image is
+ * loading, its width and height will be 0. If an error occurs while
+ * loading the image, its width and height will be set to -1. You'll
+ * know when the image has loaded properly because its width and height
+ * will be greater than 0. Asynchronous image loading (particularly
+ * when downloading from a server) can dramatically improve
+ * performance.
+ */
+quil.core.request_image = (function quil$core$request_image(filename){
+return quil.sketch.current_applet.call(null).requestImage([cljs.core.str.cljs$core$IFn$_invoke$arity$1(filename)].join(''));
+});
+/**
+ * Replaces the current matrix with the identity matrix. The
+ * equivalent function in OpenGL is glLoadIdentity()
+ */
+quil.core.reset_matrix = (function quil$core$reset_matrix(){
+return quil.core.current_graphics.call(null).resetMatrix();
+});
+/**
+ * Resize the image to a new width and height.
+ * To make the image scale proportionally, use 0 as the value for the wide or
+ * high parameter. For instance, to make the width of an image 150 pixels,
+ * and change the height using the same proportion, use resize(150, 0).
+ *
+ * Even though a PGraphics is technically a PImage, it is not possible
+ * to rescale the image data found in a PGraphics.
+ * (It's simply not possible to do this consistently across renderers:
+ * technically infeasible with P3D, or what would it even do with PDF?)
+ * If you want to resize PGraphics content, first get a copy of its image data
+ * using the get() method, and call resize() on the PImage that is returned.
+ */
+quil.core.resize = (function quil$core$resize(img,w,h){
+return img.resize(w,h);
+});
+/**
+ * Rotates a shape the amount specified by the angle parameter. Angles
+ * should be specified in radians (values from 0 to TWO-PI) or
+ * converted to radians with the radians function.
+ *
+ * Objects are always rotated around their relative position to the
+ * origin and positive numbers rotate objects in a clockwise
+ * direction. Transformations apply to everything that happens after
+ * and subsequent calls to the function accumulates the effect. For
+ * example, calling (rotate HALF-PI) and then (rotate HALF-PI) is the
+ * same as (rotate PI). All tranformations are reset when draw begins
+ * again.
+ *
+ * Technically, rotate multiplies the current transformation matrix by
+ * a rotation matrix. This function can be further controlled by the
+ * push-matrix and pop-matrix.
+ */
+quil.core.rotate = (function quil$core$rotate(var_args){
+var args8651 = [];
+var len__7927__auto___8654 = arguments.length;
+var i__7928__auto___8655 = (0);
+while(true){
+if((i__7928__auto___8655 < len__7927__auto___8654)){
+args8651.push((arguments[i__7928__auto___8655]));
+
+var G__8656 = (i__7928__auto___8655 + (1));
+i__7928__auto___8655 = G__8656;
+continue;
+} else {
+}
+break;
+}
+
+var G__8653 = args8651.length;
+switch (G__8653) {
+case 1:
+return quil.core.rotate.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 4:
+return quil.core.rotate.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8651.length)].join('')));
+
+}
+});
+
+quil.core.rotate.cljs$core$IFn$_invoke$arity$1 = (function (angle){
+return quil.core.current_graphics.call(null).rotate(angle);
+});
+
+quil.core.rotate.cljs$core$IFn$_invoke$arity$4 = (function (angle,vx,vy,vz){
+return quil.core.current_graphics.call(null).rotate(angle,vx,vy,vz);
+});
+
+quil.core.rotate.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Rotates a shape around the x-axis the amount specified by the angle
+ * parameter. Angles should be specified in radians (values from 0 to
+ * (* PI 2)) or converted to radians with the radians function. Objects
+ * are always rotated around their relative position to the origin and
+ * positive numbers rotate objects in a counterclockwise
+ * direction. Transformations apply to everything that happens after
+ * and subsequent calls to the function accumulates the effect. For
+ * example, calling (rotate-x HALF-PI) and then (rotate-x HALF-PI) is
+ * the same as (rotate-x PI). If rotate-x is called within the draw fn,
+ * the transformation is reset when the loop begins again. This
+ * function requires either the :p3d or :opengl renderer.
+ */
+quil.core.rotate_x = (function quil$core$rotate_x(angle){
+return quil.core.current_graphics.call(null).rotateX(angle);
+});
+/**
+ * Rotates a shape around the y-axis the amount specified by the angle
+ * parameter. Angles should be specified in radians (values from 0
+ * to (* PI 2)) or converted to radians with the radians function.
+ * Objects are always rotated around their relative position to the
+ * origin and positive numbers rotate objects in a counterclockwise
+ * direction. Transformations apply to everything that happens after
+ * and subsequent calls to the function accumulates the effect. For
+ * example, calling (rotate-y HALF-PI) and then (rotate-y HALF-PI) is
+ * the same as (rotate-y PI). If rotate-y is called within the draw fn,
+ * the transformation is reset when the loop begins again. This
+ * function requires either the :p3d or :opengl renderer.
+ */
+quil.core.rotate_y = (function quil$core$rotate_y(angle){
+return quil.core.current_graphics.call(null).rotateY(angle);
+});
+/**
+ * Rotates a shape around the z-axis the amount specified by the angle
+ * parameter. Angles should be specified in radians (values from 0
+ * to (* PI 2)) or converted to radians with the radians function.
+ * Objects are always rotated around their relative position to the
+ * origin and positive numbers rotate objects in a counterclockwise
+ * direction. Transformations apply to everything that happens after
+ * and subsequent calls to the function accumulates the effect. For
+ * example, calling (rotate-z HALF-PI) and then (rotate-z HALF-PI) is
+ * the same as (rotate-z PI). If rotate-y is called within the draw fn,
+ * the transformation is reset when the loop begins again. This
+ * function requires either the :p3d or :opengl renderer.
+ */
+quil.core.rotate_z = (function quil$core$rotate_z(angle){
+return quil.core.current_graphics.call(null).rotateZ(angle);
+});
+/**
+ * Calculates the integer closest to the value parameter. For example,
+ * (round 9.2) returns the value 9.
+ */
+quil.core.round = (function quil$core$round(val){
+return quil.sketch.current_applet.call(null).round(val);
+});
+/**
+ * Extracts the saturation value from a color.
+ */
+quil.core.saturation = (function quil$core$saturation(c){
+return quil.core.current_graphics.call(null).saturation(cljs.core.unchecked_int.call(null,c));
+});
+/**
+ * Saves an image from the display window. Images are saved in TIFF,
+ * TARGA, JPEG, and PNG format depending on the extension within the
+ * filename parameter. For example, image.tif will have a TIFF image
+ * and image.png will save a PNG image. If no extension is included in
+ * the filename, the image will save in TIFF format and .tif will be
+ * added to the name. All images saved from the main drawing window
+ * will be opaque. To save images without a background, use
+ * create-graphics.
+ */
+quil.core.save = (function quil$core$save(filename){
+return quil.core.current_graphics.call(null).save([cljs.core.str.cljs$core$IFn$_invoke$arity$1(filename)].join(''));
+});
+/**
+ * Saves an image identical to the current display window as a
+ * file. May be called multple times - each file saved will have a
+ * unique name. Name and image formate may be modified by passing a
+ * string parameter of the form "foo-####.ext" where foo- can be any
+ * arbitrary string, #### will be replaced with the current frame id
+ * and .ext is one of .tiff, .targa, .png, .jpeg or .jpg
+ *
+ * Examples:
+ * (save-frame)
+ * (save-frame "pretty-pic-####.jpg")
+ */
+quil.core.save_frame = (function quil$core$save_frame(var_args){
+var args8658 = [];
+var len__7927__auto___8661 = arguments.length;
+var i__7928__auto___8662 = (0);
+while(true){
+if((i__7928__auto___8662 < len__7927__auto___8661)){
+args8658.push((arguments[i__7928__auto___8662]));
+
+var G__8663 = (i__7928__auto___8662 + (1));
+i__7928__auto___8662 = G__8663;
+continue;
+} else {
+}
+break;
+}
+
+var G__8660 = args8658.length;
+switch (G__8660) {
+case 0:
+return quil.core.save_frame.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 1:
+return quil.core.save_frame.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8658.length)].join('')));
+
+}
+});
+
+quil.core.save_frame.cljs$core$IFn$_invoke$arity$0 = (function (){
+return quil.sketch.current_applet.call(null).saveFrame();
+});
+
+quil.core.save_frame.cljs$core$IFn$_invoke$arity$1 = (function (name){
+return quil.sketch.current_applet.call(null).saveFrame([cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)].join(''));
+});
+
+quil.core.save_frame.cljs$lang$maxFixedArity = 1;
+
+/**
+ * Increases or decreases the size of a shape by expanding and
+ * contracting vertices. Objects always scale from their relative
+ * origin to the coordinate system. Scale values are specified as
+ * decimal percentages. For example, the function call (scale 2)
+ * increases the dimension of a shape by 200%. Transformations apply to
+ * everything that happens after and subsequent calls to the function
+ * multiply the effect. For example, calling (scale 2) and then
+ * (scale 1.5) is the same as (scale 3). If scale is called within
+ * draw, the transformation is reset when the loop begins again. Using
+ * this fuction with the z parameter requires specfying :p3d or :opengl
+ * as the renderer. This function can be further controlled by
+ * push-matrix and pop-matrix.
+ */
+quil.core.scale = (function quil$core$scale(var_args){
+var args8665 = [];
+var len__7927__auto___8668 = arguments.length;
+var i__7928__auto___8669 = (0);
+while(true){
+if((i__7928__auto___8669 < len__7927__auto___8668)){
+args8665.push((arguments[i__7928__auto___8669]));
+
+var G__8670 = (i__7928__auto___8669 + (1));
+i__7928__auto___8669 = G__8670;
+continue;
+} else {
+}
+break;
+}
+
+var G__8667 = args8665.length;
+switch (G__8667) {
+case 1:
+return quil.core.scale.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.scale.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.scale.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8665.length)].join('')));
+
+}
+});
+
+quil.core.scale.cljs$core$IFn$_invoke$arity$1 = (function (s){
+return quil.core.current_graphics.call(null).scale(s);
+});
+
+quil.core.scale.cljs$core$IFn$_invoke$arity$2 = (function (sx,sy){
+return quil.core.current_graphics.call(null).scale(sx,sy);
+});
+
+quil.core.scale.cljs$core$IFn$_invoke$arity$3 = (function (sx,sy,sz){
+return quil.core.current_graphics.call(null).scale(sx,sy,sz);
+});
+
+quil.core.scale.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Takes a three-dimensional x, y, z position and returns the x value
+ * for where it will appear on a (two-dimensional) screen, once
+ * affected by translate, scale or any other transformations
+ */
+quil.core.screen_x = (function quil$core$screen_x(var_args){
+var args8672 = [];
+var len__7927__auto___8675 = arguments.length;
+var i__7928__auto___8676 = (0);
+while(true){
+if((i__7928__auto___8676 < len__7927__auto___8675)){
+args8672.push((arguments[i__7928__auto___8676]));
+
+var G__8677 = (i__7928__auto___8676 + (1));
+i__7928__auto___8676 = G__8677;
+continue;
+} else {
+}
+break;
+}
+
+var G__8674 = args8672.length;
+switch (G__8674) {
+case 2:
+return quil.core.screen_x.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.screen_x.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8672.length)].join('')));
+
+}
+});
+
+quil.core.screen_x.cljs$core$IFn$_invoke$arity$2 = (function (x,y){
+return quil.core.current_graphics.call(null).screenX(x,y);
+});
+
+quil.core.screen_x.cljs$core$IFn$_invoke$arity$3 = (function (x,y,z){
+return quil.core.current_graphics.call(null).screenX(x,y,z);
+});
+
+quil.core.screen_x.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Takes a three-dimensional x, y, z position and returns the y value
+ * for where it will appear on a (two-dimensional) screen, once
+ * affected by translate, scale or any other transformations
+ */
+quil.core.screen_y = (function quil$core$screen_y(var_args){
+var args8679 = [];
+var len__7927__auto___8682 = arguments.length;
+var i__7928__auto___8683 = (0);
+while(true){
+if((i__7928__auto___8683 < len__7927__auto___8682)){
+args8679.push((arguments[i__7928__auto___8683]));
+
+var G__8684 = (i__7928__auto___8683 + (1));
+i__7928__auto___8683 = G__8684;
+continue;
+} else {
+}
+break;
+}
+
+var G__8681 = args8679.length;
+switch (G__8681) {
+case 2:
+return quil.core.screen_y.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.screen_y.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8679.length)].join('')));
+
+}
+});
+
+quil.core.screen_y.cljs$core$IFn$_invoke$arity$2 = (function (x,y){
+return quil.core.current_graphics.call(null).screenY(x,y);
+});
+
+quil.core.screen_y.cljs$core$IFn$_invoke$arity$3 = (function (x,y,z){
+return quil.core.current_graphics.call(null).screenY(x,y,z);
+});
+
+quil.core.screen_y.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Given an x, y, z coordinate, returns its z value.
+ * This value can be used to determine if an x, y, z coordinate is in
+ * front or in back of another (x, y, z) coordinate. The units are
+ * based on how the zbuffer is set up, and don't relate to anything
+ * 'real'. They're only useful for in comparison to another value
+ * obtained from screen-z, or directly out of the zbuffer
+ */
+quil.core.screen_z = (function quil$core$screen_z(x,y,z){
+return quil.core.current_graphics.call(null).screenZ(x,y,z);
+});
+/**
+ * Returns the current second as a value from 0 - 59.
+ */
+quil.core.seconds = (function quil$core$seconds(){
+return quil.sketch.current_applet.call(null).second();
+});
+/**
+ * Changes the color of any pixel in the display window. The x and y
+ * parameters specify the pixel to change and the color parameter
+ * specifies the color value. The color parameter is affected by the
+ * current color mode (the default is RGB values from 0 to 255).
+ *
+ * Setting the color of a single pixel with (set x, y) is easy, but not
+ * as fast as putting the data directly into pixels[].
+ *
+ * This function ignores imageMode().
+ *
+ * Due to what appears to be a bug in Apple's Java implementation, the
+ * point() and set() methods are extremely slow in some circumstances
+ * when used with the default renderer. Using :p2d or :p3d will fix the
+ * problem. Grouping many calls to point or set-pixel together can also
+ * help. (Bug 1094)
+ */
+quil.core.set_pixel = (function quil$core$set_pixel(var_args){
+var args8686 = [];
+var len__7927__auto___8689 = arguments.length;
+var i__7928__auto___8690 = (0);
+while(true){
+if((i__7928__auto___8690 < len__7927__auto___8689)){
+args8686.push((arguments[i__7928__auto___8690]));
+
+var G__8691 = (i__7928__auto___8690 + (1));
+i__7928__auto___8690 = G__8691;
+continue;
+} else {
+}
+break;
+}
+
+var G__8688 = args8686.length;
+switch (G__8688) {
+case 3:
+return quil.core.set_pixel.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.set_pixel.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8686.length)].join('')));
+
+}
+});
+
+quil.core.set_pixel.cljs$core$IFn$_invoke$arity$3 = (function (x,y,c){
+return quil.core.set_pixel.call(null,quil.core.current_graphics.call(null),x,y,c);
+});
+
+quil.core.set_pixel.cljs$core$IFn$_invoke$arity$4 = (function (img,x,y,c){
+return img.set((x | (0)),(y | (0)),(c | (0)));
+});
+
+quil.core.set_pixel.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Writes an image directly into the display window. The x and y
+ * parameters define the coordinates for the upper-left corner of the
+ * image.
+ */
+quil.core.set_image = (function quil$core$set_image(x,y,src){
+return quil.core.current_graphics.call(null).set((x | (0)),(y | (0)),src);
+});
+/**
+ * Displays shapes to the screen. The shapes must have been loaded
+ * with load-shape. Processing currently works with SVG shapes
+ * only. The sh parameter specifies the shape to display and the x and
+ * y parameters define the location of the shape from its upper-left
+ * corner. The shape is displayed at its original size unless the width
+ * and height parameters specify a different size. The shape-mode
+ * fn changes the way the parameters work. A call to
+ * (shape-mode :corners), for example, will change the width and height
+ * parameters to define the x and y values of the opposite corner of
+ * the shape.
+ *
+ * Note complex shapes may draw awkwardly with the renderers :p2d, :p3d, and
+ * :opengl. Those renderers do not yet support shapes that have holes
+ * or complicated breaks.
+ */
+quil.core.shape = (function quil$core$shape(var_args){
+var args8693 = [];
+var len__7927__auto___8696 = arguments.length;
+var i__7928__auto___8697 = (0);
+while(true){
+if((i__7928__auto___8697 < len__7927__auto___8696)){
+args8693.push((arguments[i__7928__auto___8697]));
+
+var G__8698 = (i__7928__auto___8697 + (1));
+i__7928__auto___8697 = G__8698;
+continue;
+} else {
+}
+break;
+}
+
+var G__8695 = args8693.length;
+switch (G__8695) {
+case 1:
+return quil.core.shape.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 3:
+return quil.core.shape.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 5:
+return quil.core.shape.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8693.length)].join('')));
+
+}
+});
+
+quil.core.shape.cljs$core$IFn$_invoke$arity$1 = (function (sh){
+return quil.core.current_graphics.call(null).shape(sh);
+});
+
+quil.core.shape.cljs$core$IFn$_invoke$arity$3 = (function (sh,x,y){
+return quil.core.current_graphics.call(null).shape(sh,x,y);
+});
+
+quil.core.shape.cljs$core$IFn$_invoke$arity$5 = (function (sh,x,y,width,height){
+return quil.core.current_graphics.call(null).shape(sh,x,y,width,height);
+});
+
+quil.core.shape.cljs$lang$maxFixedArity = 5;
+
+/**
+ * Shears a shape around the x-axis the amount specified by the angle
+ * parameter. Angles should be specified in radians (values from 0 to
+ * PI*2) or converted to radians with the radians() function. Objects
+ * are always sheared around their relative position to the origin and
+ * positive numbers shear objects in a clockwise direction.
+ * Transformations apply to everything that happens after and
+ * subsequent calls to the function accumulates the effect. For
+ * example, calling (shear-x (/ PI 2)) and then (shear-x (/ PI 2)) is
+ * the same as (shear-x PI). If shear-x is called within the draw fn,
+ * the transformation is reset when the loop begins again. This
+ * function works in P2D or JAVA2D mode.
+ *
+ * Technically, shear-x multiplies the current transformation matrix
+ * by a rotation matrix. This function can be further controlled by the
+ * push-matrix and pop-matrix fns.
+ */
+quil.core.shear_x = (function quil$core$shear_x(angle){
+return quil.core.current_graphics.call(null).shearX(angle);
+});
+/**
+ * Shears a shape around the y-axis the amount specified by the angle
+ * parameter. Angles should be specified in radians (values from 0 to
+ * PI*2) or converted to radians with the radians() function. Objects
+ * are always sheared around their relative position to the origin and
+ * positive numbers shear objects in a clockwise direction.
+ * Transformations apply to everything that happens after and
+ * subsequent calls to the function accumulates the effect. For
+ * example, calling (shear-y (/ PI 2)) and then (shear-y (/ PI 2)) is
+ * the same as (shear-y PI). If shear-y is called within the draw fn,
+ * the transformation is reset when the loop begins again. This
+ * function works in P2D or JAVA2D mode.
+ *
+ * Technically, shear-y multiplies the current transformation matrix
+ * by a rotation matrix. This function can be further controlled by the
+ * push-matrix and pop-matrix fns.
+ */
+quil.core.shear_y = (function quil$core$shear_y(angle){
+return quil.core.current_graphics.call(null).shearY(angle);
+});
+/**
+ * Modifies the location from which shapes draw. Available modes are
+ * :corner, :corners and :center. Default is :corner.
+ *
+ * :corner - specifies the location to be the upper left corner of the
+ * shape and uses the third and fourth parameters of shape
+ * to specify the width and height.
+ *
+ * :corners - uses the first and second parameters of shape to set
+ * the location of one corner and uses the third and fourth
+ * parameters to set the opposite corner.
+ *
+ * :center - draws the shape from its center point and uses the third
+ * and forth parameters of shape to specify the width and
+ * height.
+ */
+quil.core.shape_mode = (function quil$core$shape_mode(mode){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.p_shape_modes);
+return quil.core.current_graphics.call(null).shapeMode((mode__$1 | (0)));
+});
+/**
+ * Sets the amount of gloss in the surface of shapes. Used in
+ * combination with ambient, specular, and emissive in setting
+ * the material properties of shapes.
+ */
+quil.core.shininess = (function quil$core$shininess(shine){
+return quil.core.current_graphics.call(null).shininess(shine);
+});
+/**
+ * Calculates the sine of an angle. This function expects the values
+ * of the angle parameter to be provided in radians (values from 0 to
+ * 6.28). A float within the range -1 to 1 is returned.
+ */
+quil.core.sin = (function quil$core$sin(angle){
+return quil.sketch.current_applet.call(null).sin(angle);
+});
+/**
+ * Draws all geometry with smooth (anti-aliased) edges. This will slow
+ * down the frame rate of the application, but will enhance the visual
+ * refinement.
+ *
+ * Must be called inside :settings handler.
+ *
+ * The level parameter (int) increases the level of smoothness with the
+ * P2D and P3D renderers. This is the level of over sampling applied to
+ * the graphics buffer. The value '2' will double the rendering size
+ * before scaling it down to the display size. This is called '2x
+ * anti-aliasing.' The value 4 is used for 4x anti-aliasing and 8 is
+ * specified for 8x anti-aliasing. If level is set to 0, it will disable
+ * all smoothing; it's the equivalent of the function noSmooth().
+ * The maximum anti-aliasing level is determined by the hardware of the
+ * machine that is running the software.
+ *
+ * Note that smooth will also improve image quality of resized images.
+ */
+quil.core.smooth = (function quil$core$smooth(var_args){
+var args8700 = [];
+var len__7927__auto___8703 = arguments.length;
+var i__7928__auto___8704 = (0);
+while(true){
+if((i__7928__auto___8704 < len__7927__auto___8703)){
+args8700.push((arguments[i__7928__auto___8704]));
+
+var G__8705 = (i__7928__auto___8704 + (1));
+i__7928__auto___8704 = G__8705;
+continue;
+} else {
+}
+break;
+}
+
+var G__8702 = args8700.length;
+switch (G__8702) {
+case 0:
+return quil.core.smooth.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 1:
+return quil.core.smooth.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8700.length)].join('')));
+
+}
+});
+
+quil.core.smooth.cljs$core$IFn$_invoke$arity$0 = (function (){
+return quil.core.current_graphics.call(null).smooth();
+});
+
+quil.core.smooth.cljs$core$IFn$_invoke$arity$1 = (function (level){
+return quil.core.current_graphics.call(null).smooth((level | (0)));
+});
+
+quil.core.smooth.cljs$lang$maxFixedArity = 1;
+
+/**
+ * Sets the specular color of the materials used for shapes drawn to
+ * the screen, which sets the color of hightlights. Specular refers to
+ * light which bounces off a surface in a perferred direction (rather
+ * than bouncing in all directions like a diffuse light). Used in
+ * combination with emissive, ambient, and shininess in setting
+ * the material properties of shapes.
+ */
+quil.core.specular = (function quil$core$specular(var_args){
+var args8707 = [];
+var len__7927__auto___8710 = arguments.length;
+var i__7928__auto___8711 = (0);
+while(true){
+if((i__7928__auto___8711 < len__7927__auto___8710)){
+args8707.push((arguments[i__7928__auto___8711]));
+
+var G__8712 = (i__7928__auto___8711 + (1));
+i__7928__auto___8711 = G__8712;
+continue;
+} else {
+}
+break;
+}
+
+var G__8709 = args8707.length;
+switch (G__8709) {
+case 1:
+return quil.core.specular.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 3:
+return quil.core.specular.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8707.length)].join('')));
+
+}
+});
+
+quil.core.specular.cljs$core$IFn$_invoke$arity$1 = (function (gray){
+return quil.core.current_graphics.call(null).specular(gray);
+});
+
+quil.core.specular.cljs$core$IFn$_invoke$arity$3 = (function (x,y,z){
+return quil.core.current_graphics.call(null).specular(x,y,z);
+});
+
+quil.core.specular.cljs$lang$maxFixedArity = 3;
+
+/**
+ * Generates a hollow ball made from tessellated triangles.
+ */
+quil.core.sphere = (function quil$core$sphere(radius){
+return quil.core.current_graphics.call(null).sphere(radius);
+});
+/**
+ * Controls the detail used to render a sphere by adjusting the number
+ * of vertices of the sphere mesh. The default resolution is 30, which
+ * creates a fairly detailed sphere definition with vertices every
+ * 360/30 = 12 degrees. If you're going to render a great number of
+ * spheres per frame, it is advised to reduce the level of detail using
+ * this function. The setting stays active until sphere-detail is
+ * called again with a new parameter and so should not be called prior
+ * to every sphere statement, unless you wish to render spheres with
+ * different settings, e.g. using less detail for smaller spheres or
+ * ones further away from the camera. To controla the detail of the
+ * horizontal and vertical resolution independently, use the version of
+ * the functions with two parameters.
+ */
+quil.core.sphere_detail = (function quil$core$sphere_detail(var_args){
+var args8714 = [];
+var len__7927__auto___8717 = arguments.length;
+var i__7928__auto___8718 = (0);
+while(true){
+if((i__7928__auto___8718 < len__7927__auto___8717)){
+args8714.push((arguments[i__7928__auto___8718]));
+
+var G__8719 = (i__7928__auto___8718 + (1));
+i__7928__auto___8718 = G__8719;
+continue;
+} else {
+}
+break;
+}
+
+var G__8716 = args8714.length;
+switch (G__8716) {
+case 1:
+return quil.core.sphere_detail.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.sphere_detail.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8714.length)].join('')));
+
+}
+});
+
+quil.core.sphere_detail.cljs$core$IFn$_invoke$arity$1 = (function (res){
+return quil.core.current_graphics.call(null).sphereDetail((res | (0)));
+});
+
+quil.core.sphere_detail.cljs$core$IFn$_invoke$arity$2 = (function (ures,vres){
+return quil.core.current_graphics.call(null).sphereDetail((ures | (0)),(vres | (0)));
+});
+
+quil.core.sphere_detail.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Adds a spot light. Lights need to be included in the draw to
+ * remain persistent in a looping program. Placing them in the setup
+ * of a looping program will cause them to only have an effect the
+ * first time through the loop. The affect of the r, g, and b
+ * parameters is determined by the current color mode. The x, y, and z
+ * parameters specify the position of the light and nx, ny, nz specify
+ * the direction or light. The angle parameter affects angle of the
+ * spotlight cone.
+ */
+quil.core.spot_light = (function quil$core$spot_light(var_args){
+var args8721 = [];
+var len__7927__auto___8736 = arguments.length;
+var i__7928__auto___8737 = (0);
+while(true){
+if((i__7928__auto___8737 < len__7927__auto___8736)){
+args8721.push((arguments[i__7928__auto___8737]));
+
+var G__8738 = (i__7928__auto___8737 + (1));
+i__7928__auto___8737 = G__8738;
+continue;
+} else {
+}
+break;
+}
+
+var G__8723 = args8721.length;
+switch (G__8723) {
+case 11:
+return quil.core.spot_light.cljs$core$IFn$_invoke$arity$11((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]));
+
+break;
+case 5:
+return quil.core.spot_light.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8721.length)].join('')));
+
+}
+});
+
+quil.core.spot_light.cljs$core$IFn$_invoke$arity$11 = (function (r,g,b,x,y,z,nx,ny,nz,angle,concentration){
+return quil.core.current_graphics.call(null).spotLight(r,g,b,x,y,z,nx,ny,nz,angle,concentration);
+});
+
+quil.core.spot_light.cljs$core$IFn$_invoke$arity$5 = (function (p__8724,p__8725,p__8726,angle,concentration){
+var vec__8727 = p__8724;
+var r = cljs.core.nth.call(null,vec__8727,(0),null);
+var g = cljs.core.nth.call(null,vec__8727,(1),null);
+var b = cljs.core.nth.call(null,vec__8727,(2),null);
+var vec__8730 = p__8725;
+var x = cljs.core.nth.call(null,vec__8730,(0),null);
+var y = cljs.core.nth.call(null,vec__8730,(1),null);
+var z = cljs.core.nth.call(null,vec__8730,(2),null);
+var vec__8733 = p__8726;
+var nx = cljs.core.nth.call(null,vec__8733,(0),null);
+var ny = cljs.core.nth.call(null,vec__8733,(1),null);
+var nz = cljs.core.nth.call(null,vec__8733,(2),null);
+return quil.core.current_graphics.call(null).spotLight(r,g,b,x,y,z,nx,ny,nz,angle,concentration);
+});
+
+quil.core.spot_light.cljs$lang$maxFixedArity = 11;
+
+/**
+ * Squares a number (multiplies a number by itself). The result is
+ * always a positive number, as multiplying two negative numbers always
+ * yields a positive result. For example, -1 * -1 = 1.
+ */
+quil.core.sq = (function quil$core$sq(a){
+return quil.sketch.current_applet.call(null).sq(a);
+});
+/**
+ * Calculates the square root of a number. The square root of a number
+ * is always positive, even though there may be a valid negative
+ * root. The square root s of number a is such that (= a (* s s)) . It
+ * is the opposite of squaring.
+ */
+quil.core.sqrt = (function quil$core$sqrt(a){
+return quil.sketch.current_applet.call(null).sqrt(a);
+});
+/**
+ * Causes Processing to continuously execute the code within
+ * draw. If no-loop is called, the code in draw stops executing.
+ */
+quil.core.start_loop = (function quil$core$start_loop(){
+return quil.sketch.current_applet.call(null).loop();
+});
+/**
+ * Sets the color used to draw lines and borders around
+ * shapes. Converts all args to floats
+ */
+quil.core.stroke_float = (function quil$core$stroke_float(var_args){
+var args8740 = [];
+var len__7927__auto___8743 = arguments.length;
+var i__7928__auto___8744 = (0);
+while(true){
+if((i__7928__auto___8744 < len__7927__auto___8743)){
+args8740.push((arguments[i__7928__auto___8744]));
+
+var G__8745 = (i__7928__auto___8744 + (1));
+i__7928__auto___8744 = G__8745;
+continue;
+} else {
+}
+break;
+}
+
+var G__8742 = args8740.length;
+switch (G__8742) {
+case 1:
+return quil.core.stroke_float.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.stroke_float.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.stroke_float.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.stroke_float.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8740.length)].join('')));
+
+}
+});
+
+quil.core.stroke_float.cljs$core$IFn$_invoke$arity$1 = (function (gray){
+return quil.core.current_graphics.call(null).stroke(gray);
+});
+
+quil.core.stroke_float.cljs$core$IFn$_invoke$arity$2 = (function (gray,alpha){
+return quil.core.current_graphics.call(null).stroke(gray,alpha);
+});
+
+quil.core.stroke_float.cljs$core$IFn$_invoke$arity$3 = (function (x,y,z){
+return quil.core.current_graphics.call(null).stroke(x,y,z);
+});
+
+quil.core.stroke_float.cljs$core$IFn$_invoke$arity$4 = (function (x,y,z,a){
+return quil.core.current_graphics.call(null).stroke(x,y,z,a);
+});
+
+quil.core.stroke_float.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Sets the color used to draw lines and borders around
+ * shapes. Converts rgb to int and alpha to a float.
+ */
+quil.core.stroke_int = (function quil$core$stroke_int(var_args){
+var args8747 = [];
+var len__7927__auto___8750 = arguments.length;
+var i__7928__auto___8751 = (0);
+while(true){
+if((i__7928__auto___8751 < len__7927__auto___8750)){
+args8747.push((arguments[i__7928__auto___8751]));
+
+var G__8752 = (i__7928__auto___8751 + (1));
+i__7928__auto___8751 = G__8752;
+continue;
+} else {
+}
+break;
+}
+
+var G__8749 = args8747.length;
+switch (G__8749) {
+case 1:
+return quil.core.stroke_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.stroke_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8747.length)].join('')));
+
+}
+});
+
+quil.core.stroke_int.cljs$core$IFn$_invoke$arity$1 = (function (rgb){
+return quil.core.current_graphics.call(null).stroke(cljs.core.unchecked_int.call(null,rgb));
+});
+
+quil.core.stroke_int.cljs$core$IFn$_invoke$arity$2 = (function (rgb,alpha){
+return quil.core.current_graphics.call(null).stroke(cljs.core.unchecked_int.call(null,rgb),alpha);
+});
+
+quil.core.stroke_int.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Sets the color used to draw lines and borders around shapes. This
+ * color is either specified in terms of the RGB or HSB color depending
+ * on the current color-mode (the default color space is RGB, with
+ * each value in the range from 0 to 255).
+ */
+quil.core.stroke = (function quil$core$stroke(var_args){
+var args8754 = [];
+var len__7927__auto___8757 = arguments.length;
+var i__7928__auto___8758 = (0);
+while(true){
+if((i__7928__auto___8758 < len__7927__auto___8757)){
+args8754.push((arguments[i__7928__auto___8758]));
+
+var G__8759 = (i__7928__auto___8758 + (1));
+i__7928__auto___8758 = G__8759;
+continue;
+} else {
+}
+break;
+}
+
+var G__8756 = args8754.length;
+switch (G__8756) {
+case 1:
+return quil.core.stroke.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.stroke.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.stroke.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.stroke.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8754.length)].join('')));
+
+}
+});
+
+quil.core.stroke.cljs$core$IFn$_invoke$arity$1 = (function (rgb){
+return quil.core.stroke_float.call(null,rgb);
+});
+
+quil.core.stroke.cljs$core$IFn$_invoke$arity$2 = (function (rgb,alpha){
+return quil.core.stroke_float.call(null,rgb,alpha);
+});
+
+quil.core.stroke.cljs$core$IFn$_invoke$arity$3 = (function (x,y,z){
+return quil.core.stroke_float.call(null,x,y,z);
+});
+
+quil.core.stroke.cljs$core$IFn$_invoke$arity$4 = (function (x,y,z,a){
+return quil.core.stroke_float.call(null,x,y,z,a);
+});
+
+quil.core.stroke.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Sets the style for rendering line endings. These ends are either
+ * squared, extended, or rounded and specified with the corresponding
+ * parameters :square, :project, and :round. The default cap is :round.
+ */
+quil.core.stroke_cap = (function quil$core$stroke_cap(cap_mode){
+var cap_mode__$1 = quil.util.resolve_constant_key.call(null,cap_mode,quil.core.stroke_cap_modes);
+return quil.core.current_graphics.call(null).strokeCap([cljs.core.str.cljs$core$IFn$_invoke$arity$1(cap_mode__$1)].join(''));
+});
+/**
+ * Sets the style of the joints which connect line
+ * segments. These joints are either mitered, beveled, or rounded and
+ * specified with the corresponding parameters :miter, :bevel, and
+ * :round. The default joint is :miter.
+ *
+ * This function is not available with the :p2d, :p3d, or :opengl
+ * renderers.
+ */
+quil.core.stroke_join = (function quil$core$stroke_join(join_mode){
+var join_mode__$1 = quil.util.resolve_constant_key.call(null,join_mode,quil.core.stroke_join_modes);
+return quil.core.current_graphics.call(null).strokeJoin([cljs.core.str.cljs$core$IFn$_invoke$arity$1(join_mode__$1)].join(''));
+});
+/**
+ * Sets the width of the stroke used for lines, points, and the border
+ * around shapes. All widths are set in units of pixels.
+ */
+quil.core.stroke_weight = (function quil$core$stroke_weight(weight){
+return quil.core.current_graphics.call(null).strokeWeight(weight);
+});
+/**
+ * Calculates the ratio of the sine and cosine of an angle. This
+ * function expects the values of the angle parameter to be provided in
+ * radians (values from 0 to PI*2). Values are returned in the range
+ * infinity to -infinity.
+ */
+quil.core.tan = (function quil$core$tan(angle){
+return quil.sketch.current_applet.call(null).tan(angle);
+});
+/**
+ * Returns the target framerate specified with the fn frame-rate
+ */
+quil.core.target_frame_rate = (function quil$core$target_frame_rate(){
+return cljs.core.deref.call(null,quil.sketch.current_applet.call(null).target_frame_rate);
+});
+/**
+ * Returns whether fill is disabled for current graphics.
+ */
+quil.core.no_fill_QMARK_ = (function quil$core$no_fill_QMARK_(graphics){
+return (graphics[quil.core.no_fill_prop]) === true;
+});
+/**
+ * Draws a char to the screen in the specified position. See text fn
+ * for more details.
+ */
+quil.core.text_char = (function quil$core$text_char(var_args){
+var args8761 = [];
+var len__7927__auto___8764 = arguments.length;
+var i__7928__auto___8765 = (0);
+while(true){
+if((i__7928__auto___8765 < len__7927__auto___8764)){
+args8761.push((arguments[i__7928__auto___8765]));
+
+var G__8766 = (i__7928__auto___8765 + (1));
+i__7928__auto___8765 = G__8766;
+continue;
+} else {
+}
+break;
+}
+
+var G__8763 = args8761.length;
+switch (G__8763) {
+case 3:
+return quil.core.text_char.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.text_char.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8761.length)].join('')));
+
+}
+});
+
+quil.core.text_char.cljs$core$IFn$_invoke$arity$3 = (function (c,x,y){
+if(cljs.core.truth_(quil.core.no_fill_QMARK_.call(null,quil.core.current_graphics.call(null)))){
+return null;
+} else {
+return quil.core.current_graphics.call(null).text(cljs.core.char$.call(null,c),x,y);
+}
+});
+
+quil.core.text_char.cljs$core$IFn$_invoke$arity$4 = (function (c,x,y,z){
+if(cljs.core.truth_(quil.core.no_fill_QMARK_.call(null,quil.core.current_graphics.call(null)))){
+return null;
+} else {
+return quil.core.current_graphics.call(null).text(cljs.core.char$.call(null,c),x,y,z);
+}
+});
+
+quil.core.text_char.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Draws a number to the screen in the specified position. See text fn
+ * for more details.
+ */
+quil.core.text_num = (function quil$core$text_num(var_args){
+var args8768 = [];
+var len__7927__auto___8771 = arguments.length;
+var i__7928__auto___8772 = (0);
+while(true){
+if((i__7928__auto___8772 < len__7927__auto___8771)){
+args8768.push((arguments[i__7928__auto___8772]));
+
+var G__8773 = (i__7928__auto___8772 + (1));
+i__7928__auto___8772 = G__8773;
+continue;
+} else {
+}
+break;
+}
+
+var G__8770 = args8768.length;
+switch (G__8770) {
+case 3:
+return quil.core.text_num.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.text_num.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8768.length)].join('')));
+
+}
+});
+
+quil.core.text_num.cljs$core$IFn$_invoke$arity$3 = (function (num,x,y){
+if(cljs.core.truth_(quil.core.no_fill_QMARK_.call(null,quil.core.current_graphics.call(null)))){
+return null;
+} else {
+return quil.core.current_graphics.call(null).text(num,x,y);
+}
+});
+
+quil.core.text_num.cljs$core$IFn$_invoke$arity$4 = (function (num,x,y,z){
+if(cljs.core.truth_(quil.core.no_fill_QMARK_.call(null,quil.core.current_graphics.call(null)))){
+return null;
+} else {
+return quil.core.current_graphics.call(null).text(num,x,y,z);
+}
+});
+
+quil.core.text_num.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Draws text to the screen in the position specified by the x and y
+ * parameters and the optional z parameter. A default font will be used
+ * unless a font is set with the text-font fn. Change the color of the
+ * text with the fill fn. The text displays in relation to the
+ * text-align fn, which gives the option to draw to the left, right, and
+ * center of the coordinates.
+ *
+ * The x1, y1, x2 and y2 parameters define a
+ * rectangular area to display within and may only be used with string
+ * data. For text drawn inside a rectangle, the coordinates are
+ * interpreted based on the current rect-mode setting.
+ */
+quil.core.text = (function quil$core$text(var_args){
+var args8775 = [];
+var len__7927__auto___8778 = arguments.length;
+var i__7928__auto___8779 = (0);
+while(true){
+if((i__7928__auto___8779 < len__7927__auto___8778)){
+args8775.push((arguments[i__7928__auto___8779]));
+
+var G__8780 = (i__7928__auto___8779 + (1));
+i__7928__auto___8779 = G__8780;
+continue;
+} else {
+}
+break;
+}
+
+var G__8777 = args8775.length;
+switch (G__8777) {
+case 3:
+return quil.core.text.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.text.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+case 5:
+return quil.core.text.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8775.length)].join('')));
+
+}
+});
+
+quil.core.text.cljs$core$IFn$_invoke$arity$3 = (function (s,x,y){
+if(cljs.core.truth_(quil.core.no_fill_QMARK_.call(null,quil.core.current_graphics.call(null)))){
+return null;
+} else {
+return quil.core.current_graphics.call(null).text(s,x,y);
+}
+});
+
+quil.core.text.cljs$core$IFn$_invoke$arity$4 = (function (s,x,y,z){
+if(cljs.core.truth_(quil.core.no_fill_QMARK_.call(null,quil.core.current_graphics.call(null)))){
+return null;
+} else {
+return quil.core.current_graphics.call(null).text(s,x,y,z);
+}
+});
+
+quil.core.text.cljs$core$IFn$_invoke$arity$5 = (function (s,x1,y1,x2,y2){
+if(cljs.core.truth_(quil.core.no_fill_QMARK_.call(null,quil.core.current_graphics.call(null)))){
+return null;
+} else {
+return quil.core.current_graphics.call(null).text(s,x1,y1,x2,y2);
+}
+});
+
+quil.core.text.cljs$lang$maxFixedArity = 5;
+
+/**
+ * Sets the current alignment for drawing text. Available modes are:
+ *
+ * horizontal - :left, :center, and :right
+ * vertical - :top, :bottom, :center, and :baseline
+ *
+ * An optional second parameter specifies the vertical alignment
+ * mode. :baseline is the default. The :top and :center parameters are
+ * straightforward. The :bottom parameter offsets the line based on the
+ * current text-descent. For multiple lines, the final line will be
+ * aligned to the bottom, with the previous lines appearing above it.
+ *
+ * When using text with width and height parameters, :baseline is
+ * ignored, and treated as :top. (Otherwise, text would by default draw
+ * outside the box, since :baseline is the default setting. :baseline is
+ * not a useful drawing mode for text drawn in a rectangle.)
+ *
+ * The vertical alignment is based on the value of text-ascent, which
+ * many fonts do not specify correctly. It may be necessary to use a
+ * hack and offset by a few pixels by hand so that the offset looks
+ * correct. To do this as less of a hack, use some percentage of
+ * text-ascent or text-descent so that the hack works even if you
+ * change the size of the font.
+ */
+quil.core.text_align = (function quil$core$text_align(var_args){
+var args8782 = [];
+var len__7927__auto___8785 = arguments.length;
+var i__7928__auto___8786 = (0);
+while(true){
+if((i__7928__auto___8786 < len__7927__auto___8785)){
+args8782.push((arguments[i__7928__auto___8786]));
+
+var G__8787 = (i__7928__auto___8786 + (1));
+i__7928__auto___8786 = G__8787;
+continue;
+} else {
+}
+break;
+}
+
+var G__8784 = args8782.length;
+switch (G__8784) {
+case 1:
+return quil.core.text_align.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.text_align.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8782.length)].join('')));
+
+}
+});
+
+quil.core.text_align.cljs$core$IFn$_invoke$arity$1 = (function (align){
+var align__$1 = quil.util.resolve_constant_key.call(null,align,quil.core.horizontal_alignment_modes);
+return quil.core.current_graphics.call(null).textAlign((align__$1 | (0)));
+});
+
+quil.core.text_align.cljs$core$IFn$_invoke$arity$2 = (function (align_x,align_y){
+var align_x__$1 = quil.util.resolve_constant_key.call(null,align_x,quil.core.horizontal_alignment_modes);
+var align_y__$1 = quil.util.resolve_constant_key.call(null,align_y,quil.core.vertical_alignment_modes);
+return quil.core.current_graphics.call(null).textAlign((align_x__$1 | (0)),(align_y__$1 | (0)));
+});
+
+quil.core.text_align.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Returns the ascent of the current font at its current size. This
+ * information is useful for determining the height of the font above
+ * the baseline. For example, adding the text-ascent and text-descent
+ * values will give you the total height of the line.
+ */
+quil.core.text_ascent = (function quil$core$text_ascent(){
+return quil.core.current_graphics.call(null).textAscent();
+});
+/**
+ * Returns descent of the current font at its current size. This
+ * information is useful for determining the height of the font below
+ * the baseline. For example, adding the text-ascent and text-descent
+ * values will give you the total height of the line.
+ */
+quil.core.text_descent = (function quil$core$text_descent(){
+return quil.core.current_graphics.call(null).textDescent();
+});
+/**
+ * Sets the current font that will be drawn with the text
+ * function. Fonts must be loaded with load-font before it can be
+ * used. This font will be used in all subsequent calls to the text
+ * function. If no size parameter is input, the font will appear at its
+ * original size until it is changed with text-size.
+ *
+ * Because fonts are usually bitmaped, you should create fonts at the
+ * sizes that will be used most commonly. Using textFont without the
+ * size parameter will result in the cleanest-looking text.
+ *
+ * With the default (JAVA2D) and PDF renderers, it's also possible to
+ * enable the use of native fonts via the command
+ * (hint :enable-native-fonts). This will produce vector text in JAVA2D
+ * sketches and PDF output in cases where the vector data is available:
+ * when the font is still installed, or the font is created via the
+ * create-font fn
+ */
+quil.core.text_font = (function quil$core$text_font(var_args){
+var args8789 = [];
+var len__7927__auto___8792 = arguments.length;
+var i__7928__auto___8793 = (0);
+while(true){
+if((i__7928__auto___8793 < len__7927__auto___8792)){
+args8789.push((arguments[i__7928__auto___8793]));
+
+var G__8794 = (i__7928__auto___8793 + (1));
+i__7928__auto___8793 = G__8794;
+continue;
+} else {
+}
+break;
+}
+
+var G__8791 = args8789.length;
+switch (G__8791) {
+case 1:
+return quil.core.text_font.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.text_font.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8789.length)].join('')));
+
+}
+});
+
+quil.core.text_font.cljs$core$IFn$_invoke$arity$1 = (function (font){
+return quil.core.current_graphics.call(null).textFont(font);
+});
+
+quil.core.text_font.cljs$core$IFn$_invoke$arity$2 = (function (font,size){
+return quil.core.current_graphics.call(null).textFont(font,(size | (0)));
+});
+
+quil.core.text_font.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Sets the spacing between lines of text in units of pixels. This
+ * setting will be used in all subsequent calls to the text function.
+ */
+quil.core.text_leading = (function quil$core$text_leading(leading){
+return quil.core.current_graphics.call(null).textLeading(leading);
+});
+/**
+ * Sets the way text draws to the screen - available modes
+ * are :model and :shape
+ *
+ * In the default configuration (the :model mode), it's possible to
+ * rotate, scale, and place letters in two and three dimensional space.
+ *
+ * The :shape mode draws text using the glyph outlines of individual
+ * characters rather than as textures. This mode is only supported with
+ * the PDF and OPENGL renderer settings. With the PDF renderer, you
+ * must specify the :shape text-mode before any other drawing occurs.
+ * If the outlines are not available, then :shape will be ignored and
+ * :model will be used instead.
+ *
+ * The :shape option in OPENGL mode can be combined with begin-raw to
+ * write vector-accurate text to 2D and 3D output files, for instance
+ * DXF or PDF. :shape is not currently optimized for OPENGL, so if
+ * recording shape data, use :model until you're ready to capture the
+ * geometry with begin-raw.
+ */
+quil.core.text_mode = (function quil$core$text_mode(mode){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.text_modes);
+return quil.core.current_graphics.call(null).textMode((mode__$1 | (0)));
+});
+/**
+ * Sets the current font size. This size will be used in all
+ * subsequent calls to the text fn. Font size is measured in
+ * units of pixels.
+ */
+quil.core.text_size = (function quil$core$text_size(size){
+return quil.core.current_graphics.call(null).textSize(size);
+});
+/**
+ * Sets a texture to be applied to vertex points. The texture fn must
+ * be called between begin-shape and end-shape and before any calls to
+ * vertex.
+ *
+ * When textures are in use, the fill color is ignored. Instead, use
+ * tint to specify the color of the texture as it is applied to the
+ * shape.
+ */
+quil.core.texture = (function quil$core$texture(img){
+return quil.core.current_graphics.call(null).texture(img);
+});
+/**
+ * Sets the coordinate space for texture mapping. There are two
+ * options, :image and :normal.
+ *
+ * :image refers to the actual coordinates of the image and :normal
+ * refers to a normalized space of values ranging from 0 to 1. The
+ * default mode is :image. In :image, if an image is 100 x 200 pixels,
+ * mapping the image onto the entire size of a quad would require the
+ * points (0,0) (0,100) (100,200) (0,200). The same mapping in
+ * NORMAL_SPACE is (0,0) (0,1) (1,1) (0,1).
+ */
+quil.core.texture_mode = (function quil$core$texture_mode(mode){
+var mode__$1 = quil.util.resolve_constant_key.call(null,mode,quil.core.texture_modes);
+return quil.core.current_graphics.call(null).textureMode((mode__$1 | (0)));
+});
+/**
+ * Calculates and returns the width of any text string.
+ */
+quil.core.text_width = (function quil$core$text_width(data){
+return quil.core.current_graphics.call(null).textWidth(data);
+});
+/**
+ * Sets the fill value for displaying images. Images can be tinted to
+ * specified colors or made transparent by setting the alpha.
+ *
+ * To make an image transparent, but not change it's color, use white
+ * as the tint color and specify an alpha value. For instance,
+ * tint(255, 128) will make an image 50% transparent (unless
+ * colorMode() has been used).
+ *
+ * The value for the parameter gray must be less than or equal to the
+ * current maximum value as specified by colorMode(). The default
+ * maximum value is 255.
+ *
+ * Also used to control the coloring of textures in 3D.
+ */
+quil.core.tint_float = (function quil$core$tint_float(var_args){
+var args8796 = [];
+var len__7927__auto___8799 = arguments.length;
+var i__7928__auto___8800 = (0);
+while(true){
+if((i__7928__auto___8800 < len__7927__auto___8799)){
+args8796.push((arguments[i__7928__auto___8800]));
+
+var G__8801 = (i__7928__auto___8800 + (1));
+i__7928__auto___8800 = G__8801;
+continue;
+} else {
+}
+break;
+}
+
+var G__8798 = args8796.length;
+switch (G__8798) {
+case 1:
+return quil.core.tint_float.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.tint_float.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.tint_float.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.tint_float.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8796.length)].join('')));
+
+}
+});
+
+quil.core.tint_float.cljs$core$IFn$_invoke$arity$1 = (function (gray){
+return quil.core.current_graphics.call(null).tint(gray);
+});
+
+quil.core.tint_float.cljs$core$IFn$_invoke$arity$2 = (function (gray,alpha){
+return quil.core.current_graphics.call(null).tint(gray,alpha);
+});
+
+quil.core.tint_float.cljs$core$IFn$_invoke$arity$3 = (function (r,g,b){
+return quil.core.current_graphics.call(null).tint(r,g,b);
+});
+
+quil.core.tint_float.cljs$core$IFn$_invoke$arity$4 = (function (r,g,b,a){
+return quil.core.current_graphics.call(null).tint(g,g,b,a);
+});
+
+quil.core.tint_float.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Sets the fill value for displaying images. Images can be tinted to
+ * specified colors or made transparent by setting the alpha.
+ *
+ * To make an image transparent, but not change it's color, use white
+ * as the tint color and specify an alpha value. For instance,
+ * tint(255, 128) will make an image 50% transparent (unless
+ * colorMode() has been used).
+ *
+ * The value for the parameter gray must be less than or equal to the
+ * current maximum value as specified by colorMode(). The default
+ * maximum value is 255.
+ *
+ * Also used to control the coloring of textures in 3D.
+ */
+quil.core.tint_int = (function quil$core$tint_int(var_args){
+var args8803 = [];
+var len__7927__auto___8806 = arguments.length;
+var i__7928__auto___8807 = (0);
+while(true){
+if((i__7928__auto___8807 < len__7927__auto___8806)){
+args8803.push((arguments[i__7928__auto___8807]));
+
+var G__8808 = (i__7928__auto___8807 + (1));
+i__7928__auto___8807 = G__8808;
+continue;
+} else {
+}
+break;
+}
+
+var G__8805 = args8803.length;
+switch (G__8805) {
+case 1:
+return quil.core.tint_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.tint_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8803.length)].join('')));
+
+}
+});
+
+quil.core.tint_int.cljs$core$IFn$_invoke$arity$1 = (function (rgb){
+return quil.core.current_graphics.call(null).tint(cljs.core.unchecked_int.call(null,rgb));
+});
+
+quil.core.tint_int.cljs$core$IFn$_invoke$arity$2 = (function (rgb,alpha){
+return quil.core.current_graphics.call(null).tint(cljs.core.unchecked_int.call(null,rgb),alpha);
+});
+
+quil.core.tint_int.cljs$lang$maxFixedArity = 2;
+
+/**
+ * Sets the fill value for displaying images. Images can be tinted to
+ * specified colors or made transparent by setting the alpha.
+ *
+ * To make an image transparent, but not change it's color, use white
+ * as the tint color and specify an alpha value. For instance,
+ * tint(255, 128) will make an image 50% transparent (unless
+ * colorMode() has been used).
+ *
+ * The value for the parameter gray must be less than or equal to the
+ * current maximum value as specified by colorMode(). The default
+ * maximum value is 255.
+ *
+ * Also used to control the coloring of textures in 3D.
+ */
+quil.core.tint = (function quil$core$tint(var_args){
+var args8810 = [];
+var len__7927__auto___8813 = arguments.length;
+var i__7928__auto___8814 = (0);
+while(true){
+if((i__7928__auto___8814 < len__7927__auto___8813)){
+args8810.push((arguments[i__7928__auto___8814]));
+
+var G__8815 = (i__7928__auto___8814 + (1));
+i__7928__auto___8814 = G__8815;
+continue;
+} else {
+}
+break;
+}
+
+var G__8812 = args8810.length;
+switch (G__8812) {
+case 1:
+return quil.core.tint.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.tint.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.tint.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.tint.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8810.length)].join('')));
+
+}
+});
+
+quil.core.tint.cljs$core$IFn$_invoke$arity$1 = (function (rgb){
+return quil.core.current_graphics.call(null).tint(rgb);
+});
+
+quil.core.tint.cljs$core$IFn$_invoke$arity$2 = (function (rgb,alpha){
+return quil.core.current_graphics.call(null).tint(rgb,alpha);
+});
+
+quil.core.tint.cljs$core$IFn$_invoke$arity$3 = (function (r,g,b){
+return quil.core.tint_float.call(null,r,g,b);
+});
+
+quil.core.tint.cljs$core$IFn$_invoke$arity$4 = (function (r,g,b,a){
+return quil.core.tint_float.call(null,r,g,b,a);
+});
+
+quil.core.tint.cljs$lang$maxFixedArity = 4;
+
+/**
+ * Specifies an amount to displace objects within the display
+ * window. The x parameter specifies left/right translation, the y
+ * parameter specifies up/down translation, and the z parameter
+ * specifies translations toward/away from the screen. Transformations
+ * apply to everything that happens after and subsequent calls to the
+ * function accumulates the effect. For example, calling (translate 50
+ * 0) and then (translate 20, 0) is the same as (translate 70, 0). If
+ * translate is called within draw, the transformation is reset when
+ * the loop begins again. This function can be further controlled by
+ * the push-matrix and pop-matrix.
+ */
+quil.core.translate = (function quil$core$translate(var_args){
+var args8817 = [];
+var len__7927__auto___8820 = arguments.length;
+var i__7928__auto___8821 = (0);
+while(true){
+if((i__7928__auto___8821 < len__7927__auto___8820)){
+args8817.push((arguments[i__7928__auto___8821]));
+
+var G__8822 = (i__7928__auto___8821 + (1));
+i__7928__auto___8821 = G__8822;
+continue;
+} else {
+}
+break;
+}
+
+var G__8819 = args8817.length;
+switch (G__8819) {
+case 1:
+return quil.core.translate.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.core.translate.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.translate.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8817.length)].join('')));
+
+}
+});
+
+quil.core.translate.cljs$core$IFn$_invoke$arity$1 = (function (v){
+return cljs.core.apply.call(null,quil.core.translate,v);
+});
+
+quil.core.translate.cljs$core$IFn$_invoke$arity$2 = (function (tx,ty){
+return quil.core.current_graphics.call(null).translate(tx,ty);
+});
+
+quil.core.translate.cljs$core$IFn$_invoke$arity$3 = (function (tx,ty,tz){
+return quil.core.current_graphics.call(null).translate(tx,ty,tz);
+});
+
+quil.core.translate.cljs$lang$maxFixedArity = 3;
+
+/**
+ * A triangle is a plane created by connecting three points. The first
+ * two arguments specify the first point, the middle two arguments
+ * specify the second point, and the last two arguments specify the
+ * third point.
+ */
+quil.core.triangle = (function quil$core$triangle(x1,y1,x2,y2,x3,y3){
+return quil.core.current_graphics.call(null).triangle(x1,y1,x2,y2,x3,y3);
+});
+/**
+ * Unpack a binary string to an integer. See binary for converting
+ * integers to strings.
+ */
+quil.core.unbinary = (function quil$core$unbinary(str_val){
+return quil.sketch.current_applet.call(null).unbinary([cljs.core.str.cljs$core$IFn$_invoke$arity$1(str_val)].join(''));
+});
+/**
+ * Converts a String representation of a hexadecimal number to its
+ * equivalent integer value.
+ */
+quil.core.unhex = (function quil$core$unhex(hex_str){
+return quil.sketch.current_applet.call(null).unhex([cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex_str)].join(''));
+});
+/**
+ * Updates the display window or image with the data in the pixels array.
+ * Use in conjunction with (pixels). If you're only reading pixels from
+ * the array, there's no need to call update-pixels unless there are
+ * changes.
+ *
+ * Certain renderers may or may not seem to require pixels or
+ * update-pixels. However, the rule is that any time you want to
+ * manipulate the pixels array, you must first call pixels, and
+ * after changes have been made, call update-pixels. Even if the
+ * renderer may not seem to use this function in the current Processing
+ * release, this will always be subject to change.
+ */
+quil.core.update_pixels = (function quil$core$update_pixels(var_args){
+var args8824 = [];
+var len__7927__auto___8827 = arguments.length;
+var i__7928__auto___8828 = (0);
+while(true){
+if((i__7928__auto___8828 < len__7927__auto___8827)){
+args8824.push((arguments[i__7928__auto___8828]));
+
+var G__8829 = (i__7928__auto___8828 + (1));
+i__7928__auto___8828 = G__8829;
+continue;
+} else {
+}
+break;
+}
+
+var G__8826 = args8824.length;
+switch (G__8826) {
+case 0:
+return quil.core.update_pixels.cljs$core$IFn$_invoke$arity$0();
+
+break;
+case 1:
+return quil.core.update_pixels.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8824.length)].join('')));
+
+}
+});
+
+quil.core.update_pixels.cljs$core$IFn$_invoke$arity$0 = (function (){
+return quil.core.update_pixels.call(null,quil.core.current_graphics.call(null));
+});
+
+quil.core.update_pixels.cljs$core$IFn$_invoke$arity$1 = (function (img){
+var temp__4657__auto___8831 = img.stored_pix_array;
+if(cljs.core.truth_(temp__4657__auto___8831)){
+var pix_array_8832 = temp__4657__auto___8831;
+img.pixels.set(pix_array_8832);
+
+img.stored_pix_array = null;
+} else {
+}
+
+return img.updatePixels();
+});
+
+quil.core.update_pixels.cljs$lang$maxFixedArity = 1;
+
+/**
+ * All shapes are constructed by connecting a series of
+ * vertices. vertex is used to specify the vertex coordinates for
+ * points, lines, triangles, quads, and polygons and is used
+ * exclusively within the begin-shape and end-shape fns.
+ *
+ * Drawing a vertex in 3D using the z parameter requires the :p3d or
+ * :opengl renderers to be used.
+ *
+ * This function is also used to map a texture onto the geometry. The
+ * texture fn declares the texture to apply to the geometry and the u
+ * and v coordinates set define the mapping of this texture to the
+ * form. By default, the coordinates used for u and v are specified in
+ * relation to the image's size in pixels, but this relation can be
+ * changed with texture-mode.
+ */
+quil.core.vertex = (function quil$core$vertex(var_args){
+var args8833 = [];
+var len__7927__auto___8836 = arguments.length;
+var i__7928__auto___8837 = (0);
+while(true){
+if((i__7928__auto___8837 < len__7927__auto___8836)){
+args8833.push((arguments[i__7928__auto___8837]));
+
+var G__8838 = (i__7928__auto___8837 + (1));
+i__7928__auto___8837 = G__8838;
+continue;
+} else {
+}
+break;
+}
+
+var G__8835 = args8833.length;
+switch (G__8835) {
+case 2:
+return quil.core.vertex.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.core.vertex.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+case 4:
+return quil.core.vertex.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
+
+break;
+case 5:
+return quil.core.vertex.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8833.length)].join('')));
+
+}
+});
+
+quil.core.vertex.cljs$core$IFn$_invoke$arity$2 = (function (x,y){
+return quil.core.current_graphics.call(null).vertex(x,y);
+});
+
+quil.core.vertex.cljs$core$IFn$_invoke$arity$3 = (function (x,y,z){
+return quil.core.current_graphics.call(null).vertex(x,y,z);
+});
+
+quil.core.vertex.cljs$core$IFn$_invoke$arity$4 = (function (x,y,u,v){
+return quil.core.current_graphics.call(null).vertex(x,y,u,v);
+});
+
+quil.core.vertex.cljs$core$IFn$_invoke$arity$5 = (function (x,y,z,u,v){
+return quil.core.current_graphics.call(null).vertex(x,y,z,u,v);
+});
+
+quil.core.vertex.cljs$lang$maxFixedArity = 5;
+
+/**
+ * Returns the current year as an integer (2003, 2004, 2005, etc).
+ */
+quil.core.year = (function quil$core$year(){
+return quil.sketch.current_applet.call(null).year();
+});
+/**
+ * Width of the display window. The value of width is zero until size is
+ * called.
+ */
+quil.core.width = (function quil$core$width(){
+return quil.sketch.current_applet.call(null).width;
+});
+/**
+ * Temporarily set the fill color for the body of this macro.
+ * The code outside of with-fill form will have the previous fill color set.
+ *
+ * The fill color has to be in a vector!
+ * Example: (with-fill [255] ...)
+ * (with-fill [10 80 98] ...)
+ */
+quil.core.with_fill = (function quil$core$with_fill(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8845 = arguments.length;
+var i__7928__auto___8846 = (0);
+while(true){
+if((i__7928__auto___8846 < len__7927__auto___8845)){
+args__7934__auto__.push((arguments[i__7928__auto___8846]));
+
+var G__8847 = (i__7928__auto___8846 + (1));
+i__7928__auto___8846 = G__8847;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((3) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((3)),(0),null)):null);
+return quil.core.with_fill.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7935__auto__);
+});
+
+quil.core.with_fill.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,fill_args,body){
+return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","let","cljs.core/let",-308701135,null)),(function (){var x__7656__auto__ = cljs.core.vec.call(null,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"old-fill__8840__auto__","old-fill__8840__auto__",-359378547,null)),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","current-fill","quil.core/current-fill",269663137,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})()))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","apply","cljs.core/apply",1757277831,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","fill","quil.core/fill",814613078,null)),(function (){var x__7656__auto__ = fill_args;
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),body,(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","fill","quil.core/fill",814613078,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"old-fill__8840__auto__","old-fill__8840__auto__",-359378547,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+});
+
+quil.core.with_fill.cljs$lang$maxFixedArity = (3);
+
+quil.core.with_fill.cljs$lang$applyTo = (function (seq8841){
+var G__8842 = cljs.core.first.call(null,seq8841);
+var seq8841__$1 = cljs.core.next.call(null,seq8841);
+var G__8843 = cljs.core.first.call(null,seq8841__$1);
+var seq8841__$2 = cljs.core.next.call(null,seq8841__$1);
+var G__8844 = cljs.core.first.call(null,seq8841__$2);
+var seq8841__$3 = cljs.core.next.call(null,seq8841__$2);
+return quil.core.with_fill.cljs$core$IFn$_invoke$arity$variadic(G__8842,G__8843,G__8844,seq8841__$3);
+});
+
+
+quil.core.with_fill.cljs$lang$macro = true;
+/**
+ * Temporarily set the stroke color for the body of this macro.
+ * The code outside of with-stroke form will have the previous stroke color set.
+ *
+ * The stroke color has to be in a vector!
+ * Example: (with-stroke [255] ...)
+ * (with-stroke [10 80 98] ...)
+ */
+quil.core.with_stroke = (function quil$core$with_stroke(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8853 = arguments.length;
+var i__7928__auto___8854 = (0);
+while(true){
+if((i__7928__auto___8854 < len__7927__auto___8853)){
+args__7934__auto__.push((arguments[i__7928__auto___8854]));
+
+var G__8855 = (i__7928__auto___8854 + (1));
+i__7928__auto___8854 = G__8855;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((3) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((3)),(0),null)):null);
+return quil.core.with_stroke.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7935__auto__);
+});
+
+quil.core.with_stroke.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,stroke_args,body){
+return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","let","cljs.core/let",-308701135,null)),(function (){var x__7656__auto__ = cljs.core.vec.call(null,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"old-stroke__8848__auto__","old-stroke__8848__auto__",1761539364,null)),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","current-stroke","quil.core/current-stroke",-1148124489,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})()))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","apply","cljs.core/apply",1757277831,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","stroke","quil.core/stroke",577473004,null)),(function (){var x__7656__auto__ = stroke_args;
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),body,(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","stroke","quil.core/stroke",577473004,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"old-stroke__8848__auto__","old-stroke__8848__auto__",1761539364,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+});
+
+quil.core.with_stroke.cljs$lang$maxFixedArity = (3);
+
+quil.core.with_stroke.cljs$lang$applyTo = (function (seq8849){
+var G__8850 = cljs.core.first.call(null,seq8849);
+var seq8849__$1 = cljs.core.next.call(null,seq8849);
+var G__8851 = cljs.core.first.call(null,seq8849__$1);
+var seq8849__$2 = cljs.core.next.call(null,seq8849__$1);
+var G__8852 = cljs.core.first.call(null,seq8849__$2);
+var seq8849__$3 = cljs.core.next.call(null,seq8849__$2);
+return quil.core.with_stroke.cljs$core$IFn$_invoke$arity$variadic(G__8850,G__8851,G__8852,seq8849__$3);
+});
+
+
+quil.core.with_stroke.cljs$lang$macro = true;
+/**
+ * Performs body with translation, restores current transformation on
+ * exit.
+ */
+quil.core.with_translation = (function quil$core$with_translation(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8861 = arguments.length;
+var i__7928__auto___8862 = (0);
+while(true){
+if((i__7928__auto___8862 < len__7927__auto___8861)){
+args__7934__auto__.push((arguments[i__7928__auto___8862]));
+
+var G__8863 = (i__7928__auto___8862 + (1));
+i__7928__auto___8862 = G__8863;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((3) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((3)),(0),null)):null);
+return quil.core.with_translation.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7935__auto__);
+});
+
+quil.core.with_translation.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,translation_vector,body){
+return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","let","cljs.core/let",-308701135,null)),(function (){var x__7656__auto__ = cljs.core.vec.call(null,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"tr__8856__auto__","tr__8856__auto__",-1965577474,null)),(function (){var x__7656__auto__ = translation_vector;
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})()))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","push-matrix","quil.core/push-matrix",1356326676,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"try","try",-1273693247,null)),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","translate","quil.core/translate",150889028,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"tr__8856__auto__","tr__8856__auto__",-1965577474,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),body,(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"finally","finally",-1065347064,null)),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","pop-matrix","quil.core/pop-matrix",310892617,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+});
+
+quil.core.with_translation.cljs$lang$maxFixedArity = (3);
+
+quil.core.with_translation.cljs$lang$applyTo = (function (seq8857){
+var G__8858 = cljs.core.first.call(null,seq8857);
+var seq8857__$1 = cljs.core.next.call(null,seq8857);
+var G__8859 = cljs.core.first.call(null,seq8857__$1);
+var seq8857__$2 = cljs.core.next.call(null,seq8857__$1);
+var G__8860 = cljs.core.first.call(null,seq8857__$2);
+var seq8857__$3 = cljs.core.next.call(null,seq8857__$2);
+return quil.core.with_translation.cljs$core$IFn$_invoke$arity$variadic(G__8858,G__8859,G__8860,seq8857__$3);
+});
+
+
+quil.core.with_translation.cljs$lang$macro = true;
+/**
+ * Performs body with rotation, restores current transformation on exit.
+ * Accepts a vector [angle] or [angle x-axis y-axis z-axis].
+ *
+ * Example:
+ * (with-rotation [angle]
+ * (vertex 1 2))
+ */
+quil.core.with_rotation = (function quil$core$with_rotation(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8869 = arguments.length;
+var i__7928__auto___8870 = (0);
+while(true){
+if((i__7928__auto___8870 < len__7927__auto___8869)){
+args__7934__auto__.push((arguments[i__7928__auto___8870]));
+
+var G__8871 = (i__7928__auto___8870 + (1));
+i__7928__auto___8870 = G__8871;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((3) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((3)),(0),null)):null);
+return quil.core.with_rotation.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7935__auto__);
+});
+
+quil.core.with_rotation.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,rotation,body){
+return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","let","cljs.core/let",-308701135,null)),(function (){var x__7656__auto__ = cljs.core.vec.call(null,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"tr__8864__auto__","tr__8864__auto__",370582360,null)),(function (){var x__7656__auto__ = rotation;
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})()))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","push-matrix","quil.core/push-matrix",1356326676,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"try","try",-1273693247,null)),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","apply","cljs.core/apply",1757277831,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","rotate","quil.core/rotate",-1944995048,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"tr__8864__auto__","tr__8864__auto__",370582360,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),body,(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"finally","finally",-1065347064,null)),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","pop-matrix","quil.core/pop-matrix",310892617,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+});
+
+quil.core.with_rotation.cljs$lang$maxFixedArity = (3);
+
+quil.core.with_rotation.cljs$lang$applyTo = (function (seq8865){
+var G__8866 = cljs.core.first.call(null,seq8865);
+var seq8865__$1 = cljs.core.next.call(null,seq8865);
+var G__8867 = cljs.core.first.call(null,seq8865__$1);
+var seq8865__$2 = cljs.core.next.call(null,seq8865__$1);
+var G__8868 = cljs.core.first.call(null,seq8865__$2);
+var seq8865__$3 = cljs.core.next.call(null,seq8865__$2);
+return quil.core.with_rotation.cljs$core$IFn$_invoke$arity$variadic(G__8866,G__8867,G__8868,seq8865__$3);
+});
+
+
+quil.core.with_rotation.cljs$lang$macro = true;
+/**
+ * All subsequent calls of any drawing function will draw on given
+ * graphics. 'with-graphics' cannot be nested (you can draw simultaneously
+ * only on 1 graphics)
+ */
+quil.core.with_graphics = (function quil$core$with_graphics(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8877 = arguments.length;
+var i__7928__auto___8878 = (0);
+while(true){
+if((i__7928__auto___8878 < len__7927__auto___8877)){
+args__7934__auto__.push((arguments[i__7928__auto___8878]));
+
+var G__8879 = (i__7928__auto___8878 + (1));
+i__7928__auto___8878 = G__8879;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((3) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((3)),(0),null)):null);
+return quil.core.with_graphics.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7935__auto__);
+});
+
+quil.core.with_graphics.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,graphics,body){
+return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","let","cljs.core/let",-308701135,null)),(function (){var x__7656__auto__ = cljs.core.vec.call(null,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"gr__8872__auto__","gr__8872__auto__",-1886717774,null)),(function (){var x__7656__auto__ = graphics;
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})()))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","binding","cljs.core/binding",2050379843,null)),(function (){var x__7656__auto__ = cljs.core.vec.call(null,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.core","*graphics*","quil.core/*graphics*",-1088142302,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"gr__8872__auto__","gr__8872__auto__",-1886717774,null))))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,".beginDraw",".beginDraw",1110767550,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"gr__8872__auto__","gr__8872__auto__",-1886717774,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),body,(function (){var x__7656__auto__ = cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,".endDraw",".endDraw",795589408,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"gr__8872__auto__","gr__8872__auto__",-1886717774,null)))));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+});
+
+quil.core.with_graphics.cljs$lang$maxFixedArity = (3);
+
+quil.core.with_graphics.cljs$lang$applyTo = (function (seq8873){
+var G__8874 = cljs.core.first.call(null,seq8873);
+var seq8873__$1 = cljs.core.next.call(null,seq8873);
+var G__8875 = cljs.core.first.call(null,seq8873__$1);
+var seq8873__$2 = cljs.core.next.call(null,seq8873__$1);
+var G__8876 = cljs.core.first.call(null,seq8873__$2);
+var seq8873__$3 = cljs.core.next.call(null,seq8873__$2);
+return quil.core.with_graphics.cljs$core$IFn$_invoke$arity$variadic(G__8874,G__8875,G__8876,seq8873__$3);
+});
+
+
+quil.core.with_graphics.cljs$lang$macro = true;
+/**
+ * Create and start a new visualisation applet. Can be used to create
+ * new sketches programmatically. See documentation for 'defsketch' for
+ * list of available options.
+ */
+quil.core.sketch = (function quil$core$sketch(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8881 = arguments.length;
+var i__7928__auto___8882 = (0);
+while(true){
+if((i__7928__auto___8882 < len__7927__auto___8881)){
+args__7934__auto__.push((arguments[i__7928__auto___8882]));
+
+var G__8883 = (i__7928__auto___8882 + (1));
+i__7928__auto___8882 = G__8883;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((0) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((0)),(0),null)):null);
+return quil.core.sketch.cljs$core$IFn$_invoke$arity$variadic(argseq__7935__auto__);
+});
+
+quil.core.sketch.cljs$core$IFn$_invoke$arity$variadic = (function (opts){
+return cljs.core.apply.call(null,quil.sketch.sketch,opts);
+});
+
+quil.core.sketch.cljs$lang$maxFixedArity = (0);
+
+quil.core.sketch.cljs$lang$applyTo = (function (seq8880){
+return quil.core.sketch.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq8880));
+});
+
+/**
+ * Define and start a sketch and bind it to a var with the symbol
+ * app-name. If any of the options to the various callbacks are
+ * symbols, it wraps them in a call to var to ensure they aren't
+ * inlined and that redefinitions to the original fns are reflected in
+ * the visualisation.
+ *
+ * Available options:
+ *
+ * :size - A vector of width and height for the sketch or :fullscreen.
+ * Defaults to [500 300]. If you're using :fullscreen you may
+ * want to enable present mode - :features [:present]
+ *
+ * :renderer - Specifies the renderer type. One of :p2d, :p3d, :java2d,
+ * :opengl, :pdf). Defaults to :java2d. :dxf renderer
+ * can't be used as sketch renderer. Use begin-raw method
+ * instead. In clojurescript only :p2d and :p3d renderers
+ * are supported.
+ *
+ * :output-file - Specifies an output file path. Only used in :pdf mode.
+ * Not supported in clojurescript.
+ *
+ * :title - A string which will be displayed at the top of
+ * the sketch window. Not supported in clojurescript.
+ *
+ * :features - A vector of keywords customizing sketch behaviour.
+ * Supported features:
+ *
+ * :keep-on-top - Sketch window will always be above other
+ * windows. Note: some platforms might not
+ * support always-on-top windows.
+ * Not supported in clojurescript.
+ *
+ * :exit-on-close - Shutdown JVM when sketch is closed.
+ * Not supported in clojurescript.
+ *
+ * :resizable - Makes sketch resizable.
+ * Not supported in clojurescript.
+ *
+ * :no-safe-fns - Do not catch and print exceptions thrown
+ * inside functions provided to sketch (like
+ * draw, mouse-click, key-pressed and
+ * other). By default all exceptions thrown
+ * inside these functions are catched. This
+ * prevents sketch from breaking when bad
+ * function was provided and allows you to
+ * fix it and reload it on fly. You can
+ * disable this behaviour by enabling
+ * :no-safe-fns feature.
+ * Not supported in clojurescript.
+ *
+ * :present - Switch to present mode (fullscreen without
+ * borders, OS panels). You may want to use
+ * this feature together with :size :fullscreen.
+ * Not supported in clojurescript.
+ *
+ * :no-start - Disables autostart if sketch was created using
+ * defsketch macro. To start sketch you have to
+ * call function created defsketch.
+ * Supported only in clojurescript.
+ *
+ * :global-key-events - Allows a sketch to receive any
+ * keyboard event sent to the page,
+ * regardless of whether the canvas it is
+ * loaded in has focus or not.
+ * Supported only in clojurescript.
+ *
+ * Usage example: :features [:keep-on-top :present]
+ *
+ * :bgcolor - Sets background color for unused space in present mode.
+ * Color is specified in hex format: #XXXXXX.
+ * Example: :bgcolor "#00FFFF" (cyan background)
+ * Not supported in clojurescript.
+ *
+ * :display - Sets what display should be used by this sketch.
+ * Displays are numbered starting from 0. Example: :display 1.
+ * Not supported in clojurescript.
+ *
+ * :setup - A function to be called once when setting the sketch up.
+ *
+ * :draw - A function to be repeatedly called at most n times per
+ * second where n is the target frame-rate set for
+ * the visualisation.
+ *
+ * :host - String id of canvas element or DOM element itself.
+ * Specifies host for the sketch. Must be specified in sketch,
+ * may be omitted in defsketch. If ommitted in defsketch,
+ * :host is set to the name of the sketch. If element with
+ * specified id is not found on the page and page is empty -
+ * new canvas element will be created. Used in clojurescript.
+ *
+ * :focus-gained - Called when the sketch gains focus.
+ * Not supported in clojurescript.
+ *
+ * :focus-lost - Called when the sketch loses focus.
+ * Not supported in clojurescript.
+ *
+ * :mouse-entered - Called when the mouse enters the sketch window.
+ *
+ * :mouse-exited - Called when the mouse leaves the sketch window
+ *
+ * :mouse-pressed - Called every time a mouse button is pressed.
+ *
+ * :mouse-released - Called every time a mouse button is released.
+ *
+ * :mouse-clicked - called once after a mouse button has been pressed
+ * and then released.
+ *
+ * :mouse-moved - Called every time the mouse moves and a button is
+ * not pressed.
+ *
+ * :mouse-dragged - Called every time the mouse moves and a button is
+ * pressed.
+ *
+ * :mouse-wheel - Called every time mouse wheel is rotated.
+ * Takes 1 argument - wheel rotation, an int.
+ * Negative values if the mouse wheel was rotated
+ * up/away from the user, and positive values
+ * if the mouse wheel was rotated down/ towards the user
+ *
+ * :key-pressed - Called every time any key is pressed.
+ *
+ * :key-released - Called every time any key is released.
+ *
+ * :key-typed - Called once every time non-modifier keys are
+ * pressed.
+ *
+ * :on-close - Called once, when sketch is closed
+ * Not supported in clojurescript.
+ *
+ * :middleware - Vector of middleware to be applied to the sketch.
+ * Middleware will be applied in the same order as in comp
+ * function: [f g] will be applied as (f (g options)).
+ *
+ * :settings - cousin of :setup. A function to be called once when
+ * setting sketch up. Should be used only for (smooth) and
+ * (no-smooth). Due to Processing limitations these functions
+ * cannot be used neither in :setup nor in :draw.
+ */
+quil.core.defsketch = (function quil$core$defsketch(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8888 = arguments.length;
+var i__7928__auto___8889 = (0);
+while(true){
+if((i__7928__auto___8889 < len__7927__auto___8888)){
+args__7934__auto__.push((arguments[i__7928__auto___8889]));
+
+var G__8890 = (i__7928__auto___8889 + (1));
+i__7928__auto___8889 = G__8890;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((3) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((3)),(0),null)):null);
+return quil.core.defsketch.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7935__auto__);
+});
+
+quil.core.defsketch.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,app_name,options){
+return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("quil.sketch$macros","defsketch","quil.sketch$macros/defsketch",2065609719,null)),(function (){var x__7656__auto__ = app_name;
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),options)));
+});
+
+quil.core.defsketch.cljs$lang$maxFixedArity = (3);
+
+quil.core.defsketch.cljs$lang$applyTo = (function (seq8884){
+var G__8885 = cljs.core.first.call(null,seq8884);
+var seq8884__$1 = cljs.core.next.call(null,seq8884);
+var G__8886 = cljs.core.first.call(null,seq8884__$1);
+var seq8884__$2 = cljs.core.next.call(null,seq8884__$1);
+var G__8887 = cljs.core.first.call(null,seq8884__$2);
+var seq8884__$3 = cljs.core.next.call(null,seq8884__$2);
+return quil.core.defsketch.cljs$core$IFn$_invoke$arity$variadic(G__8885,G__8886,G__8887,seq8884__$3);
+});
+
+
+quil.core.defsketch.cljs$lang$macro = true;
+/**
+ * Returns true if char c is a 'coded' char i.e. it is necessary to
+ * fetch the key-code as an integer and use that to determine the
+ * specific key pressed. See key-keyword.
+ */
+quil.core.key_coded_QMARK_ = (function quil$core$key_coded_QMARK_(c){
+return cljs.core._EQ_.call(null,(65535),String(c).charCodeAt());
+});
+/**
+ * Returns a keyword representing the currently pressed key. Modifier
+ * keys are represented as: :up, :down, :left, :right, :alt, :control,
+ * :shift, :command, :f1-24
+ */
+quil.core.key_as_keyword = (function quil$core$key_as_keyword(){
+var key_char = quil.core.raw_key.call(null);
+var code = quil.core.key_code.call(null);
+if(cljs.core.truth_(quil.core.key_coded_QMARK_.call(null,key_char))){
+return cljs.core.get.call(null,quil.core.KEY_CODES,code,new cljs.core.Keyword(null,"unknown-key","unknown-key",255305911));
+} else {
+return cljs.core.keyword.call(null,String(key_char));
+}
+});
+
+//# sourceMappingURL=core.js.map \ No newline at end of file
diff --git a/assets/viz/1/quil/core.js.map b/assets/viz/1/quil/core.js.map
new file mode 100644
index 0000000..42db417
--- /dev/null
+++ b/assets/viz/1/quil/core.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/quil\/core.js","sources":["core.cljc"],"lineCount":6643,"mappings":";AAAA;;;;;;AAmBA,iCAAA,jCAEEA;AAEF,yBAAA,zBAAsBC;AAEtB;;;;;;;6BAAA,7BAMEC;AANF,AAaE,IAAAC,mBAAIH;AAAJ,AAAA,oBAAAG;AAAAA;;AAEa,OAACC;;;AAIhB,AAAA,sBAAA,2CAAA,sDAAA,CAAAC,gCAAA,SAAA,uDAAA,CAAAA,gCAAA,UAAA,mDAAA,CAAAA,gCAAA,vVACCC;;AADD,wBAAA,2CAAA,0DAAA,CAAAD,gCAAA,WAAA,uDAAA,CAAAA,gCAAA,UAAA,gEAAA,CAAAA,gCAAA,cAAA,qEAAA,CAAAA,gCAAA,iBAAA,wEAAA,CAAAA,gCAAA,mBAAA,uDAAA,CAAAA,gCAAA,UAAA,kEAAA,CAAAA,gCAAA,lzBAECE;;AAFD,wBAAA,wCAAA,qDAAA,yDAAA,yDAAA,wDAAA,2DAAA,2DAAA,iEAAA,8DAAA,gEAAA,8DAAA,8DAAA,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IAAAA,cAAA,AAAAtoB,yBAAAsoB;IAAAG,UAAA,AAAA1oB,0BAAAuoB;IAAAA,cAAA,AAAAtoB,yBAAAsoB;AAAA,AAAA,OAAAD,yDAAAE,QAAAC,QAAAC,QAAAH;;;AAAA;AAAA,AAAA,sCAAA,tCAIGD;AAkJH;;;;;6BAAA,7BAKEO,kEAICnhB;AATH,AAYW,gCAAA,zBAACiK,iCAAQ,AAAa,AAACmX,OAAUphB;;AAE5C;;;;;2BAAA,3BAKEqhB;AALF,AAUE,IAAMC,WAAS,AAAC3M;IACV4M,OAAS,AAACnU;AADhB,AAEE,oBAAI,AAAC+T,qCAAWG;AACd,wDAAA,jDAAC3nB,wBAAIvC,oBAAUmqB;;AAGf,OAACC,4BACiB,AAACJ,OAAUE","names":["quil.core\/*graphics*","quil.core\/no-fill-prop","quil.core\/current-graphics","or__6814__auto__","quil.sketch\/current-applet","js\/Processing.prototype.PConstants","quil.core\/arc-modes","quil.core\/shape-modes","quil.core\/blend-modes","quil.core\/color-modes","quil.core\/image-formats","quil.core\/ellipse-modes","quil.core\/hint-options","quil.core\/image-modes","quil.core\/rect-modes","quil.core\/p-shape-modes","quil.core\/stroke-cap-modes","quil.core\/stroke-join-modes","quil.core\/horizontal-alignment-modes","quil.core\/vertical-alignment-modes","quil.core\/text-modes","quil.core\/texture-modes","quil.core\/texture-wrap-modes","quil.core\/filter-modes","quil.core\/cursor-modes","quil.core\/PI","js\/Math","quil.core\/HALF-PI","quil.core\/THIRD-PI","quil.core\/QUARTER-PI","quil.core\/TWO-PI","quil.core\/DEG-TO-RAD","quil.core\/RAD-TO-DEG","quil.core\/KEY-CODES","quil.core\/prc-println","msg","quil.core\/prc-print","quil.core\/get-sketch-by-id","id","js\/Processing","var_args","args__7934__auto__","len__7927__auto__","i__7928__auto__","argseq__7935__auto__","cljs.core\/IndexedSeq","quil.core\/with-sketch","&form","&env","seq8273","G__8274","cljs.core\/first","cljs.core\/next","G__8275","G__8276","applet","body","cljs.core\/sequence","cljs.core\/seq","cljs.core\/concat","cljs.core\/-conj","x__7656__auto__","quil.util\/clj-compilation?","quil.core\/state-atom","args8280","G__8282","quil.core\/state","js\/Error","cljs.core\/deref","key","state","cljs.core\/contains?","cljs.core\/get","quil.core\/set-state!","seq8287","state-vals","state*","state-map","cljs.core\/apply","cljs.core\/hash-map","cljs.core\/reset!","quil.core\/abs","n","quil.core\/acos","quil.core\/alpha","color","cljs.core\/unchecked-int","args8291","G__8293","quil.core\/ambient-float","gray","x","y","z","quil.core\/ambient-int","rgb","args8298","G__8300","quil.core\/ambient","args8305","G__8307","quil.core\/ambient-light","red","green","blue","quil.core\/apply-matrix","n00","n01","n02","n03","n10","n11","n12","n13","n20","n21","n22","n23","n30","n31","n32","n33","quil.core\/arc","width","height","start","stop","quil.core\/asin","quil.core\/atan","quil.core\/atan2","quil.core\/available-fonts","js\/PFont","args8312","G__8314","quil.core\/background-float","alpha","r","g","b","a","args8319","G__8321","quil.core\/background-int","args8326","G__8328","quil.core\/background","quil.core\/background-image","img","quil.core\/begin-camera","quil.core\/begin-contour","args8333","G__8335","quil.core\/begin-shape","mode","quil.util\/resolve-constant-key","args8340","G__8342","quil.core\/bezier","x1","y1","cx1","cy1","cx2","cy2","x2","y2","z1","cz1","cz2","z2","quil.core\/bezier-detail","detail","quil.core\/bezier-point","c","d","t","quil.core\/bezier-tangent","args8347","G__8349","quil.core\/bezier-vertex","args8354","G__8356","quil.core\/binary","val","num-digits","args8361","G__8363","quil.core\/blend","dx","dy","dwidth","dheight","src-img","dest-img","quil.core\/blend-color","c1","c2","quil.core\/blue","args8368","G__8370","quil.core\/box","size","depth","quil.core\/brightness","args8375","G__8377","quil.core\/camera","eyeX","eyeY","eyeZ","centerX","centerY","centerZ","upX","upY","upZ","quil.core\/ceil","args8382","G__8384","quil.core\/color","args8389","G__8391","quil.core\/color-mode","max","max-x","max-y","max-z","max-a","quil.core\/constrain","amt","low","high","args8396","G__8398","quil.core\/copy","p__8399","p__8400","vec__8401","cljs.core\/nth","vec__8404","p__8407","p__8408","vec__8409","vec__8412","p__8415","p__8416","vec__8417","vec__8420","sx","sy","swidth","sheight","quil.core\/cos","angle","args8427","G__8429","quil.core\/create-font","name","smooth","charset","args8434","G__8436","quil.core\/create-graphics","w","h","renderer","quil.sketch\/resolve-renderer","path","quil.core\/create-image","format","quil.core\/current-fill","quil.core\/current-stroke","args8441","G__8443","quil.core\/cursor","cursor-mode","args8448","G__8450","quil.core\/cursor-image","hx","hy","args8455","G__8457","quil.core\/curve","x3","y3","x4","y4","z3","z4","quil.core\/curve-detail","quil.core\/curve-point","quil.core\/curve-tangent","quil.core\/curve-tightness","ti","args8462","G__8464","quil.core\/curve-vertex","quil.core\/day","quil.core\/degrees","radians","quil.core\/delay-frame","freeze-ms","quil.core\/directional-light","nx","ny","nz","args8469","G__8471","quil.core\/dist","quil.core\/do-record","cljs.core\/vec","seq8477","G__8478","G__8479","G__8480","graphics","quil.core\/ellipse","quil.core\/ellipse-mode","args8484","G__8486","quil.core\/emissive-float","float-val","quil.core\/emissive-int","int-val","args8491","G__8493","quil.core\/emissive","quil.core\/end-camera","quil.core\/end-contour","quil.core\/end-raw","args8498","G__8500","quil.core\/end-shape","cljs.core\/=","quil.core\/exit","quil.core\/exp","quil.core\/clear-no-fill-cljs","args8505","G__8507","quil.core\/fill-float","args8512","G__8514","quil.core\/fill-int","args8519","G__8521","quil.core\/fill","args8526","G__8528","quil.core\/display-filter","level","quil.core\/floor","quil.core\/focused","quil.core\/frame-count","quil.core\/current-frame-rate","quil.core\/frame-rate","new-rate","quil.core\/frustum","left","right","bottom","top","near","far","args8533","G__8535","quil.core\/get-pixel","quil.core\/green","col","args8540","G__8542","quil.core\/hex","quil.core\/height","quil.core\/hint","hint-type","cljs.core\/Keyword","quil.core\/hour","quil.core\/hue","args8547","G__8549","quil.core\/image","args8554","G__8556","quil.core\/image-filter","quil.core\/image-mode","quil.core\/key-code","quil.core\/key-pressed?","quil.core\/light-falloff","constant","linear","quadratic","quil.core\/lerp-color","quil.core\/lerp","quil.core\/lights","quil.core\/light-specular","args8561","G__8563","quil.core\/line","p1","p2","quil.core\/load-font","filename","quil.core\/load-image","args8568","G__8570","quil.core\/load-shader","fragment-filename","vertex-filename","quil.core\/load-shape","quil.core\/log","cljs.core\/List","args8575","G__8577","quil.core\/mag","quil.core\/map-range","low1","high1","low2","high2","quil.core\/millis","quil.core\/minute","quil.core\/model-x","quil.core\/model-y","quil.core\/model-z","quil.core\/month","quil.core\/mouse-button","button-code","pred__8585","expr__8586","quil.core\/mouse-pressed?","quil.core\/mouse-x","quil.core\/mouse-y","quil.core\/no-cursor","quil.core\/no-fill","quil.core\/random-2d","theta","Math\/cos","Math\/sin","quil.core\/random-3d","phi","vx","vy","vz","args8588","G__8590","quil.core\/noise","args8595","G__8597","quil.core\/noise-detail","octaves","falloff","quil.core\/noise-seed","quil.core\/no-lights","quil.core\/no-loop","quil.core\/norm","quil.core\/normal","quil.core\/no-smooth","quil.core\/no-stroke","quil.core\/no-tint","args8602","G__8604","quil.core\/ortho","args8609","G__8611","quil.core\/perspective","fovy","aspect","z-near","z-far","args8616","G__8618","quil.core\/pixels","pix-array","quil.core\/pmouse-x","quil.core\/pmouse-y","args8623","G__8625","quil.core\/point","quil.core\/point-light","quil.core\/pop-matrix","quil.core\/pop-style","quil.core\/pow","num","exponent","quil.core\/print-camera","quil.core\/print-matrix","quil.core\/print-projection","quil.core\/push-matrix","quil.core\/push-style","quil.core\/quad","args8630","G__8632","quil.core\/quadratic-vertex","cx","cy","cz","quil.core\/radians","degrees","args8637","G__8639","quil.core\/random","min","quil.core\/random-gaussian","quil.core\/random-seed","quil.core\/raw-key","args8644","G__8646","quil.core\/rect","top-left-r","top-right-r","bottom-right-r","bottom-left-r","quil.core\/rect-mode","quil.core\/red","quil.core\/redraw","quil.core\/request-image","quil.core\/reset-matrix","quil.core\/resize","args8651","G__8653","quil.core\/rotate","quil.core\/rotate-x","quil.core\/rotate-y","quil.core\/rotate-z","quil.core\/round","quil.core\/saturation","quil.core\/save","args8658","G__8660","quil.core\/save-frame","args8665","G__8667","quil.core\/scale","s","sz","args8672","G__8674","quil.core\/screen-x","args8679","G__8681","quil.core\/screen-y","quil.core\/screen-z","quil.core\/seconds","args8686","G__8688","quil.core\/set-pixel","quil.core\/set-image","src","args8693","G__8695","quil.core\/shape","sh","quil.core\/shear-x","quil.core\/shear-y","quil.core\/shape-mode","quil.core\/shininess","shine","quil.core\/sin","args8700","G__8702","quil.core\/smooth","args8707","G__8709","quil.core\/specular","quil.core\/sphere","radius","args8714","G__8716","quil.core\/sphere-detail","res","ures","vres","args8721","G__8723","quil.core\/spot-light","p__8724","p__8725","p__8726","vec__8727","vec__8730","vec__8733","concentration","quil.core\/sq","quil.core\/sqrt","quil.core\/start-loop","args8740","G__8742","quil.core\/stroke-float","args8747","G__8749","quil.core\/stroke-int","args8754","G__8756","quil.core\/stroke","quil.core\/stroke-cap","cap-mode","quil.core\/stroke-join","join-mode","quil.core\/stroke-weight","weight","quil.core\/tan","quil.core\/target-frame-rate","quil.core\/no-fill?","args8761","G__8763","quil.core\/text-char","cljs.core\/char","args8768","G__8770","quil.core\/text-num","args8775","G__8777","quil.core\/text","args8782","G__8784","quil.core\/text-align","align","align-x","align-y","quil.core\/text-ascent","quil.core\/text-descent","args8789","G__8791","quil.core\/text-font","font","quil.core\/text-leading","leading","quil.core\/text-mode","quil.core\/text-size","quil.core\/texture","quil.core\/texture-mode","quil.core\/text-width","data","args8796","G__8798","quil.core\/tint-float","args8803","G__8805","quil.core\/tint-int","args8810","G__8812","quil.core\/tint","args8817","G__8819","quil.core\/translate","v","tx","ty","tz","quil.core\/triangle","quil.core\/unbinary","str-val","quil.core\/unhex","hex-str","args8824","G__8826","quil.core\/update-pixels","temp__4657__auto__","args8833","G__8835","quil.core\/vertex","u","quil.core\/year","quil.core\/width","quil.core\/with-fill","seq8841","G__8842","G__8843","G__8844","fill-args","quil.core\/with-stroke","seq8849","G__8850","G__8851","G__8852","stroke-args","quil.core\/with-translation","seq8857","G__8858","G__8859","G__8860","translation-vector","quil.core\/with-rotation","seq8865","G__8866","G__8867","G__8868","rotation","quil.core\/with-graphics","seq8873","G__8874","G__8875","G__8876","quil.core\/sketch","seq8880","opts","quil.sketch\/sketch","quil.core\/defsketch","seq8884","G__8885","G__8886","G__8887","app-name","options","quil.core\/key-coded?","js\/String","quil.core\/key-as-keyword","key-char","code","cljs.core\/keyword"]} \ No newline at end of file
diff --git a/assets/viz/1/quil/middleware.cljc b/assets/viz/1/quil/middleware.cljc
new file mode 100644
index 0000000..a8f5672
--- /dev/null
+++ b/assets/viz/1/quil/middleware.cljc
@@ -0,0 +1,144 @@
+(ns ^{:doc "Quil middleware."}
+ quil.middleware
+ (:require [quil.middlewares.fun-mode :as fun-mode]
+ #?(:clj [quil.middlewares.pause-on-error :as pause-on-error])
+ [quil.middlewares.navigation-3d :as navigation-3d]
+ [quil.middlewares.navigation-2d :as navigation-2d]
+ ))
+
+(defn ^{:requires-bindings false
+ :category "Middleware"
+ :subcategory nil
+ :ns "quil.middleware"
+ :added "2.1.0"}
+ fun-mode
+ "Introduces function mode. Adds 'update' function which takes current
+ state and returns new state. Makes all other functions (setup, draw,
+ mouse-click, etc) state-aware. See wiki for more details."
+ [options]
+ (fun-mode/fun-mode options))
+
+#?(:clj
+(defn ^{:requires-bindings false
+ :category "Middleware"
+ :subcategory nil
+ :ns "quil.middleware"
+ :added "2.2.0"}
+ pause-on-error
+ "Pauses sketch if any of user-provided handlers throws error.
+ It allows to fix the error on the fly and continue sketch.
+ May be good alternative to default '500ms pause if exception'
+ behaviour."
+ [options]
+ (pause-on-error/pause-on-error options)))
+
+(defn ^{:requires-bindings false
+ :category "Middleware"
+ :subcategory nil
+ :ns "quil.middleware"
+ :added "2.2.0"}
+ navigation-3d
+ "Enables navigation in 3D space. Similar to how it is done in
+ shooters: WASD navigation, space is go up, drag mouse to look around.
+ This middleware requires fun-mode.
+
+
+ Navigation
+
+ * Drag mouse to look around. You can change settings to bind
+ mouse-moved instead of mouse-dragged to look around. See
+ customization info below.
+
+ * Keyboard:
+ * w - go forward
+ * s - go backward
+ * a - strafe left
+ * d - strafe right
+ * space - go up
+ * z - go down, can't bind to ctrl, limitation of Processing
+
+
+ Customization
+
+ You can customize this middleware by providing map as
+ :navigation-3d option in defsketch/sketch. Map can have following
+ optional keys:
+
+ :position - vector of 3 numbers, initial camera position. Default
+ is the same as in 'camera' function.
+
+ :straight - vector of 3 numbers, direction you'll be looking at.
+ Default is [0 0 -1] (looking down).
+
+ :up - vector of 3 numbers, 'up' direction. Default is [0 1 0].
+
+ :pixels-in-360 - number, mouse sensitivity. Defines how many pixels
+ you need to move/drag you mouse to rotate 360 degrees.
+ The less the number the more sensitive is mouse.
+ Default is 1000.
+
+ :step-size - number, number of pixels you move on each key event (wasd).
+ Default is 20.
+
+ :rotate-on - keyword, either :mouse-dragged or :mouse-moved. Specifies
+ on which mouse event camera should rotate. Default is
+ :mouse-dragged.
+
+
+ Accessing position information from sketch
+
+ navigation-3d uses fun-mode under the hood so all position-related
+ information is stored in the state map. It means that you can access in
+ draw/update/any handler and modify it if you need to. Position
+ information is a map which is stored under :navigation-3d key in the
+ state map. Position consists of 3 values: :position, :straight and :up.
+ See \"Customization\" section above for more details.
+
+ Usage example:
+
+ (q/defsketch my-sketch
+ ...
+ :middleware [m/fun-mode m/navigation-3d])
+
+ See wiki article for more(?) details:
+ https://github.com/quil/quil/wiki/Navigation-3D"
+ [options]
+ (navigation-3d/navigation-3d options))
+
+(defn ^{:requires-bindings false
+ :category "Middleware"
+ :subcategory nil
+ :ns "quil.middleware"
+ :added "2.2.6"}
+ navigation-2d
+ "Enables navigation over 2D sketch. Drag mouse to change the center of the
+ sketch and mouse wheel controls zoom. This middleware requires fun-mode.
+
+ Customization
+
+ You can customize this middleware by providing map as
+ :navigation-2d option in defsketch/sketch. Map can have following
+ optional keys:
+
+ :position - vector of 2 numbers, x and y - center of the screen.
+ Default is width/2, height/2.
+
+ :zoom - number indicating current zoom level. Default is 1.
+
+ Accessing position information from sketch
+
+ navigation-2d uses fun-mode under the hood so all position-related
+ information is stored in the state map. It means that you can access in
+ draw/update/any handler and modify it if you need to. Position
+ information is a map which is stored under :navigation-2d key in the
+ state map. Position consists of 2 values: :position and :zoom.
+ See \"Customization\" section above for more details.
+
+ Usage example:
+
+ (q/defsketch my-sketch
+ ...
+ :middleware [m/fun-mode m/navigation-2d])
+"
+ [options]
+ (navigation-2d/navigation-2d options))
diff --git a/assets/viz/1/quil/middleware.cljc.cache.edn b/assets/viz/1/quil/middleware.cljc.cache.edn
new file mode 100644
index 0000000..1fbb263
--- /dev/null
+++ b/assets/viz/1/quil/middleware.cljc.cache.edn
@@ -0,0 +1 @@
+{:rename-macros {}, :renames {}, :use-macros {}, :excludes #{}, :name quil.middleware, :imports nil, :requires {fun-mode quil.middlewares.fun-mode, quil.middlewares.fun-mode quil.middlewares.fun-mode, navigation-3d quil.middlewares.navigation-3d, quil.middlewares.navigation-3d quil.middlewares.navigation-3d, navigation-2d quil.middlewares.navigation-2d, quil.middlewares.navigation-2d quil.middlewares.navigation-2d}, :uses nil, :defs {fun-mode {:category "Middleware", :protocol-inline nil, :meta {:category "Middleware", :added "2.1.0", :ns "quil.middleware", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/middleware.cljc", :end-column 11, :column 3, :requires-bindings false, :line 14, :end-line 14, :arglists (quote ([options])), :doc "Introduces function mode. Adds 'update' function which takes current\n state and returns new state. Makes all other functions (setup, draw,\n mouse-click, etc) state-aware. See wiki for more details."}, :added "2.1.0", :ns "quil.middleware", :name quil.middleware/fun-mode, :variadic false, :subcategory nil, :file "out/quil/middleware.cljc", :end-column 11, :method-params ([options]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 9, :end-line 14, :max-fixed-arity 1, :fn-var true, :arglists (quote ([options])), :doc "Introduces function mode. Adds 'update' function which takes current\n state and returns new state. Makes all other functions (setup, draw,\n mouse-click, etc) state-aware. See wiki for more details."}, navigation-3d {:category "Middleware", :protocol-inline nil, :meta {:category "Middleware", :added "2.2.0", :ns "quil.middleware", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/middleware.cljc", :end-column 16, :column 3, :requires-bindings false, :line 40, :end-line 40, :arglists (quote ([options])), :doc "Enables navigation in 3D space. Similar to how it is done in\n shooters: WASD navigation, space is go up, drag mouse to look around.\n This middleware requires fun-mode.\n\n\n Navigation\n\n * Drag mouse to look around. You can change settings to bind\n mouse-moved instead of mouse-dragged to look around. See\n customization info below.\n\n * Keyboard:\n * w - go forward\n * s - go backward\n * a - strafe left\n * d - strafe right\n * space - go up\n * z - go down, can't bind to ctrl, limitation of Processing\n\n\n Customization\n\n You can customize this middleware by providing map as\n :navigation-3d option in defsketch/sketch. Map can have following\n optional keys:\n\n :position - vector of 3 numbers, initial camera position. Default\n is the same as in 'camera' function.\n\n :straight - vector of 3 numbers, direction you'll be looking at.\n Default is [0 0 -1] (looking down).\n\n :up - vector of 3 numbers, 'up' direction. Default is [0 1 0].\n\n :pixels-in-360 - number, mouse sensitivity. Defines how many pixels\n you need to move/drag you mouse to rotate 360 degrees.\n The less the number the more sensitive is mouse.\n Default is 1000.\n\n :step-size - number, number of pixels you move on each key event (wasd).\n Default is 20.\n\n :rotate-on - keyword, either :mouse-dragged or :mouse-moved. Specifies\n on which mouse event camera should rotate. Default is\n :mouse-dragged.\n\n\n Accessing position information from sketch\n\n navigation-3d uses fun-mode under the hood so all position-related\n information is stored in the state map. It means that you can access in\n draw/update/any handler and modify it if you need to. Position\n information is a map which is stored under :navigation-3d key in the\n state map. Position consists of 3 values: :position, :straight and :up.\n See \"Customization\" section above for more details.\n\n Usage example:\n\n (q/defsketch my-sketch\n ...\n :middleware [m/fun-mode m/navigation-3d])\n\n See wiki article for more(?) details:\n https://github.com/quil/quil/wiki/Navigation-3D"}, :added "2.2.0", :ns "quil.middleware", :name quil.middleware/navigation-3d, :variadic false, :subcategory nil, :file "out/quil/middleware.cljc", :end-column 16, :method-params ([options]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 35, :end-line 40, :max-fixed-arity 1, :fn-var true, :arglists (quote ([options])), :doc "Enables navigation in 3D space. Similar to how it is done in\n shooters: WASD navigation, space is go up, drag mouse to look around.\n This middleware requires fun-mode.\n\n\n Navigation\n\n * Drag mouse to look around. You can change settings to bind\n mouse-moved instead of mouse-dragged to look around. See\n customization info below.\n\n * Keyboard:\n * w - go forward\n * s - go backward\n * a - strafe left\n * d - strafe right\n * space - go up\n * z - go down, can't bind to ctrl, limitation of Processing\n\n\n Customization\n\n You can customize this middleware by providing map as\n :navigation-3d option in defsketch/sketch. Map can have following\n optional keys:\n\n :position - vector of 3 numbers, initial camera position. Default\n is the same as in 'camera' function.\n\n :straight - vector of 3 numbers, direction you'll be looking at.\n Default is [0 0 -1] (looking down).\n\n :up - vector of 3 numbers, 'up' direction. Default is [0 1 0].\n\n :pixels-in-360 - number, mouse sensitivity. Defines how many pixels\n you need to move/drag you mouse to rotate 360 degrees.\n The less the number the more sensitive is mouse.\n Default is 1000.\n\n :step-size - number, number of pixels you move on each key event (wasd).\n Default is 20.\n\n :rotate-on - keyword, either :mouse-dragged or :mouse-moved. Specifies\n on which mouse event camera should rotate. Default is\n :mouse-dragged.\n\n\n Accessing position information from sketch\n\n navigation-3d uses fun-mode under the hood so all position-related\n information is stored in the state map. It means that you can access in\n draw/update/any handler and modify it if you need to. Position\n information is a map which is stored under :navigation-3d key in the\n state map. Position consists of 3 values: :position, :straight and :up.\n See \"Customization\" section above for more details.\n\n Usage example:\n\n (q/defsketch my-sketch\n ...\n :middleware [m/fun-mode m/navigation-3d])\n\n See wiki article for more(?) details:\n https://github.com/quil/quil/wiki/Navigation-3D"}, navigation-2d {:category "Middleware", :protocol-inline nil, :meta {:category "Middleware", :added "2.2.6", :ns "quil.middleware", :subcategory nil, :file "/home/mediocregopher/src/viz/out/quil/middleware.cljc", :end-column 16, :column 3, :requires-bindings false, :line 113, :end-line 113, :arglists (quote ([options])), :doc "Enables navigation over 2D sketch. Drag mouse to change the center of the\n sketch and mouse wheel controls zoom. This middleware requires fun-mode.\n\n Customization\n\n You can customize this middleware by providing map as\n :navigation-2d option in defsketch/sketch. Map can have following\n optional keys:\n\n :position - vector of 2 numbers, x and y - center of the screen.\n Default is width/2, height/2.\n\n :zoom - number indicating current zoom level. Default is 1.\n\n Accessing position information from sketch\n\n navigation-2d uses fun-mode under the hood so all position-related\n information is stored in the state map. It means that you can access in\n draw/update/any handler and modify it if you need to. Position\n information is a map which is stored under :navigation-2d key in the\n state map. Position consists of 2 values: :position and :zoom.\n See \"Customization\" section above for more details.\n\n Usage example:\n\n (q/defsketch my-sketch\n ...\n :middleware [m/fun-mode m/navigation-2d])\n"}, :added "2.2.6", :ns "quil.middleware", :name quil.middleware/navigation-2d, :variadic false, :subcategory nil, :file "out/quil/middleware.cljc", :end-column 16, :method-params ([options]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :requires-bindings false, :line 108, :end-line 113, :max-fixed-arity 1, :fn-var true, :arglists (quote ([options])), :doc "Enables navigation over 2D sketch. Drag mouse to change the center of the\n sketch and mouse wheel controls zoom. This middleware requires fun-mode.\n\n Customization\n\n You can customize this middleware by providing map as\n :navigation-2d option in defsketch/sketch. Map can have following\n optional keys:\n\n :position - vector of 2 numbers, x and y - center of the screen.\n Default is width/2, height/2.\n\n :zoom - number indicating current zoom level. Default is 1.\n\n Accessing position information from sketch\n\n navigation-2d uses fun-mode under the hood so all position-related\n information is stored in the state map. It means that you can access in\n draw/update/any handler and modify it if you need to. Position\n information is a map which is stored under :navigation-2d key in the\n state map. Position consists of 2 values: :position and :zoom.\n See \"Customization\" section above for more details.\n\n Usage example:\n\n (q/defsketch my-sketch\n ...\n :middleware [m/fun-mode m/navigation-2d])\n"}}, :require-macros nil, :doc "Quil middleware."} \ No newline at end of file
diff --git a/assets/viz/1/quil/middleware.js b/assets/viz/1/quil/middleware.js
new file mode 100644
index 0000000..d807b5a
--- /dev/null
+++ b/assets/viz/1/quil/middleware.js
@@ -0,0 +1,118 @@
+// Compiled by ClojureScript 1.9.473 {}
+goog.provide('quil.middleware');
+goog.require('cljs.core');
+goog.require('quil.middlewares.fun_mode');
+goog.require('quil.middlewares.navigation_3d');
+goog.require('quil.middlewares.navigation_2d');
+/**
+ * Introduces function mode. Adds 'update' function which takes current
+ * state and returns new state. Makes all other functions (setup, draw,
+ * mouse-click, etc) state-aware. See wiki for more details.
+ */
+quil.middleware.fun_mode = (function quil$middleware$fun_mode(options){
+return quil.middlewares.fun_mode.fun_mode.call(null,options);
+});
+/**
+ * Enables navigation in 3D space. Similar to how it is done in
+ * shooters: WASD navigation, space is go up, drag mouse to look around.
+ * This middleware requires fun-mode.
+ *
+ *
+ * Navigation
+ *
+ * * Drag mouse to look around. You can change settings to bind
+ * mouse-moved instead of mouse-dragged to look around. See
+ * customization info below.
+ *
+ * * Keyboard:
+ * * w - go forward
+ * * s - go backward
+ * * a - strafe left
+ * * d - strafe right
+ * * space - go up
+ * * z - go down, can't bind to ctrl, limitation of Processing
+ *
+ *
+ * Customization
+ *
+ * You can customize this middleware by providing map as
+ * :navigation-3d option in defsketch/sketch. Map can have following
+ * optional keys:
+ *
+ * :position - vector of 3 numbers, initial camera position. Default
+ * is the same as in 'camera' function.
+ *
+ * :straight - vector of 3 numbers, direction you'll be looking at.
+ * Default is [0 0 -1] (looking down).
+ *
+ * :up - vector of 3 numbers, 'up' direction. Default is [0 1 0].
+ *
+ * :pixels-in-360 - number, mouse sensitivity. Defines how many pixels
+ * you need to move/drag you mouse to rotate 360 degrees.
+ * The less the number the more sensitive is mouse.
+ * Default is 1000.
+ *
+ * :step-size - number, number of pixels you move on each key event (wasd).
+ * Default is 20.
+ *
+ * :rotate-on - keyword, either :mouse-dragged or :mouse-moved. Specifies
+ * on which mouse event camera should rotate. Default is
+ * :mouse-dragged.
+ *
+ *
+ * Accessing position information from sketch
+ *
+ * navigation-3d uses fun-mode under the hood so all position-related
+ * information is stored in the state map. It means that you can access in
+ * draw/update/any handler and modify it if you need to. Position
+ * information is a map which is stored under :navigation-3d key in the
+ * state map. Position consists of 3 values: :position, :straight and :up.
+ * See "Customization" section above for more details.
+ *
+ * Usage example:
+ *
+ * (q/defsketch my-sketch
+ * ...
+ * :middleware [m/fun-mode m/navigation-3d])
+ *
+ * See wiki article for more(?) details:
+ * https://github.com/quil/quil/wiki/Navigation-3D
+ */
+quil.middleware.navigation_3d = (function quil$middleware$navigation_3d(options){
+return quil.middlewares.navigation_3d.navigation_3d.call(null,options);
+});
+/**
+ * Enables navigation over 2D sketch. Drag mouse to change the center of the
+ * sketch and mouse wheel controls zoom. This middleware requires fun-mode.
+ *
+ * Customization
+ *
+ * You can customize this middleware by providing map as
+ * :navigation-2d option in defsketch/sketch. Map can have following
+ * optional keys:
+ *
+ * :position - vector of 2 numbers, x and y - center of the screen.
+ * Default is width/2, height/2.
+ *
+ * :zoom - number indicating current zoom level. Default is 1.
+ *
+ * Accessing position information from sketch
+ *
+ * navigation-2d uses fun-mode under the hood so all position-related
+ * information is stored in the state map. It means that you can access in
+ * draw/update/any handler and modify it if you need to. Position
+ * information is a map which is stored under :navigation-2d key in the
+ * state map. Position consists of 2 values: :position and :zoom.
+ * See "Customization" section above for more details.
+ *
+ * Usage example:
+ *
+ * (q/defsketch my-sketch
+ * ...
+ * :middleware [m/fun-mode m/navigation-2d])
+ */
+quil.middleware.navigation_2d = (function quil$middleware$navigation_2d(options){
+return quil.middlewares.navigation_2d.navigation_2d.call(null,options);
+});
+
+//# sourceMappingURL=middleware.js.map \ No newline at end of file
diff --git a/assets/viz/1/quil/middleware.js.map b/assets/viz/1/quil/middleware.js.map
new file mode 100644
index 0000000..ea10d2f
--- /dev/null
+++ b/assets/viz/1/quil/middleware.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/quil\/middleware.js","sources":["middleware.cljc"],"lineCount":118,"mappings":";AAAA;;;;;AAQA;;;;;2BAAA,3BAKEA,8DAICC;AATH,AAUE,OAACC,6CAAkBD;;AAgBrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAAA,hCAKEE,wEAiECF;AAtEH,AAuEE,OAACG,uDAA4BH;;AAE\/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAAA,hCAKEI,wEA8BCJ;AAnCH,AAoCE,OAACK,uDAA4BL","names":["quil.middleware\/fun-mode","options","quil.middlewares.fun-mode\/fun-mode","quil.middleware\/navigation-3d","quil.middlewares.navigation-3d\/navigation-3d","quil.middleware\/navigation-2d","quil.middlewares.navigation-2d\/navigation-2d"]} \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/deprecated_options.cljc b/assets/viz/1/quil/middlewares/deprecated_options.cljc
new file mode 100644
index 0000000..6ed40d2
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/deprecated_options.cljc
@@ -0,0 +1,26 @@
+(ns quil.middlewares.deprecated-options)
+
+(def ^:private deprecated
+ {:decor ["2.0" "Try :features [:present] for similar effect"]
+ :target ["2.0" "Use :features [:keep-on-top] instead."]
+ :safe-draw-fn ["2.0" "Use :features [:no-safe-fns] instead."]})
+
+(defn- check-features-vector [features]
+ (let [features (set features)]
+ (when (features :no-safe-draw)
+ (println "Feature :no-safe-draw was renamed to :no-safe-fns in Quil 2.1."
+ "Use :feature [:no-safe-fns] now."))
+ (disj features :no-safe-draw)))
+
+(defn deprecated-options
+ "Checks if options map contains deprected options and removes them.
+ Prints messages how to fix deprecated functions."
+ [options]
+ (let [options (update-in options [:features] check-features-vector)]
+ (->> (for [[name value] options]
+ (if-let [[version message] (deprecated name)]
+ (do (println name "option was removed in Quil" version "." message)
+ nil)
+ [name value]))
+ (remove nil?)
+ (into {}))))
diff --git a/assets/viz/1/quil/middlewares/deprecated_options.cljc.cache.edn b/assets/viz/1/quil/middlewares/deprecated_options.cljc.cache.edn
new file mode 100644
index 0000000..0af4bd9
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/deprecated_options.cljc.cache.edn
@@ -0,0 +1 @@
+{:rename-macros {}, :renames {}, :use-macros {}, :excludes #{}, :name quil.middlewares.deprecated-options, :imports nil, :requires nil, :uses nil, :defs {deprecated {:name quil.middlewares.deprecated-options/deprecated, :file "out/quil/middlewares/deprecated_options.cljc", :line 3, :column 1, :end-line 3, :end-column 26, :private true, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/deprecated_options.cljc", :line 3, :column 16, :end-line 3, :end-column 26, :private true}, :tag cljs.core/IMap}, check-features-vector {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/deprecated_options.cljc", :line 8, :column 8, :end-line 8, :end-column 29, :private true, :arglists (quote ([features]))}, :private true, :name quil.middlewares.deprecated-options/check-features-vector, :variadic false, :file "out/quil/middlewares/deprecated_options.cljc", :end-column 29, :method-params ([features]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 8, :end-line 8, :max-fixed-arity 1, :fn-var true, :arglists (quote ([features]))}, deprecated-options {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/deprecated_options.cljc", :line 15, :column 7, :end-line 15, :end-column 25, :arglists (quote ([options])), :doc "Checks if options map contains deprected options and removes them.\n Prints messages how to fix deprecated functions."}, :name quil.middlewares.deprecated-options/deprecated-options, :variadic false, :file "out/quil/middlewares/deprecated_options.cljc", :end-column 25, :method-params ([options]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 15, :end-line 15, :max-fixed-arity 1, :fn-var true, :arglists (quote ([options])), :doc "Checks if options map contains deprected options and removes them.\n Prints messages how to fix deprecated functions."}}, :require-macros nil, :cljs.analyzer/constants {:seen #{:features :decor :safe-draw-fn :no-safe-draw :target}, :order [:decor :target :safe-draw-fn :no-safe-draw :features]}, :doc nil} \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/deprecated_options.js b/assets/viz/1/quil/middlewares/deprecated_options.js
new file mode 100644
index 0000000..2c1658d
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/deprecated_options.js
@@ -0,0 +1,95 @@
+// Compiled by ClojureScript 1.9.473 {}
+goog.provide('quil.middlewares.deprecated_options');
+goog.require('cljs.core');
+quil.middlewares.deprecated_options.deprecated = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"decor","decor",-1730969431),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["2.0","Try :features [:present] for similar effect"], null),new cljs.core.Keyword(null,"target","target",253001721),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["2.0","Use :features [:keep-on-top] instead."], null),new cljs.core.Keyword(null,"safe-draw-fn","safe-draw-fn",1454900202),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["2.0","Use :features [:no-safe-fns] instead."], null)], null);
+quil.middlewares.deprecated_options.check_features_vector = (function quil$middlewares$deprecated_options$check_features_vector(features){
+var features__$1 = cljs.core.set.call(null,features);
+if(cljs.core.truth_(features__$1.call(null,new cljs.core.Keyword(null,"no-safe-draw","no-safe-draw",-1157778157)))){
+cljs.core.println.call(null,"Feature :no-safe-draw was renamed to :no-safe-fns in Quil 2.1.","Use :feature [:no-safe-fns] now.");
+} else {
+}
+
+return cljs.core.disj.call(null,features__$1,new cljs.core.Keyword(null,"no-safe-draw","no-safe-draw",-1157778157));
+});
+/**
+ * Checks if options map contains deprected options and removes them.
+ * Prints messages how to fix deprecated functions.
+ */
+quil.middlewares.deprecated_options.deprecated_options = (function quil$middlewares$deprecated_options$deprecated_options(options){
+var options__$1 = cljs.core.update_in.call(null,options,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"features","features",-1146962336)], null),quil.middlewares.deprecated_options.check_features_vector);
+return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.remove.call(null,cljs.core.nil_QMARK_,(function (){var iter__7602__auto__ = ((function (options__$1){
+return (function quil$middlewares$deprecated_options$deprecated_options_$_iter__8042(s__8043){
+return (new cljs.core.LazySeq(null,((function (options__$1){
+return (function (){
+var s__8043__$1 = s__8043;
+while(true){
+var temp__4657__auto__ = cljs.core.seq.call(null,s__8043__$1);
+if(temp__4657__auto__){
+var s__8043__$2 = temp__4657__auto__;
+if(cljs.core.chunked_seq_QMARK_.call(null,s__8043__$2)){
+var c__7600__auto__ = cljs.core.chunk_first.call(null,s__8043__$2);
+var size__7601__auto__ = cljs.core.count.call(null,c__7600__auto__);
+var b__8045 = cljs.core.chunk_buffer.call(null,size__7601__auto__);
+if((function (){var i__8044 = (0);
+while(true){
+if((i__8044 < size__7601__auto__)){
+var vec__8058 = cljs.core._nth.call(null,c__7600__auto__,i__8044);
+var name = cljs.core.nth.call(null,vec__8058,(0),null);
+var value = cljs.core.nth.call(null,vec__8058,(1),null);
+cljs.core.chunk_append.call(null,b__8045,(function (){var temp__4655__auto__ = quil.middlewares.deprecated_options.deprecated.call(null,name);
+if(cljs.core.truth_(temp__4655__auto__)){
+var vec__8061 = temp__4655__auto__;
+var version = cljs.core.nth.call(null,vec__8061,(0),null);
+var message = cljs.core.nth.call(null,vec__8061,(1),null);
+cljs.core.println.call(null,name,"option was removed in Quil",version,".",message);
+
+return null;
+} else {
+return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [name,value], null);
+}
+})());
+
+var G__8070 = (i__8044 + (1));
+i__8044 = G__8070;
+continue;
+} else {
+return true;
+}
+break;
+}
+})()){
+return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__8045),quil$middlewares$deprecated_options$deprecated_options_$_iter__8042.call(null,cljs.core.chunk_rest.call(null,s__8043__$2)));
+} else {
+return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__8045),null);
+}
+} else {
+var vec__8064 = cljs.core.first.call(null,s__8043__$2);
+var name = cljs.core.nth.call(null,vec__8064,(0),null);
+var value = cljs.core.nth.call(null,vec__8064,(1),null);
+return cljs.core.cons.call(null,(function (){var temp__4655__auto__ = quil.middlewares.deprecated_options.deprecated.call(null,name);
+if(cljs.core.truth_(temp__4655__auto__)){
+var vec__8067 = temp__4655__auto__;
+var version = cljs.core.nth.call(null,vec__8067,(0),null);
+var message = cljs.core.nth.call(null,vec__8067,(1),null);
+cljs.core.println.call(null,name,"option was removed in Quil",version,".",message);
+
+return null;
+} else {
+return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [name,value], null);
+}
+})(),quil$middlewares$deprecated_options$deprecated_options_$_iter__8042.call(null,cljs.core.rest.call(null,s__8043__$2)));
+}
+} else {
+return null;
+}
+break;
+}
+});})(options__$1))
+,null,null));
+});})(options__$1))
+;
+return iter__7602__auto__.call(null,options__$1);
+})()));
+});
+
+//# sourceMappingURL=deprecated_options.js.map \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/deprecated_options.js.map b/assets/viz/1/quil/middlewares/deprecated_options.js.map
new file mode 100644
index 0000000..e093f8c
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/deprecated_options.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/quil\/middlewares\/deprecated_options.js","sources":["deprecated_options.cljc"],"lineCount":95,"mappings":";AAAA;;AAEA,iDAAA,2CAAA,wDAAA,mFAAA,MAAA,sDAAA,wDAAA,mFAAA,MAAA,gDAAA,qEAAA,mFAAA,MAAA,loBAAeA;AAKf,4DAAA,5DAAOC,gIAAuBC;AAA9B,AACE,IAAMA,eAAS,AAACC,wBAAID;AAApB,AACE,oBAAM,uBAAA,vBAACA;AAAP,AACE,4BAAA,iEAAA,7FAACE;;AADH;;AAGA,6CAAA,tCAACC,yBAAKH;;AAEV;;;;yDAAA,zDAAMI,0HAGHC;AAHH,AAIE,IAAMA,cAAQ,sCAAA,mFAAA,zHAACC,8BAAUD,iKAAoBN;AAA7C,mHACO,iBA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,YAAAF;cAAA,AAAAZ,wBAAAc,UAAA,IAAA,hDAAUC;cAAV,AAAAf,wBAAAc,UAAA,IAAA,hDAAkBE;AAAlB,AACE,AAAI,iCAAA,qCAAA,tEAACnC,4BAAQ6B,kCAAkCK,YAAYC;;AAA3D;;AADF,0FAGGN,KAAKC;;KAJV,AAAAP,8EAAA,AAAAK,yBAAAtB;;;AAAA;;;;;CAAA,KAAA;;;AAAA,AAAA,OAAAD,6BAAmBF","names":["quil.middlewares.deprecated-options\/deprecated","quil.middlewares.deprecated-options\/check-features-vector","features","cljs.core\/set","cljs.core\/println","cljs.core\/disj","quil.middlewares.deprecated-options\/deprecated-options","options","cljs.core\/update-in","iter__7602__auto__","s__8043","cljs.core\/LazySeq","temp__4657__auto__","cljs.core\/seq","cljs.core\/chunked-seq?","c__7600__auto__","size__7601__auto__","cljs.core\/count","b__8045","cljs.core\/chunk-buffer","i__8044","vec__8058","cljs.core\/-nth","cljs.core\/nth","cljs.core\/chunk-append","cljs.core\/chunk-cons","cljs.core\/chunk","iter__8042","cljs.core\/chunk-rest","vec__8064","cljs.core\/first","cljs.core\/cons","cljs.core\/rest","name","value","temp__4655__auto__","vec__8061","vec__8067","version","message","cljs.core\/remove","cljs.core\/nil?","cljs.core\/into","cljs.core\/chunk-first"]} \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/fun_mode.cljc b/assets/viz/1/quil/middlewares/fun_mode.cljc
new file mode 100644
index 0000000..14330c7
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/fun_mode.cljc
@@ -0,0 +1,78 @@
+(ns quil.middlewares.fun-mode
+ (:require [quil.core :as q]))
+
+(defn- wrap-setup [options]
+ (let [setup (:setup options (fn [] nil))]
+ (assoc options
+ :setup #(reset! (q/state-atom) (setup)))))
+
+(defn- wrap-draw-update [options]
+ (let [draw (:draw options (fn [_]))
+ update (:update options identity)
+ quil-draw #(-> (q/state-atom)
+ (swap! (if (= (q/frame-count) 1)
+ identity
+ update))
+ (draw))]
+ (-> options
+ (dissoc :update)
+ (assoc :draw quil-draw))))
+
+(defn- mouse-event []
+ {:x (q/mouse-x)
+ :y (q/mouse-y)})
+
+(defn- mouse-event-full []
+ {:x (q/mouse-x)
+ :y (q/mouse-y)
+ :button (q/mouse-button)})
+
+(defn- key-event []
+ {:key (q/key-as-keyword)
+ :key-code (q/key-code)
+ :raw-key (q/raw-key)
+ #?@(:clj [:modifiers (q/key-modifiers)])})
+
+(defn- wrap-handler
+ ([options handler-key]
+ (wrap-handler options handler-key nil))
+ ([options handler-key event-fn]
+ (if-let [handler (options handler-key)]
+ (assoc options handler-key
+ (if event-fn
+ #(swap! (q/state-atom) handler (event-fn))
+ #(swap! (q/state-atom) handler)))
+ options)))
+
+(defn- wrap-handlers [options & handlers]
+ (reduce (fn [options handler]
+ (if (keyword? handler)
+ (wrap-handler options handler)
+ (apply wrap-handler options handler)))
+ options handlers))
+
+(defn- wrap-mouse-wheel [options]
+ (if-let [handler (:mouse-wheel options)]
+ (assoc options :mouse-wheel
+ (fn [rotation]
+ (swap! (q/state-atom) handler rotation)))
+ options))
+
+(defn fun-mode
+ "Introduces function mode making all handlers (setup, draw, mouse-click, etc)
+ state-aware. Adds support for 'update' function."
+ [options]
+ (-> options
+ wrap-setup
+ wrap-draw-update
+ (wrap-handlers :focus-gained :focus-lost [:mouse-entered mouse-event]
+ [:mouse-exited mouse-event] [:mouse-pressed mouse-event-full]
+ [:mouse-released mouse-event] [:mouse-clicked mouse-event-full]
+ [:mouse-moved (fn [] {:x (q/mouse-x) :y (q/mouse-y)
+ :p-x (q/pmouse-x) :p-y (q/pmouse-y)})]
+ [:mouse-dragged (fn [] {:x (q/mouse-x) :y (q/mouse-y)
+ :p-x (q/pmouse-x) :p-y (q/pmouse-y)
+ :button (q/mouse-button)})]
+ [:key-pressed key-event] :key-released [:key-typed key-event]
+ :on-close)
+ wrap-mouse-wheel))
diff --git a/assets/viz/1/quil/middlewares/fun_mode.cljc.cache.edn b/assets/viz/1/quil/middlewares/fun_mode.cljc.cache.edn
new file mode 100644
index 0000000..bde2282
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/fun_mode.cljc.cache.edn
@@ -0,0 +1 @@
+{:rename-macros {}, :renames {}, :externs {Error {}}, :use-macros {}, :excludes #{}, :name quil.middlewares.fun-mode, :imports nil, :requires {q quil.core, quil.core quil.core}, :uses nil, :defs {wrap-setup {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/fun_mode.cljc", :line 4, :column 8, :end-line 4, :end-column 18, :private true, :arglists (quote ([options]))}, :private true, :name quil.middlewares.fun-mode/wrap-setup, :variadic false, :file "out/quil/middlewares/fun_mode.cljc", :end-column 18, :method-params ([options]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 4, :end-line 4, :max-fixed-arity 1, :fn-var true, :arglists (quote ([options]))}, wrap-draw-update {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/fun_mode.cljc", :line 9, :column 8, :end-line 9, :end-column 24, :private true, :arglists (quote ([options]))}, :private true, :name quil.middlewares.fun-mode/wrap-draw-update, :variadic false, :file "out/quil/middlewares/fun_mode.cljc", :end-column 24, :method-params ([options]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 9, :end-line 9, :max-fixed-arity 1, :fn-var true, :arglists (quote ([options]))}, mouse-event {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/fun_mode.cljc", :line 21, :column 8, :end-line 21, :end-column 19, :private true, :arglists (quote ([]))}, :private true, :name quil.middlewares.fun-mode/mouse-event, :variadic false, :file "out/quil/middlewares/fun_mode.cljc", :end-column 19, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 21, :end-line 21, :max-fixed-arity 0, :fn-var true, :arglists (quote ([]))}, mouse-event-full {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/fun_mode.cljc", :line 25, :column 8, :end-line 25, :end-column 24, :private true, :arglists (quote ([]))}, :private true, :name quil.middlewares.fun-mode/mouse-event-full, :variadic false, :file "out/quil/middlewares/fun_mode.cljc", :end-column 24, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 25, :end-line 25, :max-fixed-arity 0, :fn-var true, :arglists (quote ([]))}, key-event {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/fun_mode.cljc", :line 30, :column 8, :end-line 30, :end-column 17, :private true, :arglists (quote ([]))}, :private true, :name quil.middlewares.fun-mode/key-event, :variadic false, :file "out/quil/middlewares/fun_mode.cljc", :end-column 17, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 30, :end-line 30, :max-fixed-arity 0, :fn-var true, :arglists (quote ([]))}, wrap-handler {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/fun_mode.cljc", :line 36, :column 8, :end-line 36, :end-column 20, :private true, :arglists (quote ([options handler-key] [options handler-key event-fn])), :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([options handler-key] [options handler-key event-fn]), :arglists ([options handler-key] [options handler-key event-fn]), :arglists-meta (nil nil)}}, :private true, :name quil.middlewares.fun-mode/wrap-handler, :variadic false, :file "out/quil/middlewares/fun_mode.cljc", :end-column 20, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([options handler-key] [options handler-key event-fn]), :arglists ([options handler-key] [options handler-key event-fn]), :arglists-meta (nil nil)}, :method-params ([options handler-key] [options handler-key event-fn]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 36, :end-line 36, :max-fixed-arity 3, :fn-var true, :arglists ([options handler-key] [options handler-key event-fn])}, wrap-handlers {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/fun_mode.cljc", :line 47, :column 8, :end-line 47, :end-column 21, :private true, :arglists (quote ([options & handlers])), :top-fn {:variadic true, :max-fixed-arity 1, :method-params [(options handlers)], :arglists ([options & handlers]), :arglists-meta (nil)}}, :private true, :name quil.middlewares.fun-mode/wrap-handlers, :variadic true, :file "out/quil/middlewares/fun_mode.cljc", :end-column 21, :top-fn {:variadic true, :max-fixed-arity 1, :method-params [(options handlers)], :arglists ([options & handlers]), :arglists-meta (nil)}, :method-params [(options handlers)], :protocol-impl nil, :arglists-meta (nil), :column 1, :line 47, :end-line 47, :max-fixed-arity 1, :fn-var true, :arglists ([options & handlers])}, wrap-mouse-wheel {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/fun_mode.cljc", :line 54, :column 8, :end-line 54, :end-column 24, :private true, :arglists (quote ([options]))}, :private true, :name quil.middlewares.fun-mode/wrap-mouse-wheel, :variadic false, :file "out/quil/middlewares/fun_mode.cljc", :end-column 24, :method-params ([options]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 54, :end-line 54, :max-fixed-arity 1, :fn-var true, :arglists (quote ([options]))}, fun-mode {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/fun_mode.cljc", :line 61, :column 7, :end-line 61, :end-column 15, :arglists (quote ([options])), :doc "Introduces function mode making all handlers (setup, draw, mouse-click, etc)\n state-aware. Adds support for 'update' function."}, :name quil.middlewares.fun-mode/fun-mode, :variadic false, :file "out/quil/middlewares/fun_mode.cljc", :end-column 15, :method-params ([options]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 61, :end-line 61, :max-fixed-arity 1, :fn-var true, :arglists (quote ([options])), :doc "Introduces function mode making all handlers (setup, draw, mouse-click, etc)\n state-aware. Adds support for 'update' function."}}, :require-macros nil, :cljs.analyzer/constants {:seen #{:y :key-code :p-y :key-typed :mouse-clicked :mouse-released :mouse-exited :key :on-close :button :mouse-wheel :mouse-moved :update :setup :mouse-pressed :focus-gained :mouse-entered :focus-lost :key-pressed :key-released :p-x :x :raw-key :draw :mouse-dragged}, :order [:setup :draw :update :x :y :button :key :key-code :raw-key :mouse-wheel :focus-gained :focus-lost :mouse-entered :mouse-exited :mouse-pressed :mouse-released :mouse-clicked :mouse-moved :p-x :p-y :mouse-dragged :key-pressed :key-released :key-typed :on-close]}, :doc nil} \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/fun_mode.js b/assets/viz/1/quil/middlewares/fun_mode.js
new file mode 100644
index 0000000..d6db370
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/fun_mode.js
@@ -0,0 +1,155 @@
+// Compiled by ClojureScript 1.9.473 {}
+goog.provide('quil.middlewares.fun_mode');
+goog.require('cljs.core');
+goog.require('quil.core');
+quil.middlewares.fun_mode.wrap_setup = (function quil$middlewares$fun_mode$wrap_setup(options){
+var setup = new cljs.core.Keyword(null,"setup","setup",1987730512).cljs$core$IFn$_invoke$arity$2(options,(function (){
+return null;
+}));
+return cljs.core.assoc.call(null,options,new cljs.core.Keyword(null,"setup","setup",1987730512),((function (setup){
+return (function (){
+return cljs.core.reset_BANG_.call(null,quil.core.state_atom.call(null),setup.call(null));
+});})(setup))
+);
+});
+quil.middlewares.fun_mode.wrap_draw_update = (function quil$middlewares$fun_mode$wrap_draw_update(options){
+var draw = new cljs.core.Keyword(null,"draw","draw",1358331674).cljs$core$IFn$_invoke$arity$2(options,(function (_){
+return null;
+}));
+var update = new cljs.core.Keyword(null,"update","update",1045576396).cljs$core$IFn$_invoke$arity$2(options,cljs.core.identity);
+var quil_draw = ((function (draw,update){
+return (function (){
+return draw.call(null,cljs.core.swap_BANG_.call(null,quil.core.state_atom.call(null),((cljs.core._EQ_.call(null,quil.core.frame_count.call(null),(1)))?cljs.core.identity:update)));
+});})(draw,update))
+;
+return cljs.core.assoc.call(null,cljs.core.dissoc.call(null,options,new cljs.core.Keyword(null,"update","update",1045576396)),new cljs.core.Keyword(null,"draw","draw",1358331674),quil_draw);
+});
+quil.middlewares.fun_mode.mouse_event = (function quil$middlewares$fun_mode$mouse_event(){
+return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"x","x",2099068185),quil.core.mouse_x.call(null),new cljs.core.Keyword(null,"y","y",-1757859776),quil.core.mouse_y.call(null)], null);
+});
+quil.middlewares.fun_mode.mouse_event_full = (function quil$middlewares$fun_mode$mouse_event_full(){
+return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"x","x",2099068185),quil.core.mouse_x.call(null),new cljs.core.Keyword(null,"y","y",-1757859776),quil.core.mouse_y.call(null),new cljs.core.Keyword(null,"button","button",1456579943),quil.core.mouse_button.call(null)], null);
+});
+quil.middlewares.fun_mode.key_event = (function quil$middlewares$fun_mode$key_event(){
+return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"key","key",-1516042587),quil.core.key_as_keyword.call(null),new cljs.core.Keyword(null,"key-code","key-code",-1732114304),quil.core.key_code.call(null),new cljs.core.Keyword(null,"raw-key","raw-key",-162482279),quil.core.raw_key.call(null)], null);
+});
+quil.middlewares.fun_mode.wrap_handler = (function quil$middlewares$fun_mode$wrap_handler(var_args){
+var args9435 = [];
+var len__7927__auto___9438 = arguments.length;
+var i__7928__auto___9439 = (0);
+while(true){
+if((i__7928__auto___9439 < len__7927__auto___9438)){
+args9435.push((arguments[i__7928__auto___9439]));
+
+var G__9440 = (i__7928__auto___9439 + (1));
+i__7928__auto___9439 = G__9440;
+continue;
+} else {
+}
+break;
+}
+
+var G__9437 = args9435.length;
+switch (G__9437) {
+case 2:
+return quil.middlewares.fun_mode.wrap_handler.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.middlewares.fun_mode.wrap_handler.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args9435.length)].join('')));
+
+}
+});
+
+quil.middlewares.fun_mode.wrap_handler.cljs$core$IFn$_invoke$arity$2 = (function (options,handler_key){
+return quil.middlewares.fun_mode.wrap_handler.call(null,options,handler_key,null);
+});
+
+quil.middlewares.fun_mode.wrap_handler.cljs$core$IFn$_invoke$arity$3 = (function (options,handler_key,event_fn){
+var temp__4655__auto__ = options.call(null,handler_key);
+if(cljs.core.truth_(temp__4655__auto__)){
+var handler = temp__4655__auto__;
+return cljs.core.assoc.call(null,options,handler_key,(cljs.core.truth_(event_fn)?((function (handler,temp__4655__auto__){
+return (function (){
+return cljs.core.swap_BANG_.call(null,quil.core.state_atom.call(null),handler,event_fn.call(null));
+});})(handler,temp__4655__auto__))
+:((function (handler,temp__4655__auto__){
+return (function (){
+return cljs.core.swap_BANG_.call(null,quil.core.state_atom.call(null),handler);
+});})(handler,temp__4655__auto__))
+));
+} else {
+return options;
+}
+});
+
+quil.middlewares.fun_mode.wrap_handler.cljs$lang$maxFixedArity = 3;
+
+quil.middlewares.fun_mode.wrap_handlers = (function quil$middlewares$fun_mode$wrap_handlers(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___9444 = arguments.length;
+var i__7928__auto___9445 = (0);
+while(true){
+if((i__7928__auto___9445 < len__7927__auto___9444)){
+args__7934__auto__.push((arguments[i__7928__auto___9445]));
+
+var G__9446 = (i__7928__auto___9445 + (1));
+i__7928__auto___9445 = G__9446;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((1) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((1)),(0),null)):null);
+return quil.middlewares.fun_mode.wrap_handlers.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__7935__auto__);
+});
+
+quil.middlewares.fun_mode.wrap_handlers.cljs$core$IFn$_invoke$arity$variadic = (function (options,handlers){
+return cljs.core.reduce.call(null,(function (options__$1,handler){
+if((handler instanceof cljs.core.Keyword)){
+return quil.middlewares.fun_mode.wrap_handler.call(null,options__$1,handler);
+} else {
+return cljs.core.apply.call(null,quil.middlewares.fun_mode.wrap_handler,options__$1,handler);
+}
+}),options,handlers);
+});
+
+quil.middlewares.fun_mode.wrap_handlers.cljs$lang$maxFixedArity = (1);
+
+quil.middlewares.fun_mode.wrap_handlers.cljs$lang$applyTo = (function (seq9442){
+var G__9443 = cljs.core.first.call(null,seq9442);
+var seq9442__$1 = cljs.core.next.call(null,seq9442);
+return quil.middlewares.fun_mode.wrap_handlers.cljs$core$IFn$_invoke$arity$variadic(G__9443,seq9442__$1);
+});
+
+quil.middlewares.fun_mode.wrap_mouse_wheel = (function quil$middlewares$fun_mode$wrap_mouse_wheel(options){
+var temp__4655__auto__ = new cljs.core.Keyword(null,"mouse-wheel","mouse-wheel",1811662439).cljs$core$IFn$_invoke$arity$1(options);
+if(cljs.core.truth_(temp__4655__auto__)){
+var handler = temp__4655__auto__;
+return cljs.core.assoc.call(null,options,new cljs.core.Keyword(null,"mouse-wheel","mouse-wheel",1811662439),((function (handler,temp__4655__auto__){
+return (function (rotation){
+return cljs.core.swap_BANG_.call(null,quil.core.state_atom.call(null),handler,rotation);
+});})(handler,temp__4655__auto__))
+);
+} else {
+return options;
+}
+});
+/**
+ * Introduces function mode making all handlers (setup, draw, mouse-click, etc)
+ * state-aware. Adds support for 'update' function.
+ */
+quil.middlewares.fun_mode.fun_mode = (function quil$middlewares$fun_mode$fun_mode(options){
+return quil.middlewares.fun_mode.wrap_mouse_wheel.call(null,quil.middlewares.fun_mode.wrap_handlers.call(null,quil.middlewares.fun_mode.wrap_draw_update.call(null,quil.middlewares.fun_mode.wrap_setup.call(null,options)),new cljs.core.Keyword(null,"focus-gained","focus-gained",-857086384),new cljs.core.Keyword(null,"focus-lost","focus-lost",-554849613),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"mouse-entered","mouse-entered",811350322),quil.middlewares.fun_mode.mouse_event], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"mouse-exited","mouse-exited",-483205244),quil.middlewares.fun_mode.mouse_event], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"mouse-pressed","mouse-pressed",736955536),quil.middlewares.fun_mode.mouse_event_full], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"mouse-released","mouse-released",-664480061),quil.middlewares.fun_mode.mouse_event], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"mouse-clicked","mouse-clicked",-199339421),quil.middlewares.fun_mode.mouse_event_full], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"mouse-moved","mouse-moved",-1918152310),(function (){
+return new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"x","x",2099068185),quil.core.mouse_x.call(null),new cljs.core.Keyword(null,"y","y",-1757859776),quil.core.mouse_y.call(null),new cljs.core.Keyword(null,"p-x","p-x",-1721211211),quil.core.pmouse_x.call(null),new cljs.core.Keyword(null,"p-y","p-y",-530704830),quil.core.pmouse_y.call(null)], null);
+})], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"mouse-dragged","mouse-dragged",-1220073441),(function (){
+return new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"x","x",2099068185),quil.core.mouse_x.call(null),new cljs.core.Keyword(null,"y","y",-1757859776),quil.core.mouse_y.call(null),new cljs.core.Keyword(null,"p-x","p-x",-1721211211),quil.core.pmouse_x.call(null),new cljs.core.Keyword(null,"p-y","p-y",-530704830),quil.core.pmouse_y.call(null),new cljs.core.Keyword(null,"button","button",1456579943),quil.core.mouse_button.call(null)], null);
+})], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"key-pressed","key-pressed",-757100364),quil.middlewares.fun_mode.key_event], null),new cljs.core.Keyword(null,"key-released","key-released",215919828),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"key-typed","key-typed",-876037597),quil.middlewares.fun_mode.key_event], null),new cljs.core.Keyword(null,"on-close","on-close",-761178394)));
+});
+
+//# sourceMappingURL=fun_mode.js.map \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/fun_mode.js.map b/assets/viz/1/quil/middlewares/fun_mode.js.map
new file mode 100644
index 0000000..a4854ee
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/fun_mode.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/quil\/middlewares\/fun_mode.js","sources":["fun_mode.cljc"],"lineCount":155,"mappings":";AAAA;;;AAGA,uCAAA,vCAAOA,sFAAYC;AAAnB,AACE,IAAMC,QAAM,AAAA,qFAAQD,QAAQ;AAAA,AAAA;;AAA5B,AACE,yCAAA,uDAAA,zFAACE,0BAAMF;;AAAP,AACU,OAACG,gCAAO,AAACC,gCAAc,AAACH;;;;AAEtC,6CAAA,7CAAOI,kGAAkBL;AAAzB,AACE,IAAMM,OAAK,AAAA,mFAAON,QAAQ,WAAKO;AAAL,AAAA;;IACpBC,SAAO,AAAA,uFAASR,QAAQS;gBAD9B,ZAEMC;;AAFN,qDAEqB,AAACN,\/BACD,AAACO,+DAAM,EAAI,0DAAA,1DAACC,yBAAE,AAACC,uCACNJ,mBACAD,1KACT,OAACF;;;AANtB,4DAOMN,3BACA,mCAAA,nCAACc,jCACD,8HAAA,vHAACZ,4KAAYQ;;AAErB,wCAAA,xCAAOK;AAAP,AAAA,kDAAA,4EAAA,7BACM,AAACC,6EACD,AAACC;;AAEP,6CAAA,7CAAOC;AAAP,AAAA,kDAAA,4EAAA,6EAAA,1GACM,AAACF,6EACD,AAACC,sFACI,AAACE;;AAEZ,sCAAA,tCAAOC;AAAP,AAAA,kDAAA,wFAAA,4FAAA,hIACQ,AAACC,kGACI,AAACC,yFACF,AAACC;;AAGb,AAAA,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AAA,mFAAA,2GAAA,9SAQ6BC,kQAAqCA","names":["quil.middlewares.fun-mode\/wrap-setup","options","setup","cljs.core\/assoc","cljs.core\/reset!","quil.core\/state-atom","quil.middlewares.fun-mode\/wrap-draw-update","draw","_","update","cljs.core\/identity","quil-draw","cljs.core\/swap!","cljs.core\/=","quil.core\/frame-count","cljs.core\/dissoc","quil.middlewares.fun-mode\/mouse-event","quil.core\/mouse-x","quil.core\/mouse-y","quil.middlewares.fun-mode\/mouse-event-full","quil.core\/mouse-button","quil.middlewares.fun-mode\/key-event","quil.core\/key-as-keyword","quil.core\/key-code","quil.core\/raw-key","var_args","args9435","len__7927__auto__","i__7928__auto__","G__9437","quil.middlewares.fun-mode\/wrap-handler","js\/Error","handler-key","event-fn","temp__4655__auto__","handler","args__7934__auto__","argseq__7935__auto__","cljs.core\/IndexedSeq","quil.middlewares.fun-mode\/wrap-handlers","seq9442","G__9443","cljs.core\/first","cljs.core\/next","handlers","cljs.core\/reduce","cljs.core\/Keyword","cljs.core\/apply","quil.middlewares.fun-mode\/wrap-mouse-wheel","rotation","quil.middlewares.fun-mode\/fun-mode","quil.core\/pmouse-x","quil.core\/pmouse-y"]} \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/navigation_2d.cljc b/assets/viz/1/quil/middlewares/navigation_2d.cljc
new file mode 100644
index 0000000..cd03710
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/navigation_2d.cljc
@@ -0,0 +1,89 @@
+(ns quil.middlewares.navigation-2d
+ (:require [quil.core :as q :include-macros true]))
+
+(def ^:private missing-navigation-key-error
+ (str "state map is missing :navigation-2d key. "
+ "Did you accidentally removed it from the state in "
+ ":update or any other handler?"))
+
+(defn- assert-state-has-navigation
+ "Asserts that state map contains :navigation-2d object."
+ [state]
+ (when-not (:navigation-2d state)
+ (throw #?(:clj (RuntimeException. missing-navigation-key-error)
+ :cljs (js/Error. missing-navigation-key-error)))))
+
+(defn- default-position
+ "Default position configuration: zoom is neutral and central point is
+ width/2, height/2."
+ []
+ {:position [(/ (q/width) 2.0)
+ (/ (q/height) 2.0)]
+ :zoom 1})
+
+(defn- setup-2d-nav
+ "Custom 'setup' function which creates initial position
+ configuration and puts it to the state map."
+ [user-setup user-settings]
+ (let [initial-state (-> user-settings
+ (select-keys [:position :zoom])
+ (->> (merge (default-position))))]
+ (update-in (user-setup) [:navigation-2d]
+ #(merge initial-state %))))
+
+(defn- mouse-dragged
+ "Changes center of the sketch depending on the last mouse move. Takes
+ zoom into account as well."
+ [state event]
+ (assert-state-has-navigation state)
+ (let [dx (- (:p-x event) (:x event))
+ dy (- (:p-y event) (:y event))
+ zoom (-> state :navigation-2d :zoom)]
+ (-> state
+ (update-in [:navigation-2d :position 0] + (/ dx zoom))
+ (update-in [:navigation-2d :position 1] + (/ dy zoom)))))
+
+(defn- mouse-wheel
+ "Changes zoom settings based on scroll."
+ [state event]
+ (assert-state-has-navigation state)
+ (update-in state [:navigation-2d :zoom] * (+ 1 (* -0.1 event))))
+
+(defn- draw
+ "Calls user draw function with necessary all transformations (position
+ and zoom) applied."
+ [user-draw state]
+ (assert-state-has-navigation state)
+ (q/push-matrix)
+ (let [nav-2d (:navigation-2d state)
+ zoom (:zoom nav-2d)
+ pos (:position nav-2d)]
+ (q/scale zoom)
+ (q/with-translation [(- (/ (q/width) 2 zoom) (first pos))
+ (- (/ (q/height) 2 zoom) (second pos))]
+ (user-draw state)))
+ (q/pop-matrix))
+
+(defn navigation-2d
+ "Enables navigation over 2D sketch. Dragging mouse will move center of the
+ skecth and mouse wheel controls zoom."
+ [options]
+ (let [; 2d-navigation related user settings
+ user-settings (:navigation-2d options)
+
+ ; user-provided handlers which will be overridden
+ ; by 3d-navigation
+ user-draw (:draw options (fn [state]))
+ user-mouse-dragged (:mouse-dragged options (fn [state _] state))
+ user-mouse-wheel (:mouse-wheel options (fn [state _] state))
+ setup (:setup options (fn [] {}))]
+ (assoc options
+
+ :setup (partial setup-2d-nav setup user-settings)
+
+ :draw (partial draw user-draw)
+
+ :mouse-dragged (fn [state event]
+ (user-mouse-dragged (mouse-dragged state event) event))
+ :mouse-wheel (fn [state event]
+ (user-mouse-wheel (mouse-wheel state event) event)))))
diff --git a/assets/viz/1/quil/middlewares/navigation_2d.cljc.cache.edn b/assets/viz/1/quil/middlewares/navigation_2d.cljc.cache.edn
new file mode 100644
index 0000000..865d7b4
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/navigation_2d.cljc.cache.edn
@@ -0,0 +1 @@
+{:rename-macros {}, :renames {}, :externs {Error {}}, :use-macros {}, :excludes #{}, :name quil.middlewares.navigation-2d, :imports nil, :requires {q quil.core, quil.core quil.core}, :uses nil, :defs {missing-navigation-key-error {:name quil.middlewares.navigation-2d/missing-navigation-key-error, :file "out/quil/middlewares/navigation_2d.cljc", :line 4, :column 1, :end-line 4, :end-column 44, :private true, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_2d.cljc", :line 4, :column 16, :end-line 4, :end-column 44, :private true}, :tag any}, assert-state-has-navigation {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_2d.cljc", :line 9, :column 8, :end-line 9, :end-column 35, :private true, :arglists (quote ([state])), :doc "Asserts that state map contains :navigation-2d object."}, :private true, :name quil.middlewares.navigation-2d/assert-state-has-navigation, :variadic false, :file "out/quil/middlewares/navigation_2d.cljc", :end-column 35, :method-params ([state]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 9, :end-line 9, :max-fixed-arity 1, :fn-var true, :arglists (quote ([state])), :doc "Asserts that state map contains :navigation-2d object."}, default-position {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_2d.cljc", :line 16, :column 8, :end-line 16, :end-column 24, :private true, :arglists (quote ([])), :doc "Default position configuration: zoom is neutral and central point is\n width/2, height/2."}, :private true, :name quil.middlewares.navigation-2d/default-position, :variadic false, :file "out/quil/middlewares/navigation_2d.cljc", :end-column 24, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 16, :end-line 16, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Default position configuration: zoom is neutral and central point is\n width/2, height/2."}, setup-2d-nav {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_2d.cljc", :line 24, :column 8, :end-line 24, :end-column 20, :private true, :arglists (quote ([user-setup user-settings])), :doc "Custom 'setup' function which creates initial position\n configuration and puts it to the state map."}, :private true, :name quil.middlewares.navigation-2d/setup-2d-nav, :variadic false, :file "out/quil/middlewares/navigation_2d.cljc", :end-column 20, :method-params ([user-setup user-settings]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 24, :end-line 24, :max-fixed-arity 2, :fn-var true, :arglists (quote ([user-setup user-settings])), :doc "Custom 'setup' function which creates initial position\n configuration and puts it to the state map."}, mouse-dragged {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_2d.cljc", :line 34, :column 8, :end-line 34, :end-column 21, :private true, :arglists (quote ([state event])), :doc "Changes center of the sketch depending on the last mouse move. Takes\n zoom into account as well."}, :private true, :name quil.middlewares.navigation-2d/mouse-dragged, :variadic false, :file "out/quil/middlewares/navigation_2d.cljc", :end-column 21, :method-params ([state event]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 34, :end-line 34, :max-fixed-arity 2, :fn-var true, :arglists (quote ([state event])), :doc "Changes center of the sketch depending on the last mouse move. Takes\n zoom into account as well."}, mouse-wheel {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_2d.cljc", :line 46, :column 8, :end-line 46, :end-column 19, :private true, :arglists (quote ([state event])), :doc "Changes zoom settings based on scroll."}, :private true, :name quil.middlewares.navigation-2d/mouse-wheel, :variadic false, :file "out/quil/middlewares/navigation_2d.cljc", :end-column 19, :method-params ([state event]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 46, :end-line 46, :max-fixed-arity 2, :fn-var true, :arglists (quote ([state event])), :doc "Changes zoom settings based on scroll."}, draw {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_2d.cljc", :line 52, :column 8, :end-line 52, :end-column 12, :private true, :arglists (quote ([user-draw state])), :doc "Calls user draw function with necessary all transformations (position\n and zoom) applied."}, :private true, :name quil.middlewares.navigation-2d/draw, :variadic false, :file "out/quil/middlewares/navigation_2d.cljc", :end-column 12, :method-params ([user-draw state]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 52, :end-line 52, :max-fixed-arity 2, :fn-var true, :arglists (quote ([user-draw state])), :doc "Calls user draw function with necessary all transformations (position\n and zoom) applied."}, navigation-2d {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_2d.cljc", :line 67, :column 7, :end-line 67, :end-column 20, :arglists (quote ([options])), :doc "Enables navigation over 2D sketch. Dragging mouse will move center of the\n skecth and mouse wheel controls zoom."}, :name quil.middlewares.navigation-2d/navigation-2d, :variadic false, :file "out/quil/middlewares/navigation_2d.cljc", :end-column 20, :method-params ([options]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 67, :end-line 67, :max-fixed-arity 1, :fn-var true, :arglists (quote ([options])), :doc "Enables navigation over 2D sketch. Dragging mouse will move center of the\n skecth and mouse wheel controls zoom."}}, :require-macros {q quil.core, quil.core quil.core}, :cljs.analyzer/constants {:seen #{:y :p-y :zoom :mouse-wheel :setup :p-x :position :x :draw :navigation-2d :mouse-dragged}, :order [:navigation-2d :position :zoom :p-x :x :p-y :y :draw :mouse-dragged :mouse-wheel :setup]}, :doc nil} \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/navigation_2d.js b/assets/viz/1/quil/middlewares/navigation_2d.js
new file mode 100644
index 0000000..5659fe1
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/navigation_2d.js
@@ -0,0 +1,116 @@
+// Compiled by ClojureScript 1.9.473 {}
+goog.provide('quil.middlewares.navigation_2d');
+goog.require('cljs.core');
+goog.require('quil.core');
+quil.middlewares.navigation_2d.missing_navigation_key_error = [cljs.core.str.cljs$core$IFn$_invoke$arity$1("state map is missing :navigation-2d key. "),cljs.core.str.cljs$core$IFn$_invoke$arity$1("Did you accidentally removed it from the state in "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(":update or any other handler?")].join('');
+/**
+ * Asserts that state map contains :navigation-2d object.
+ */
+quil.middlewares.navigation_2d.assert_state_has_navigation = (function quil$middlewares$navigation_2d$assert_state_has_navigation(state){
+if(cljs.core.truth_(new cljs.core.Keyword(null,"navigation-2d","navigation-2d",-1924168611).cljs$core$IFn$_invoke$arity$1(state))){
+return null;
+} else {
+throw (new Error(quil.middlewares.navigation_2d.missing_navigation_key_error));
+}
+});
+/**
+ * Default position configuration: zoom is neutral and central point is
+ * width/2, height/2.
+ */
+quil.middlewares.navigation_2d.default_position = (function quil$middlewares$navigation_2d$default_position(){
+return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"position","position",-2011731912),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(quil.core.width.call(null) / 2.0),(quil.core.height.call(null) / 2.0)], null),new cljs.core.Keyword(null,"zoom","zoom",-1827487038),(1)], null);
+});
+/**
+ * Custom 'setup' function which creates initial position
+ * configuration and puts it to the state map.
+ */
+quil.middlewares.navigation_2d.setup_2d_nav = (function quil$middlewares$navigation_2d$setup_2d_nav(user_setup,user_settings){
+var initial_state = cljs.core.merge.call(null,quil.middlewares.navigation_2d.default_position.call(null),cljs.core.select_keys.call(null,user_settings,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"position","position",-2011731912),new cljs.core.Keyword(null,"zoom","zoom",-1827487038)], null)));
+return cljs.core.update_in.call(null,user_setup.call(null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"navigation-2d","navigation-2d",-1924168611)], null),((function (initial_state){
+return (function (p1__9428_SHARP_){
+return cljs.core.merge.call(null,initial_state,p1__9428_SHARP_);
+});})(initial_state))
+);
+});
+/**
+ * Changes center of the sketch depending on the last mouse move. Takes
+ * zoom into account as well.
+ */
+quil.middlewares.navigation_2d.mouse_dragged = (function quil$middlewares$navigation_2d$mouse_dragged(state,event){
+quil.middlewares.navigation_2d.assert_state_has_navigation.call(null,state);
+
+var dx = (new cljs.core.Keyword(null,"p-x","p-x",-1721211211).cljs$core$IFn$_invoke$arity$1(event) - new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(event));
+var dy = (new cljs.core.Keyword(null,"p-y","p-y",-530704830).cljs$core$IFn$_invoke$arity$1(event) - new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(event));
+var zoom = new cljs.core.Keyword(null,"zoom","zoom",-1827487038).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"navigation-2d","navigation-2d",-1924168611).cljs$core$IFn$_invoke$arity$1(state));
+return cljs.core.update_in.call(null,cljs.core.update_in.call(null,state,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"navigation-2d","navigation-2d",-1924168611),new cljs.core.Keyword(null,"position","position",-2011731912),(0)], null),cljs.core._PLUS_,(dx / zoom)),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"navigation-2d","navigation-2d",-1924168611),new cljs.core.Keyword(null,"position","position",-2011731912),(1)], null),cljs.core._PLUS_,(dy / zoom));
+});
+/**
+ * Changes zoom settings based on scroll.
+ */
+quil.middlewares.navigation_2d.mouse_wheel = (function quil$middlewares$navigation_2d$mouse_wheel(state,event){
+quil.middlewares.navigation_2d.assert_state_has_navigation.call(null,state);
+
+return cljs.core.update_in.call(null,state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"navigation-2d","navigation-2d",-1924168611),new cljs.core.Keyword(null,"zoom","zoom",-1827487038)], null),cljs.core._STAR_,((1) + (-0.1 * event)));
+});
+/**
+ * Calls user draw function with necessary all transformations (position
+ * and zoom) applied.
+ */
+quil.middlewares.navigation_2d.draw = (function quil$middlewares$navigation_2d$draw(user_draw,state){
+quil.middlewares.navigation_2d.assert_state_has_navigation.call(null,state);
+
+quil.core.push_matrix.call(null);
+
+var nav_2d_9429 = new cljs.core.Keyword(null,"navigation-2d","navigation-2d",-1924168611).cljs$core$IFn$_invoke$arity$1(state);
+var zoom_9430 = new cljs.core.Keyword(null,"zoom","zoom",-1827487038).cljs$core$IFn$_invoke$arity$1(nav_2d_9429);
+var pos_9431 = new cljs.core.Keyword(null,"position","position",-2011731912).cljs$core$IFn$_invoke$arity$1(nav_2d_9429);
+quil.core.scale.call(null,zoom_9430);
+
+var tr__9351__auto___9432 = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(((quil.core.width.call(null) / (2)) / zoom_9430) - cljs.core.first.call(null,pos_9431)),(((quil.core.height.call(null) / (2)) / zoom_9430) - cljs.core.second.call(null,pos_9431))], null);
+quil.core.push_matrix.call(null);
+
+try{quil.core.translate.call(null,tr__9351__auto___9432);
+
+user_draw.call(null,state);
+}finally {quil.core.pop_matrix.call(null);
+}
+return quil.core.pop_matrix.call(null);
+});
+/**
+ * Enables navigation over 2D sketch. Dragging mouse will move center of the
+ * skecth and mouse wheel controls zoom.
+ */
+quil.middlewares.navigation_2d.navigation_2d = (function quil$middlewares$navigation_2d$navigation_2d(options){
+var user_settings = new cljs.core.Keyword(null,"navigation-2d","navigation-2d",-1924168611).cljs$core$IFn$_invoke$arity$1(options);
+var user_draw = new cljs.core.Keyword(null,"draw","draw",1358331674).cljs$core$IFn$_invoke$arity$2(options,((function (user_settings){
+return (function (state){
+return null;
+});})(user_settings))
+);
+var user_mouse_dragged = new cljs.core.Keyword(null,"mouse-dragged","mouse-dragged",-1220073441).cljs$core$IFn$_invoke$arity$2(options,((function (user_settings,user_draw){
+return (function (state,_){
+return state;
+});})(user_settings,user_draw))
+);
+var user_mouse_wheel = new cljs.core.Keyword(null,"mouse-wheel","mouse-wheel",1811662439).cljs$core$IFn$_invoke$arity$2(options,((function (user_settings,user_draw,user_mouse_dragged){
+return (function (state,_){
+return state;
+});})(user_settings,user_draw,user_mouse_dragged))
+);
+var setup = new cljs.core.Keyword(null,"setup","setup",1987730512).cljs$core$IFn$_invoke$arity$2(options,((function (user_settings,user_draw,user_mouse_dragged,user_mouse_wheel){
+return (function (){
+return cljs.core.PersistentArrayMap.EMPTY;
+});})(user_settings,user_draw,user_mouse_dragged,user_mouse_wheel))
+);
+return cljs.core.assoc.call(null,options,new cljs.core.Keyword(null,"setup","setup",1987730512),cljs.core.partial.call(null,quil.middlewares.navigation_2d.setup_2d_nav,setup,user_settings),new cljs.core.Keyword(null,"draw","draw",1358331674),cljs.core.partial.call(null,quil.middlewares.navigation_2d.draw,user_draw),new cljs.core.Keyword(null,"mouse-dragged","mouse-dragged",-1220073441),((function (user_settings,user_draw,user_mouse_dragged,user_mouse_wheel,setup){
+return (function (state,event){
+return user_mouse_dragged.call(null,quil.middlewares.navigation_2d.mouse_dragged.call(null,state,event),event);
+});})(user_settings,user_draw,user_mouse_dragged,user_mouse_wheel,setup))
+,new cljs.core.Keyword(null,"mouse-wheel","mouse-wheel",1811662439),((function (user_settings,user_draw,user_mouse_dragged,user_mouse_wheel,setup){
+return (function (state,event){
+return user_mouse_wheel.call(null,quil.middlewares.navigation_2d.mouse_wheel.call(null,state,event),event);
+});})(user_settings,user_draw,user_mouse_dragged,user_mouse_wheel,setup))
+);
+});
+
+//# sourceMappingURL=navigation_2d.js.map \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/navigation_2d.js.map b/assets/viz/1/quil/middlewares/navigation_2d.js.map
new file mode 100644
index 0000000..12c44fc
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/navigation_2d.js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UAAUtB;AAHb,AAIE,AAACD,qEAA4BC;;AAC7B,AAACuB;;AACD,IAAMC,cAAO,AAAA,sGAAgBxB;IACvBiB,YAAK,AAAA,oFAAOO;IACZC,WAAI,AAAA,4FAAWD;AAFrB,AAGE,AAACE,0BAAQT;;AACT,IAAAU,wBAAA,mFAAqB,CAAG,CAAA,8BAAA,7BAAG,AAACxB,oCAAWc,aAAM,AAACa,0BAAML,WAC\/B,CAAG,CAAA,+BAAA,9BAAG,AAACrB,qCAAYa,aAAM,AAACc,2BAAON;AADtD,AAAA,AAAAF;;AAAA,IAAA,AAAA,AAAAK,8BAAAD;;AAEE,AAACL,oBAAUtB;UAFb,AAAA,AAAA6B;;AAGF,OAACA;;AAEH;;;;+CAAA,\/CAAMG,sGAGHC;AAHH,AAIE,IACM1B,gBAAc,AAAA,sGAAgB0B;IAI9BX,YAAU,AAAA,mFAAOW,QAAQ;kBAAKjC;AAAL,AAAA;;;IACzBkC,qBAAmB,AAAA,sGAAgBD,QAAQ;kBAAKjC,MAAMmC;AAAX,AAAcnC;;;IACzDoC,mBAAiB,AAAA,iGAAcH,QAAQ;kBAAKjC,MAAMmC;AAAX,AAAcnC;;;IACrDqC,QAAM,AAAA,qFAAQJ,QAAQ;;AAAA,AAAA;;;AAR5B,AASE,yCAAA,oJAAA,gIAAA,tTAACK,0BAAML,+DAEE,AAACM,4BAAQlC,4CAAagC,MAAM9B,oEAE7B,AAACgC,4BAAQlB,oCAAKC,mFAEL;kBAAKtB,MAAMc;AAAX,AACE,OAACoB,6BAAmB,AAACrB,uDAAcb,MAAMc,OAAOA;;CAPnE,mEAQe;kBAAKd,MAAMc;AAAX,AACE,OAACsB,2BAAiB,AAACjB,qDAAYnB,MAAMc,OAAOA","names":["quil.middlewares.navigation-2d\/missing-navigation-key-error","quil.middlewares.navigation-2d\/assert-state-has-navigation","state","js\/Error","quil.middlewares.navigation-2d\/default-position","quil.core\/width","quil.core\/height","quil.middlewares.navigation-2d\/setup-2d-nav","user-setup","user-settings","initial-state","cljs.core\/select-keys","cljs.core\/merge","p1__9428#","cljs.core\/update-in","quil.middlewares.navigation-2d\/mouse-dragged","event","dx","dy","zoom","cljs.core\/+","quil.middlewares.navigation-2d\/mouse-wheel","cljs.core\/*","quil.middlewares.navigation-2d\/draw","user-draw","quil.core\/push-matrix","nav-2d","pos","quil.core\/scale","tr__9351__auto__","quil.core\/translate","quil.core\/pop-matrix","cljs.core\/first","cljs.core\/second","quil.middlewares.navigation-2d\/navigation-2d","options","user-mouse-dragged","_","user-mouse-wheel","setup","cljs.core\/assoc","cljs.core\/partial"]} \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/navigation_3d.cljc b/assets/viz/1/quil/middlewares/navigation_3d.cljc
new file mode 100644
index 0000000..3471cfd
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/navigation_3d.cljc
@@ -0,0 +1,188 @@
+(ns quil.middlewares.navigation-3d
+ (:require [quil.core :as q]))
+
+(def ^:private missing-navigation-key-error
+ (str "state map is missing :navigation-3d key. "
+ "Did you accidentally removed it from the state in "
+ ":update or any other handler?"))
+
+(defn- assert-state-has-navigation
+ "Asserts that state map contains :navigation-2d object."
+ [state]
+ (when-not (:navigation-3d state)
+ (throw #?(:clj (RuntimeException. missing-navigation-key-error)
+ :cljs (js/Error. missing-navigation-key-error)))))
+
+(defn- default-position
+ "Default position configuration. Check default configuration in
+ 'camera' function."
+ []
+ {:position [(/ (q/width) 2.0)
+ (/ (q/height) 2.0)
+ (/ (q/height) 2.0 (q/tan (/ (* q/PI 60.0) 360.0)))]
+ :straight [0 0 -1]
+ :up [0 1 0]})
+
+(defn- rotate-by-axis-and-angle
+ "Rotates vector v by angle with axis.
+ Formula is taken from wiki:
+ http://en.wikipedia.org/wiki/Rotation_matrix#Rotation_matrix_from_axis_and_angle"
+ [v axis angle]
+ (let [[a-x a-y a-z] axis
+ [x y z] v
+ cs (q/cos angle)
+ -cs (- 1 cs)
+ sn (q/sin angle)
+ ; Matrix is
+ ; [a b c]
+ ; [d e f]
+ ; [g h i]
+ a (+ cs (* a-x a-x -cs))
+ b (- (* a-x a-y -cs)
+ (* a-z sn))
+ c (+ (* a-x a-z -cs)
+ (* a-y sn))
+ d (+ (* a-x a-y -cs)
+ (* a-z sn))
+ e (+ cs (* a-y a-y -cs))
+ f (- (* a-y a-z -cs)
+ (* a-x sn))
+ g (- (* a-x a-z -cs)
+ (* a-y sn))
+ h (+ (* a-y a-z -cs)
+ (* a-x sn))
+ i (+ cs (* a-z a-z -cs))]
+ [(+ (* a x) (* b y) (* c z))
+ (+ (* d x) (* e y) (* f z))
+ (+ (* g x) (* h y) (* i z))]))
+
+(defn- rotate-lr
+ "Rotates nav-3d configuration left-right. angle positive - rotate right,
+ negative - left."
+ [nav-3d angle]
+ (update-in nav-3d [:straight] rotate-by-axis-and-angle (:up nav-3d) angle))
+
+(defn- cross-product
+ "Vector cross-product: http://en.wikipedia.org/wiki/Cross_product"
+ [[u1 u2 u3] [v1 v2 v3]]
+ [(- (* u2 v3) (* u3 v2))
+ (- (* u3 v1) (* u1 v3))
+ (- (* u1 v2) (* u2 v1))])
+
+(defn- v-mult
+ "Multiply vector v by scalar mult."
+ [v mult]
+ (mapv #(* % mult) v))
+
+(defn- v-plus
+ "Sum of 2 vectors."
+ [v1 v2]
+ (mapv + v1 v2))
+
+(defn- v-opposite
+ "Returns vector opposite to vector v."
+ [v]
+ (v-mult v -1))
+
+(defn- v-normalize
+ "Normalize vector, returning vector
+ which has same direction but with norm equals to 1."
+ [v]
+ (let [norm (->> (map q/sq v)
+ (apply +)
+ (q/sqrt))]
+ (v-mult v (/ norm))))
+
+(defn- rotate-ud
+ "Rotates nav-3d configuration up-down."
+ [nav-3d angle]
+ (let [axis (cross-product (:straight nav-3d) (:up nav-3d))
+ rotate #(rotate-by-axis-and-angle % axis angle)]
+ (-> nav-3d
+ (update-in [:straight] rotate)
+ (update-in [:up] rotate))))
+
+(defn- rotate
+ "Mouse handler function which rotates nav-3d configuration.
+ It uses mouse from event object and pixels-in-360 to calculate
+ angles to rotate."
+ [state event pixels-in-360]
+ (assert-state-has-navigation state)
+ (if (= 0 (:p-x event) (:p-y event))
+ state
+ (let [dx (- (:p-x event) (:x event))
+ dy (- (:y event) (:p-y event))
+ angle-lr (q/map-range dx 0 pixels-in-360 0 q/TWO-PI)
+ angle-ud (q/map-range dy 0 pixels-in-360 0 q/TWO-PI)]
+ (update-in state [:navigation-3d]
+ #(-> %
+ (rotate-lr angle-lr)
+ (rotate-ud angle-ud))))))
+
+(def ^:private space (keyword " "))
+
+(defn- move
+ "Keyboard handler function which moves nav-3d configuration.
+ It uses keyboard key from event object to determing in which
+ direction to move."
+ [state event step-size]
+ (assert-state-has-navigation state)
+ (let [{:keys [up straight]} (:navigation-3d state)]
+ (if-let [dir (condp = (:key event)
+ :w straight
+ :s (v-opposite straight)
+ space (v-opposite up)
+ :z up
+ :d (cross-product straight up)
+ :a (cross-product up straight)
+ nil)]
+ (update-in state [:navigation-3d :position]
+ #(v-plus % (v-mult dir step-size)))
+ state)))
+
+(defn- setup-3d-nav
+ "Custom 'setup' function which creates initial position
+ configuration and puts it to the state map."
+ [user-setup user-settings]
+ (let [initial-state (-> user-settings
+ (select-keys [:straight :up :position])
+ (->> (merge (default-position)))
+ (update-in [:straight] v-normalize)
+ (update-in [:up] v-normalize))]
+ (update-in (user-setup) [:navigation-3d]
+ #(merge initial-state %))))
+
+(defn navigation-3d
+ "Enables navigation in 3D space. Similar to how it is done in
+ shooters: WASD navigation, space is go up, z is go down,
+ drag mouse to look around."
+ [options]
+ (let [; 3d-navigation related user settings
+ user-settings (:navigation-3d options)
+ pixels-in-360 (:pixels-in-360 user-settings 1000)
+ step-size (:step-size user-settings 20)
+ rotate-on (:rotate-on user-settings :mouse-dragged)
+
+ ; user-provided handlers which will be overridden
+ ; by 3d-navigation
+ draw (:draw options (fn [state]))
+ key-pressed (:key-pressed options (fn [state _] state))
+ rotate-on-fn (rotate-on options (fn [state _] state))
+ setup (:setup options (fn [] {}))]
+ (assoc options
+
+ :setup (partial setup-3d-nav setup user-settings)
+
+ :draw (fn [state]
+ (assert-state-has-navigation state)
+ (let [{[c-x c-y c-z] :straight
+ [u-x u-y u-z] :up
+ [p-x p-y p-z] :position} (:navigation-3d state)]
+ (q/camera p-x p-y p-z (+ p-x c-x) (+ p-y c-y) (+ p-z c-z) u-x u-y u-z))
+ (draw state))
+
+ :key-pressed (fn [state event]
+ (key-pressed (move state event step-size) event))
+
+ rotate-on (fn [state event]
+ (rotate-on-fn (rotate state event pixels-in-360) event)) )))
diff --git a/assets/viz/1/quil/middlewares/navigation_3d.cljc.cache.edn b/assets/viz/1/quil/middlewares/navigation_3d.cljc.cache.edn
new file mode 100644
index 0000000..d0089cf
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/navigation_3d.cljc.cache.edn
@@ -0,0 +1 @@
+{:rename-macros {}, :renames {}, :externs {Error {}}, :use-macros {}, :excludes #{}, :name quil.middlewares.navigation-3d, :imports nil, :requires {q quil.core, quil.core quil.core}, :uses nil, :defs {missing-navigation-key-error {:name quil.middlewares.navigation-3d/missing-navigation-key-error, :file "out/quil/middlewares/navigation_3d.cljc", :line 4, :column 1, :end-line 4, :end-column 44, :private true, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 4, :column 16, :end-line 4, :end-column 44, :private true}, :tag any}, v-normalize {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 87, :column 8, :end-line 87, :end-column 19, :private true, :arglists (quote ([v])), :doc "Normalize vector, returning vector\n which has same direction but with norm equals to 1."}, :private true, :name quil.middlewares.navigation-3d/v-normalize, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 19, :method-params ([v]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 87, :end-line 87, :max-fixed-arity 1, :fn-var true, :arglists (quote ([v])), :doc "Normalize vector, returning vector\n which has same direction but with norm equals to 1."}, v-opposite {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 82, :column 8, :end-line 82, :end-column 18, :private true, :arglists (quote ([v])), :doc "Returns vector opposite to vector v."}, :private true, :name quil.middlewares.navigation-3d/v-opposite, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 18, :method-params ([v]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 82, :end-line 82, :max-fixed-arity 1, :fn-var true, :arglists (quote ([v])), :doc "Returns vector opposite to vector v."}, v-plus {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 77, :column 8, :end-line 77, :end-column 14, :private true, :arglists (quote ([v1 v2])), :doc "Sum of 2 vectors."}, :private true, :name quil.middlewares.navigation-3d/v-plus, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 14, :method-params ([v1 v2]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 77, :end-line 77, :max-fixed-arity 2, :fn-var true, :arglists (quote ([v1 v2])), :doc "Sum of 2 vectors."}, v-mult {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 72, :column 8, :end-line 72, :end-column 14, :private true, :arglists (quote ([v mult])), :doc "Multiply vector v by scalar mult."}, :private true, :name quil.middlewares.navigation-3d/v-mult, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 14, :method-params ([v mult]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 72, :end-line 72, :max-fixed-arity 2, :fn-var true, :arglists (quote ([v mult])), :doc "Multiply vector v by scalar mult."}, space {:name quil.middlewares.navigation-3d/space, :file "out/quil/middlewares/navigation_3d.cljc", :line 122, :column 1, :end-line 122, :end-column 21, :private true, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 122, :column 16, :end-line 122, :end-column 21, :private true}, :tag any}, setup-3d-nav {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 143, :column 8, :end-line 143, :end-column 20, :private true, :arglists (quote ([user-setup user-settings])), :doc "Custom 'setup' function which creates initial position\n configuration and puts it to the state map."}, :private true, :name quil.middlewares.navigation-3d/setup-3d-nav, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 20, :method-params ([user-setup user-settings]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 143, :end-line 143, :max-fixed-arity 2, :fn-var true, :arglists (quote ([user-setup user-settings])), :doc "Custom 'setup' function which creates initial position\n configuration and puts it to the state map."}, move {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 124, :column 8, :end-line 124, :end-column 12, :private true, :arglists (quote ([state event step-size])), :doc "Keyboard handler function which moves nav-3d configuration.\n It uses keyboard key from event object to determing in which\n direction to move."}, :private true, :name quil.middlewares.navigation-3d/move, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 12, :method-params ([state event step-size]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 124, :end-line 124, :max-fixed-arity 3, :fn-var true, :arglists (quote ([state event step-size])), :doc "Keyboard handler function which moves nav-3d configuration.\n It uses keyboard key from event object to determing in which\n direction to move."}, rotate-lr {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 59, :column 8, :end-line 59, :end-column 17, :private true, :arglists (quote ([nav-3d angle])), :doc "Rotates nav-3d configuration left-right. angle positive - rotate right,\n negative - left."}, :private true, :name quil.middlewares.navigation-3d/rotate-lr, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 17, :method-params ([nav-3d angle]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 59, :end-line 59, :max-fixed-arity 2, :fn-var true, :arglists (quote ([nav-3d angle])), :doc "Rotates nav-3d configuration left-right. angle positive - rotate right,\n negative - left."}, cross-product {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 65, :column 8, :end-line 65, :end-column 21, :private true, :arglists (quote ([[u1 u2 u3] [v1 v2 v3]])), :doc "Vector cross-product: http://en.wikipedia.org/wiki/Cross_product"}, :private true, :name quil.middlewares.navigation-3d/cross-product, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 21, :method-params ([p__8906 p__8907]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 65, :end-line 65, :max-fixed-arity 2, :fn-var true, :arglists (quote ([[u1 u2 u3] [v1 v2 v3]])), :doc "Vector cross-product: http://en.wikipedia.org/wiki/Cross_product"}, rotate-by-axis-and-angle {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 26, :column 8, :end-line 26, :end-column 32, :private true, :arglists (quote ([v axis angle])), :doc "Rotates vector v by angle with axis.\n Formula is taken from wiki:\n http://en.wikipedia.org/wiki/Rotation_matrix#Rotation_matrix_from_axis_and_angle"}, :private true, :name quil.middlewares.navigation-3d/rotate-by-axis-and-angle, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 32, :method-params ([v axis angle]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 26, :end-line 26, :max-fixed-arity 3, :fn-var true, :arglists (quote ([v axis angle])), :doc "Rotates vector v by angle with axis.\n Formula is taken from wiki:\n http://en.wikipedia.org/wiki/Rotation_matrix#Rotation_matrix_from_axis_and_angle"}, assert-state-has-navigation {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 9, :column 8, :end-line 9, :end-column 35, :private true, :arglists (quote ([state])), :doc "Asserts that state map contains :navigation-2d object."}, :private true, :name quil.middlewares.navigation-3d/assert-state-has-navigation, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 35, :method-params ([state]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 9, :end-line 9, :max-fixed-arity 1, :fn-var true, :arglists (quote ([state])), :doc "Asserts that state map contains :navigation-2d object."}, navigation-3d {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 155, :column 7, :end-line 155, :end-column 20, :arglists (quote ([options])), :doc "Enables navigation in 3D space. Similar to how it is done in\n shooters: WASD navigation, space is go up, z is go down,\n drag mouse to look around."}, :name quil.middlewares.navigation-3d/navigation-3d, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 20, :method-params ([options]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 155, :end-line 155, :max-fixed-arity 1, :fn-var true, :arglists (quote ([options])), :doc "Enables navigation in 3D space. Similar to how it is done in\n shooters: WASD navigation, space is go up, z is go down,\n drag mouse to look around."}, default-position {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 16, :column 8, :end-line 16, :end-column 24, :private true, :arglists (quote ([])), :doc "Default position configuration. Check default configuration in\n 'camera' function."}, :private true, :name quil.middlewares.navigation-3d/default-position, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 24, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 16, :end-line 16, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Default position configuration. Check default configuration in\n 'camera' function."}, rotate {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 105, :column 8, :end-line 105, :end-column 14, :private true, :arglists (quote ([state event pixels-in-360])), :doc "Mouse handler function which rotates nav-3d configuration.\n It uses mouse from event object and pixels-in-360 to calculate\n angles to rotate."}, :private true, :name quil.middlewares.navigation-3d/rotate, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 14, :method-params ([state event pixels-in-360]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 105, :end-line 105, :max-fixed-arity 3, :fn-var true, :arglists (quote ([state event pixels-in-360])), :doc "Mouse handler function which rotates nav-3d configuration.\n It uses mouse from event object and pixels-in-360 to calculate\n angles to rotate."}, rotate-ud {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/middlewares/navigation_3d.cljc", :line 96, :column 8, :end-line 96, :end-column 17, :private true, :arglists (quote ([nav-3d angle])), :doc "Rotates nav-3d configuration up-down."}, :private true, :name quil.middlewares.navigation-3d/rotate-ud, :variadic false, :file "out/quil/middlewares/navigation_3d.cljc", :end-column 17, :method-params ([nav-3d angle]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 96, :end-line 96, :max-fixed-arity 2, :fn-var true, :arglists (quote ([nav-3d angle])), :doc "Rotates nav-3d configuration up-down."}}, :require-macros nil, :cljs.analyzer/constants {:seen #{:y :pixels-in-360 :p-y :step-size :key :w :s :rotate-on :up :setup :z :straight :key-pressed :p-x :navigation-3d :position :d :x :draw :a :mouse-dragged}, :order [:navigation-3d :position :straight :up :p-x :p-y :x :y :key :w :s :z :d :a :pixels-in-360 :step-size :rotate-on :mouse-dragged :draw :key-pressed :setup]}, :doc nil} \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/navigation_3d.js b/assets/viz/1/quil/middlewares/navigation_3d.js
new file mode 100644
index 0000000..19eb935
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/navigation_3d.js
@@ -0,0 +1,261 @@
+// Compiled by ClojureScript 1.9.473 {}
+goog.provide('quil.middlewares.navigation_3d');
+goog.require('cljs.core');
+goog.require('quil.core');
+quil.middlewares.navigation_3d.missing_navigation_key_error = [cljs.core.str.cljs$core$IFn$_invoke$arity$1("state map is missing :navigation-3d key. "),cljs.core.str.cljs$core$IFn$_invoke$arity$1("Did you accidentally removed it from the state in "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(":update or any other handler?")].join('');
+/**
+ * Asserts that state map contains :navigation-2d object.
+ */
+quil.middlewares.navigation_3d.assert_state_has_navigation = (function quil$middlewares$navigation_3d$assert_state_has_navigation(state){
+if(cljs.core.truth_(new cljs.core.Keyword(null,"navigation-3d","navigation-3d",682305301).cljs$core$IFn$_invoke$arity$1(state))){
+return null;
+} else {
+throw (new Error(quil.middlewares.navigation_3d.missing_navigation_key_error));
+}
+});
+/**
+ * Default position configuration. Check default configuration in
+ * 'camera' function.
+ */
+quil.middlewares.navigation_3d.default_position = (function quil$middlewares$navigation_3d$default_position(){
+return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"position","position",-2011731912),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(quil.core.width.call(null) / 2.0),(quil.core.height.call(null) / 2.0),((quil.core.height.call(null) / 2.0) / quil.core.tan.call(null,((quil.core.PI * 60.0) / 360.0)))], null),new cljs.core.Keyword(null,"straight","straight",-1252567854),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(0),(-1)], null),new cljs.core.Keyword(null,"up","up",-269712113),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(1),(0)], null)], null);
+});
+/**
+ * Rotates vector v by angle with axis.
+ * Formula is taken from wiki:
+ * http://en.wikipedia.org/wiki/Rotation_matrix#Rotation_matrix_from_axis_and_angle
+ */
+quil.middlewares.navigation_3d.rotate_by_axis_and_angle = (function quil$middlewares$navigation_3d$rotate_by_axis_and_angle(v,axis,angle){
+var vec__8900 = axis;
+var a_x = cljs.core.nth.call(null,vec__8900,(0),null);
+var a_y = cljs.core.nth.call(null,vec__8900,(1),null);
+var a_z = cljs.core.nth.call(null,vec__8900,(2),null);
+var vec__8903 = v;
+var x = cljs.core.nth.call(null,vec__8903,(0),null);
+var y = cljs.core.nth.call(null,vec__8903,(1),null);
+var z = cljs.core.nth.call(null,vec__8903,(2),null);
+var cs = quil.core.cos.call(null,angle);
+var _cs = ((1) - cs);
+var sn = quil.core.sin.call(null,angle);
+var a = (cs + ((a_x * a_x) * _cs));
+var b = (((a_x * a_y) * _cs) - (a_z * sn));
+var c = (((a_x * a_z) * _cs) + (a_y * sn));
+var d = (((a_x * a_y) * _cs) + (a_z * sn));
+var e = (cs + ((a_y * a_y) * _cs));
+var f = (((a_y * a_z) * _cs) - (a_x * sn));
+var g = (((a_x * a_z) * _cs) - (a_y * sn));
+var h = (((a_y * a_z) * _cs) + (a_x * sn));
+var i = (cs + ((a_z * a_z) * _cs));
+return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(((a * x) + (b * y)) + (c * z)),(((d * x) + (e * y)) + (f * z)),(((g * x) + (h * y)) + (i * z))], null);
+});
+/**
+ * Rotates nav-3d configuration left-right. angle positive - rotate right,
+ * negative - left.
+ */
+quil.middlewares.navigation_3d.rotate_lr = (function quil$middlewares$navigation_3d$rotate_lr(nav_3d,angle){
+return cljs.core.update_in.call(null,nav_3d,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"straight","straight",-1252567854)], null),quil.middlewares.navigation_3d.rotate_by_axis_and_angle,new cljs.core.Keyword(null,"up","up",-269712113).cljs$core$IFn$_invoke$arity$1(nav_3d),angle);
+});
+/**
+ * Vector cross-product: http://en.wikipedia.org/wiki/Cross_product
+ */
+quil.middlewares.navigation_3d.cross_product = (function quil$middlewares$navigation_3d$cross_product(p__8906,p__8907){
+var vec__8914 = p__8906;
+var u1 = cljs.core.nth.call(null,vec__8914,(0),null);
+var u2 = cljs.core.nth.call(null,vec__8914,(1),null);
+var u3 = cljs.core.nth.call(null,vec__8914,(2),null);
+var vec__8917 = p__8907;
+var v1 = cljs.core.nth.call(null,vec__8917,(0),null);
+var v2 = cljs.core.nth.call(null,vec__8917,(1),null);
+var v3 = cljs.core.nth.call(null,vec__8917,(2),null);
+return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [((u2 * v3) - (u3 * v2)),((u3 * v1) - (u1 * v3)),((u1 * v2) - (u2 * v1))], null);
+});
+/**
+ * Multiply vector v by scalar mult.
+ */
+quil.middlewares.navigation_3d.v_mult = (function quil$middlewares$navigation_3d$v_mult(v,mult){
+return cljs.core.mapv.call(null,(function (p1__8920_SHARP_){
+return (p1__8920_SHARP_ * mult);
+}),v);
+});
+/**
+ * Sum of 2 vectors.
+ */
+quil.middlewares.navigation_3d.v_plus = (function quil$middlewares$navigation_3d$v_plus(v1,v2){
+return cljs.core.mapv.call(null,cljs.core._PLUS_,v1,v2);
+});
+/**
+ * Returns vector opposite to vector v.
+ */
+quil.middlewares.navigation_3d.v_opposite = (function quil$middlewares$navigation_3d$v_opposite(v){
+return quil.middlewares.navigation_3d.v_mult.call(null,v,(-1));
+});
+/**
+ * Normalize vector, returning vector
+ * which has same direction but with norm equals to 1.
+ */
+quil.middlewares.navigation_3d.v_normalize = (function quil$middlewares$navigation_3d$v_normalize(v){
+var norm = quil.core.sqrt.call(null,cljs.core.apply.call(null,cljs.core._PLUS_,cljs.core.map.call(null,quil.core.sq,v)));
+return quil.middlewares.navigation_3d.v_mult.call(null,v,((1) / norm));
+});
+/**
+ * Rotates nav-3d configuration up-down.
+ */
+quil.middlewares.navigation_3d.rotate_ud = (function quil$middlewares$navigation_3d$rotate_ud(nav_3d,angle){
+var axis = quil.middlewares.navigation_3d.cross_product.call(null,new cljs.core.Keyword(null,"straight","straight",-1252567854).cljs$core$IFn$_invoke$arity$1(nav_3d),new cljs.core.Keyword(null,"up","up",-269712113).cljs$core$IFn$_invoke$arity$1(nav_3d));
+var rotate = ((function (axis){
+return (function (p1__8921_SHARP_){
+return quil.middlewares.navigation_3d.rotate_by_axis_and_angle.call(null,p1__8921_SHARP_,axis,angle);
+});})(axis))
+;
+return cljs.core.update_in.call(null,cljs.core.update_in.call(null,nav_3d,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"straight","straight",-1252567854)], null),rotate),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"up","up",-269712113)], null),rotate);
+});
+/**
+ * Mouse handler function which rotates nav-3d configuration.
+ * It uses mouse from event object and pixels-in-360 to calculate
+ * angles to rotate.
+ */
+quil.middlewares.navigation_3d.rotate = (function quil$middlewares$navigation_3d$rotate(state,event,pixels_in_360){
+quil.middlewares.navigation_3d.assert_state_has_navigation.call(null,state);
+
+if(cljs.core._EQ_.call(null,(0),new cljs.core.Keyword(null,"p-x","p-x",-1721211211).cljs$core$IFn$_invoke$arity$1(event),new cljs.core.Keyword(null,"p-y","p-y",-530704830).cljs$core$IFn$_invoke$arity$1(event))){
+return state;
+} else {
+var dx = (new cljs.core.Keyword(null,"p-x","p-x",-1721211211).cljs$core$IFn$_invoke$arity$1(event) - new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(event));
+var dy = (new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(event) - new cljs.core.Keyword(null,"p-y","p-y",-530704830).cljs$core$IFn$_invoke$arity$1(event));
+var angle_lr = quil.core.map_range.call(null,dx,(0),pixels_in_360,(0),quil.core.TWO_PI);
+var angle_ud = quil.core.map_range.call(null,dy,(0),pixels_in_360,(0),quil.core.TWO_PI);
+return cljs.core.update_in.call(null,state,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"navigation-3d","navigation-3d",682305301)], null),((function (dx,dy,angle_lr,angle_ud){
+return (function (p1__8922_SHARP_){
+return quil.middlewares.navigation_3d.rotate_ud.call(null,quil.middlewares.navigation_3d.rotate_lr.call(null,p1__8922_SHARP_,angle_lr),angle_ud);
+});})(dx,dy,angle_lr,angle_ud))
+);
+}
+});
+quil.middlewares.navigation_3d.space = cljs.core.keyword.call(null," ");
+/**
+ * Keyboard handler function which moves nav-3d configuration.
+ * It uses keyboard key from event object to determing in which
+ * direction to move.
+ */
+quil.middlewares.navigation_3d.move = (function quil$middlewares$navigation_3d$move(state,event,step_size){
+quil.middlewares.navigation_3d.assert_state_has_navigation.call(null,state);
+
+var map__8929 = new cljs.core.Keyword(null,"navigation-3d","navigation-3d",682305301).cljs$core$IFn$_invoke$arity$1(state);
+var map__8929__$1 = ((((!((map__8929 == null)))?((((map__8929.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__8929.cljs$core$ISeq$)))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__8929):map__8929);
+var up = cljs.core.get.call(null,map__8929__$1,new cljs.core.Keyword(null,"up","up",-269712113));
+var straight = cljs.core.get.call(null,map__8929__$1,new cljs.core.Keyword(null,"straight","straight",-1252567854));
+var temp__4655__auto__ = (function (){var pred__8931 = cljs.core._EQ_;
+var expr__8932 = new cljs.core.Keyword(null,"key","key",-1516042587).cljs$core$IFn$_invoke$arity$1(event);
+if(cljs.core.truth_(pred__8931.call(null,new cljs.core.Keyword(null,"w","w",354169001),expr__8932))){
+return straight;
+} else {
+if(cljs.core.truth_(pred__8931.call(null,new cljs.core.Keyword(null,"s","s",1705939918),expr__8932))){
+return quil.middlewares.navigation_3d.v_opposite.call(null,straight);
+} else {
+if(cljs.core.truth_(pred__8931.call(null,quil.middlewares.navigation_3d.space,expr__8932))){
+return quil.middlewares.navigation_3d.v_opposite.call(null,up);
+} else {
+if(cljs.core.truth_(pred__8931.call(null,new cljs.core.Keyword(null,"z","z",-789527183),expr__8932))){
+return up;
+} else {
+if(cljs.core.truth_(pred__8931.call(null,new cljs.core.Keyword(null,"d","d",1972142424),expr__8932))){
+return quil.middlewares.navigation_3d.cross_product.call(null,straight,up);
+} else {
+if(cljs.core.truth_(pred__8931.call(null,new cljs.core.Keyword(null,"a","a",-2123407586),expr__8932))){
+return quil.middlewares.navigation_3d.cross_product.call(null,up,straight);
+} else {
+return null;
+}
+}
+}
+}
+}
+}
+})();
+if(cljs.core.truth_(temp__4655__auto__)){
+var dir = temp__4655__auto__;
+return cljs.core.update_in.call(null,state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"navigation-3d","navigation-3d",682305301),new cljs.core.Keyword(null,"position","position",-2011731912)], null),((function (dir,temp__4655__auto__,map__8929,map__8929__$1,up,straight){
+return (function (p1__8923_SHARP_){
+return quil.middlewares.navigation_3d.v_plus.call(null,p1__8923_SHARP_,quil.middlewares.navigation_3d.v_mult.call(null,dir,step_size));
+});})(dir,temp__4655__auto__,map__8929,map__8929__$1,up,straight))
+);
+} else {
+return state;
+}
+});
+/**
+ * Custom 'setup' function which creates initial position
+ * configuration and puts it to the state map.
+ */
+quil.middlewares.navigation_3d.setup_3d_nav = (function quil$middlewares$navigation_3d$setup_3d_nav(user_setup,user_settings){
+var initial_state = cljs.core.update_in.call(null,cljs.core.update_in.call(null,cljs.core.merge.call(null,quil.middlewares.navigation_3d.default_position.call(null),cljs.core.select_keys.call(null,user_settings,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"straight","straight",-1252567854),new cljs.core.Keyword(null,"up","up",-269712113),new cljs.core.Keyword(null,"position","position",-2011731912)], null))),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"straight","straight",-1252567854)], null),quil.middlewares.navigation_3d.v_normalize),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"up","up",-269712113)], null),quil.middlewares.navigation_3d.v_normalize);
+return cljs.core.update_in.call(null,user_setup.call(null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"navigation-3d","navigation-3d",682305301)], null),((function (initial_state){
+return (function (p1__8934_SHARP_){
+return cljs.core.merge.call(null,initial_state,p1__8934_SHARP_);
+});})(initial_state))
+);
+});
+/**
+ * Enables navigation in 3D space. Similar to how it is done in
+ * shooters: WASD navigation, space is go up, z is go down,
+ * drag mouse to look around.
+ */
+quil.middlewares.navigation_3d.navigation_3d = (function quil$middlewares$navigation_3d$navigation_3d(options){
+var user_settings = new cljs.core.Keyword(null,"navigation-3d","navigation-3d",682305301).cljs$core$IFn$_invoke$arity$1(options);
+var pixels_in_360 = new cljs.core.Keyword(null,"pixels-in-360","pixels-in-360",1789567298).cljs$core$IFn$_invoke$arity$2(user_settings,(1000));
+var step_size = new cljs.core.Keyword(null,"step-size","step-size",1545609922).cljs$core$IFn$_invoke$arity$2(user_settings,(20));
+var rotate_on = new cljs.core.Keyword(null,"rotate-on","rotate-on",-1282225937).cljs$core$IFn$_invoke$arity$2(user_settings,new cljs.core.Keyword(null,"mouse-dragged","mouse-dragged",-1220073441));
+var draw = new cljs.core.Keyword(null,"draw","draw",1358331674).cljs$core$IFn$_invoke$arity$2(options,((function (user_settings,pixels_in_360,step_size,rotate_on){
+return (function (state){
+return null;
+});})(user_settings,pixels_in_360,step_size,rotate_on))
+);
+var key_pressed = new cljs.core.Keyword(null,"key-pressed","key-pressed",-757100364).cljs$core$IFn$_invoke$arity$2(options,((function (user_settings,pixels_in_360,step_size,rotate_on,draw){
+return (function (state,_){
+return state;
+});})(user_settings,pixels_in_360,step_size,rotate_on,draw))
+);
+var rotate_on_fn = rotate_on.call(null,options,((function (user_settings,pixels_in_360,step_size,rotate_on,draw,key_pressed){
+return (function (state,_){
+return state;
+});})(user_settings,pixels_in_360,step_size,rotate_on,draw,key_pressed))
+);
+var setup = new cljs.core.Keyword(null,"setup","setup",1987730512).cljs$core$IFn$_invoke$arity$2(options,((function (user_settings,pixels_in_360,step_size,rotate_on,draw,key_pressed,rotate_on_fn){
+return (function (){
+return cljs.core.PersistentArrayMap.EMPTY;
+});})(user_settings,pixels_in_360,step_size,rotate_on,draw,key_pressed,rotate_on_fn))
+);
+return cljs.core.assoc.call(null,options,new cljs.core.Keyword(null,"setup","setup",1987730512),cljs.core.partial.call(null,quil.middlewares.navigation_3d.setup_3d_nav,setup,user_settings),new cljs.core.Keyword(null,"draw","draw",1358331674),((function (user_settings,pixels_in_360,step_size,rotate_on,draw,key_pressed,rotate_on_fn,setup){
+return (function (state){
+quil.middlewares.navigation_3d.assert_state_has_navigation.call(null,state);
+
+var map__8946_8957 = new cljs.core.Keyword(null,"navigation-3d","navigation-3d",682305301).cljs$core$IFn$_invoke$arity$1(state);
+var map__8946_8958__$1 = ((((!((map__8946_8957 == null)))?((((map__8946_8957.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__8946_8957.cljs$core$ISeq$)))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__8946_8957):map__8946_8957);
+var vec__8947_8959 = cljs.core.get.call(null,map__8946_8958__$1,new cljs.core.Keyword(null,"straight","straight",-1252567854));
+var c_x_8960 = cljs.core.nth.call(null,vec__8947_8959,(0),null);
+var c_y_8961 = cljs.core.nth.call(null,vec__8947_8959,(1),null);
+var c_z_8962 = cljs.core.nth.call(null,vec__8947_8959,(2),null);
+var vec__8950_8963 = cljs.core.get.call(null,map__8946_8958__$1,new cljs.core.Keyword(null,"up","up",-269712113));
+var u_x_8964 = cljs.core.nth.call(null,vec__8950_8963,(0),null);
+var u_y_8965 = cljs.core.nth.call(null,vec__8950_8963,(1),null);
+var u_z_8966 = cljs.core.nth.call(null,vec__8950_8963,(2),null);
+var vec__8953_8967 = cljs.core.get.call(null,map__8946_8958__$1,new cljs.core.Keyword(null,"position","position",-2011731912));
+var p_x_8968 = cljs.core.nth.call(null,vec__8953_8967,(0),null);
+var p_y_8969 = cljs.core.nth.call(null,vec__8953_8967,(1),null);
+var p_z_8970 = cljs.core.nth.call(null,vec__8953_8967,(2),null);
+quil.core.camera.call(null,p_x_8968,p_y_8969,p_z_8970,(p_x_8968 + c_x_8960),(p_y_8969 + c_y_8961),(p_z_8970 + c_z_8962),u_x_8964,u_y_8965,u_z_8966);
+
+return draw.call(null,state);
+});})(user_settings,pixels_in_360,step_size,rotate_on,draw,key_pressed,rotate_on_fn,setup))
+,new cljs.core.Keyword(null,"key-pressed","key-pressed",-757100364),((function (user_settings,pixels_in_360,step_size,rotate_on,draw,key_pressed,rotate_on_fn,setup){
+return (function (state,event){
+return key_pressed.call(null,quil.middlewares.navigation_3d.move.call(null,state,event,step_size),event);
+});})(user_settings,pixels_in_360,step_size,rotate_on,draw,key_pressed,rotate_on_fn,setup))
+,rotate_on,((function (user_settings,pixels_in_360,step_size,rotate_on,draw,key_pressed,rotate_on_fn,setup){
+return (function (state,event){
+return rotate_on_fn.call(null,quil.middlewares.navigation_3d.rotate.call(null,state,event,pixels_in_360),event);
+});})(user_settings,pixels_in_360,step_size,rotate_on,draw,key_pressed,rotate_on_fn,setup))
+);
+});
+
+//# sourceMappingURL=navigation_3d.js.map \ No newline at end of file
diff --git a/assets/viz/1/quil/middlewares/navigation_3d.js.map b/assets/viz/1/quil/middlewares/navigation_3d.js.map
new file mode 100644
index 0000000..0ce580a
--- /dev/null
+++ b/assets/viz/1/quil/middlewares/navigation_3d.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/quil\/middlewares\/navigation_3d.js","sources":["navigation_3d.cljc"],"lineCount":261,"mappings":";AAAA;;;AAGA,AAAeA,8DACb,6CAAA,yFAAA,kGAAA;AAIF;;;6DAAA,7DAAOC,kIAEJC;AAFH,AAGE,oBAAU,AAAA,oGAAgBA;AAA1B;;AAAA,AACE,MACgB,KAAAC,MAAWH;;;AAE\/B;;;;kDAAA,lDAAOI;AAAP,AAAA,kDAAA,8DAAA,mQAAA,8DAAA,mFAAA,IAAA,IAAA,aAAA,iDAAA,mFAAA,IAAA,IAAA,leAIc,8BAAA,7BAAG,AAACC,kCACJ,+BAAA,9BAAG,AAACC,mCACJ,CAAA,+BAAA,9BAAG,AAACA,qCAAc,AAACC,wBAAM,yBAAA,xBAAG,gBAAA,fAAGC;;AAI7C;;;;;0DAAA,1DAAOC,4HAIJC,EAAEC,KAAKC;AAJV,AAKE,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js\/Error","quil.middlewares.navigation-3d\/default-position","quil.core\/width","quil.core\/height","quil.core\/tan","quil.core\/PI","quil.middlewares.navigation-3d\/rotate-by-axis-and-angle","v","axis","angle","vec__8900","cljs.core\/nth","vec__8903","a-x","a-y","a-z","x","y","z","cs","quil.core\/cos","-cs","sn","quil.core\/sin","a","b","c","d","e","f","g","h","i","quil.middlewares.navigation-3d\/rotate-lr","nav-3d","cljs.core\/update-in","p__8906","p__8907","vec__8914","vec__8917","quil.middlewares.navigation-3d\/cross-product","u1","u2","u3","v1","v2","v3","quil.middlewares.navigation-3d\/v-mult","mult","p1__8920#","cljs.core\/mapv","quil.middlewares.navigation-3d\/v-plus","cljs.core\/+","quil.middlewares.navigation-3d\/v-opposite","quil.middlewares.navigation-3d\/v-normalize","norm","cljs.core\/map","quil.core\/sq","cljs.core\/apply","quil.core\/sqrt","quil.middlewares.navigation-3d\/rotate-ud","p1__8921#","rotate","quil.middlewares.navigation-3d\/rotate","event","pixels-in-360","cljs.core\/=","dx","dy","angle-lr","quil.core\/map-range","quil.core\/TWO-PI","angle-ud","p1__8922#","quil.middlewares.navigation-3d\/space","cljs.core\/keyword","quil.middlewares.navigation-3d\/move","step-size","map__8929","cljs.core\/PROTOCOL_SENTINEL","cljs.core\/hash-map","cljs.core\/get","up","straight","temp__4655__auto__","dir","pred__8931","expr__8932","p1__8923#","quil.middlewares.navigation-3d\/setup-3d-nav","user-setup","user-settings","initial-state","cljs.core\/select-keys","cljs.core\/merge","p1__8934#","quil.middlewares.navigation-3d\/navigation-3d","options","rotate-on","draw","key-pressed","_","rotate-on-fn","setup","cljs.core\/assoc","cljs.core\/partial","map__8946","vec__8947","vec__8950","vec__8953","c-x","c-y","c-z","u-x","u-y","u-z","p-x","p-y","p-z","quil.core\/camera"]} \ No newline at end of file
diff --git a/assets/viz/1/quil/sketch.cljs b/assets/viz/1/quil/sketch.cljs
new file mode 100644
index 0000000..4e48038
--- /dev/null
+++ b/assets/viz/1/quil/sketch.cljs
@@ -0,0 +1,128 @@
+(ns quil.sketch
+ (:require [quil.util :as u :include-macros true]
+ [quil.middlewares.deprecated-options :as do]
+ [goog.dom :as dom]
+ [goog.events :as events]
+ [goog.events.EventType :as EventType])
+ (:require-macros [quil.sketch]))
+
+(def ^:dynamic
+ *applet* nil)
+
+(defn current-applet [] *applet*)
+
+(u/generate-quil-constants :cljs
+ rendering-modes (:java2d :p2d :p3d :opengl))
+
+(defn resolve-renderer [mode]
+ (u/resolve-constant-key mode rendering-modes))
+
+(defn size
+ ([width height]
+ (.size (current-applet) (int width) (int height)))
+
+ ([width height mode]
+ (.size (current-applet) (int width) (int height) (u/resolve-constant-key mode rendering-modes))))
+
+(defn- bind-handlers [prc opts]
+ (doseq [[processing-name quil-name] {:setup :setup
+ :draw :draw
+
+ :keyPressed :key-pressed
+ :keyReleased :key-released
+ :keyTyped :key-typed
+
+ :mouseClicked :mouse-clicked
+ :mouseDragged :mouse-dragged
+ :mouseMoved :mouse-moved
+ :mousePressed :mouse-pressed
+ :mouseReleased :mouse-released
+ :mouseOut :mouse-exited
+ :mouseOver :mouse-entered
+ :mouseScrolled :mouse-wheel}]
+ (when-let [handler (opts quil-name)]
+ (aset prc (name processing-name)
+ (fn []
+ (quil.sketch/with-sketch prc
+ (handler)))))))
+
+(defn make-sketch [options]
+ (let [opts (->> (:middleware options [])
+ (cons do/deprecated-options)
+ (apply comp)
+ (#(% options))
+ (merge {:size [500 300]}))
+
+ sketch-size (or (:size opts) [200 200])
+ renderer (:renderer opts)
+ features (set (:features opts))
+
+ setup (fn []
+ (->> (if renderer [renderer] [])
+ (concat sketch-size)
+ (apply size))
+ (when (:settings opts) ((:settings opts)))
+ (when (:setup opts) ((:setup opts))))
+ mouse-wheel (when (:mouse-wheel opts)
+ ;; -1 need for compability with Clojure version
+ #((:mouse-wheel opts) (* -1 (.-mouseScroll *applet*))))
+
+ opts (assoc opts
+ :setup setup
+ :mouse-wheel mouse-wheel)
+ attach-function (fn [prc]
+ (bind-handlers prc opts)
+ (set! (.-quil prc) (atom nil))
+ (set! (.-target-frame-rate prc) (atom 60)))
+ sketch (js/Processing.Sketch. attach-function)]
+ (when (contains? features :global-key-events)
+ (aset (aget sketch "options") "globalKeyEvents" true))
+ sketch))
+
+(defn destroy-previous-sketch [host-elem]
+ (when-let [proc-obj (.-processing-obj host-elem)]
+ (.exit proc-obj)))
+
+(defn sketch [& opts]
+ (let [opts-map (apply hash-map opts)
+ host-elem (dom/getElement (:host opts-map))
+ renderer (or (:renderer opts-map) :p2d)]
+ (if host-elem
+ (do
+ (if (.-processing-context host-elem)
+ (when-not (= renderer (.-processing-context host-elem))
+ (.warn js/console "WARNING: Using different context on one canvas!"))
+ (set! (.-processing-context host-elem) renderer))
+ (destroy-previous-sketch host-elem)
+ (set! (.-processing-obj host-elem)
+ (js/Processing. host-elem (make-sketch opts-map))))
+ (.error js/console "ERROR: Cannot create sketch. :host is not specified."))))
+
+(def sketch-init-list (atom (list )))
+
+(defn empty-body? []
+ (let [child (.-childNodes (.-body js/document))]
+ ; seems hacky, we should come up with better way of
+ ; checking whether body is empty or not
+ (<= (.-length child) 1)))
+
+(defn add-canvas [canvas-id]
+ (let [canvas (.createElement js/document "canvas")]
+ (.setAttribute canvas "id" canvas-id)
+ (.appendChild (.-body js/document) canvas)))
+
+(defn init-sketches []
+ (let [add-elem? (empty-body?)]
+ (doseq [sk @sketch-init-list]
+ (when add-elem?
+ (add-canvas (:host-id sk)))
+ ((:fn sk))))
+ (reset! sketch-init-list []))
+
+(defn add-sketch-to-init-list [sk]
+ (swap! sketch-init-list conj sk)
+ ; if page already loaded immediately init sketch we just added
+ (when (= (.-readyState js/document) "complete")
+ (init-sketches)))
+
+(events/listenOnce js/window EventType/LOAD init-sketches)
diff --git a/assets/viz/1/quil/sketch.cljs.cache.edn b/assets/viz/1/quil/sketch.cljs.cache.edn
new file mode 100644
index 0000000..4911e31
--- /dev/null
+++ b/assets/viz/1/quil/sketch.cljs.cache.edn
@@ -0,0 +1 @@
+{:rename-macros {}, :renames {}, :externs {Processing {prototype {PConstants {}}, Sketch {}}, Error {}, console {warn {}, error {}}, document {body {childNodes {length {}}, appendChild {}}, createElement {}, readyState {}}, Object {setAttribute {}}, window {}}, :use-macros {}, :excludes #{}, :name quil.sketch, :imports nil, :requires {goog.dom goog.dom, dom goog.dom, u quil.util, EventType goog.events.EventType, quil.middlewares.deprecated-options quil.middlewares.deprecated-options, do quil.middlewares.deprecated-options, goog.events.EventType goog.events.EventType, events goog.events, goog.events goog.events, quil.util quil.util}, :uses nil, :defs {current-applet {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 12, :column 7, :end-line 12, :end-column 21, :arglists (quote ([]))}, :name quil.sketch/current-applet, :variadic false, :file "out/quil/sketch.cljs", :end-column 21, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 12, :end-line 12, :max-fixed-arity 0, :fn-var true, :arglists (quote ([]))}, make-sketch {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 49, :column 7, :end-line 49, :end-column 18, :arglists (quote ([options]))}, :name quil.sketch/make-sketch, :variadic false, :file "out/quil/sketch.cljs", :end-column 18, :method-params ([options]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 49, :end-line 49, :max-fixed-arity 1, :fn-var true, :arglists (quote ([options]))}, sketch {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 86, :column 7, :end-line 86, :end-column 13, :arglists (quote ([& opts])), :top-fn {:variadic true, :max-fixed-arity 0, :method-params [(opts)], :arglists ([& opts]), :arglists-meta (nil)}}, :name quil.sketch/sketch, :variadic true, :file "out/quil/sketch.cljs", :end-column 13, :top-fn {:variadic true, :max-fixed-arity 0, :method-params [(opts)], :arglists ([& opts]), :arglists-meta (nil)}, :method-params [(opts)], :protocol-impl nil, :arglists-meta (nil), :column 1, :line 86, :end-line 86, :max-fixed-arity 0, :fn-var true, :arglists ([& opts])}, bind-handlers {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 27, :column 8, :end-line 27, :end-column 21, :private true, :arglists (quote ([prc opts]))}, :private true, :name quil.sketch/bind-handlers, :variadic false, :file "out/quil/sketch.cljs", :end-column 21, :method-params ([prc opts]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 27, :end-line 27, :max-fixed-arity 2, :fn-var true, :arglists (quote ([prc opts]))}, empty-body? {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 103, :column 7, :end-line 103, :end-column 18, :arglists (quote ([]))}, :name quil.sketch/empty-body?, :variadic false, :file "out/quil/sketch.cljs", :end-column 18, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 103, :end-line 103, :max-fixed-arity 0, :fn-var true, :arglists (quote ([]))}, rendering-modes {:name quil.sketch/rendering-modes, :file "out/quil/sketch.cljs", :line 14, :column 1, :end-line 15, :end-column 18, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 15, :column 3, :end-line 15, :end-column 18}, :tag cljs.core/IMap}, size {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 20, :column 7, :end-line 20, :end-column 11, :arglists (quote ([width height] [width height mode])), :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([width height] [width height mode]), :arglists ([width height] [width height mode]), :arglists-meta (nil nil)}}, :name quil.sketch/size, :variadic false, :file "out/quil/sketch.cljs", :end-column 11, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([width height] [width height mode]), :arglists ([width height] [width height mode]), :arglists-meta (nil nil)}, :method-params ([width height] [width height mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 20, :end-line 20, :max-fixed-arity 3, :fn-var true, :arglists ([width height] [width height mode])}, add-sketch-to-init-list {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 122, :column 7, :end-line 122, :end-column 30, :arglists (quote ([sk]))}, :name quil.sketch/add-sketch-to-init-list, :variadic false, :file "out/quil/sketch.cljs", :end-column 30, :method-params ([sk]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 122, :end-line 122, :max-fixed-arity 1, :fn-var true, :arglists (quote ([sk]))}, sketch-init-list {:name quil.sketch/sketch-init-list, :file "out/quil/sketch.cljs", :line 101, :column 1, :end-line 101, :end-column 22, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 101, :column 6, :end-line 101, :end-column 22}, :tag any}, init-sketches {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 114, :column 7, :end-line 114, :end-column 20, :arglists (quote ([]))}, :name quil.sketch/init-sketches, :variadic false, :file "out/quil/sketch.cljs", :end-column 20, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 114, :end-line 114, :max-fixed-arity 0, :fn-var true, :arglists (quote ([]))}, destroy-previous-sketch {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 82, :column 7, :end-line 82, :end-column 30, :arglists (quote ([host-elem]))}, :name quil.sketch/destroy-previous-sketch, :variadic false, :file "out/quil/sketch.cljs", :end-column 30, :method-params ([host-elem]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 82, :end-line 82, :max-fixed-arity 1, :fn-var true, :arglists (quote ([host-elem]))}, resolve-renderer {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 17, :column 7, :end-line 17, :end-column 23, :arglists (quote ([mode]))}, :name quil.sketch/resolve-renderer, :variadic false, :file "out/quil/sketch.cljs", :end-column 23, :method-params ([mode]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 17, :end-line 17, :max-fixed-arity 1, :fn-var true, :arglists (quote ([mode]))}, *applet* {:name quil.sketch/*applet*, :file "out/quil/sketch.cljs", :line 9, :column 1, :end-line 10, :end-column 11, :dynamic true, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 10, :column 3, :end-line 10, :end-column 11, :dynamic true}, :tag clj-nil}, add-canvas {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/sketch.cljs", :line 109, :column 7, :end-line 109, :end-column 17, :arglists (quote ([canvas-id]))}, :name quil.sketch/add-canvas, :variadic false, :file "out/quil/sketch.cljs", :end-column 17, :method-params ([canvas-id]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 109, :end-line 109, :max-fixed-arity 1, :fn-var true, :arglists (quote ([canvas-id]))}}, :require-macros {quil.sketch quil.sketch, u quil.util, quil.util quil.util}, :cljs.analyzer/constants {:seen #{:features :key-typed :mouse-clicked :mouse-released :fn :mouse-exited :java2d :mouse-wheel :keyPressed :opengl :mouse-moved :mouseOut :settings :mouseScrolled :mouseDragged :renderer :size :setup :mouse-pressed :middleware :global-key-events :host :mouse-entered :key-pressed :key-released :keyReleased :mouseClicked :p2d :mouseReleased :mousePressed :mouseMoved :mouseOver :host-id :keyTyped :draw :p3d :mouse-dragged}, :order [:java2d :p2d :p3d :opengl :keyPressed :mouseOut :mouseScrolled :mouseDragged :setup :keyReleased :mouseClicked :mouseReleased :mousePressed :mouseMoved :mouseOver :keyTyped :draw :key-pressed :mouse-exited :mouse-wheel :mouse-dragged :key-released :mouse-clicked :mouse-released :mouse-pressed :mouse-moved :mouse-entered :key-typed :size :middleware :renderer :features :settings :global-key-events :host :host-id :fn]}, :doc nil} \ No newline at end of file
diff --git a/assets/viz/1/quil/sketch.js b/assets/viz/1/quil/sketch.js
new file mode 100644
index 0000000..1ed6d8a
--- /dev/null
+++ b/assets/viz/1/quil/sketch.js
@@ -0,0 +1,348 @@
+// Compiled by ClojureScript 1.9.473 {}
+goog.provide('quil.sketch');
+goog.require('cljs.core');
+goog.require('quil.util');
+goog.require('quil.middlewares.deprecated_options');
+goog.require('goog.dom');
+goog.require('goog.events');
+goog.require('goog.events.EventType');
+quil.sketch._STAR_applet_STAR_ = null;
+quil.sketch.current_applet = (function quil$sketch$current_applet(){
+return quil.sketch._STAR_applet_STAR_;
+});
+quil.sketch.rendering_modes = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"java2d","java2d",166099237),(Processing.prototype.PConstants["JAVA2D"]),new cljs.core.Keyword(null,"p2d","p2d",-2106175755),(Processing.prototype.PConstants["P2D"]),new cljs.core.Keyword(null,"p3d","p3d",-850380194),(Processing.prototype.PConstants["P3D"]),new cljs.core.Keyword(null,"opengl","opengl",-614998103),(Processing.prototype.PConstants["OPENGL"])], null);
+quil.sketch.resolve_renderer = (function quil$sketch$resolve_renderer(mode){
+return quil.util.resolve_constant_key.call(null,mode,quil.sketch.rendering_modes);
+});
+quil.sketch.size = (function quil$sketch$size(var_args){
+var args8189 = [];
+var len__7927__auto___8192 = arguments.length;
+var i__7928__auto___8193 = (0);
+while(true){
+if((i__7928__auto___8193 < len__7927__auto___8192)){
+args8189.push((arguments[i__7928__auto___8193]));
+
+var G__8194 = (i__7928__auto___8193 + (1));
+i__7928__auto___8193 = G__8194;
+continue;
+} else {
+}
+break;
+}
+
+var G__8191 = args8189.length;
+switch (G__8191) {
+case 2:
+return quil.sketch.size.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.sketch.size.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8189.length)].join('')));
+
+}
+});
+
+quil.sketch.size.cljs$core$IFn$_invoke$arity$2 = (function (width,height){
+return quil.sketch.current_applet.call(null).size((width | (0)),(height | (0)));
+});
+
+quil.sketch.size.cljs$core$IFn$_invoke$arity$3 = (function (width,height,mode){
+return quil.sketch.current_applet.call(null).size((width | (0)),(height | (0)),quil.util.resolve_constant_key.call(null,mode,quil.sketch.rendering_modes));
+});
+
+quil.sketch.size.cljs$lang$maxFixedArity = 3;
+
+quil.sketch.bind_handlers = (function quil$sketch$bind_handlers(prc,opts){
+var seq__8208 = cljs.core.seq.call(null,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"keyPressed","keyPressed",1791025256),new cljs.core.Keyword(null,"mouseOut","mouseOut",-386669045),new cljs.core.Keyword(null,"mouseScrolled","mouseScrolled",31878252),new cljs.core.Keyword(null,"mouseDragged","mouseDragged",129975181),new cljs.core.Keyword(null,"setup","setup",1987730512),new cljs.core.Keyword(null,"keyReleased","keyReleased",541714964),new cljs.core.Keyword(null,"mouseClicked","mouseClicked",1764302965),new cljs.core.Keyword(null,"mouseReleased","mouseReleased",1116234838),new cljs.core.Keyword(null,"mousePressed","mousePressed",1776186454),new cljs.core.Keyword(null,"mouseMoved","mouseMoved",-1936954058),new cljs.core.Keyword(null,"mouseOver","mouseOver",-1334461930),new cljs.core.Keyword(null,"keyTyped","keyTyped",1437329399),new cljs.core.Keyword(null,"draw","draw",1358331674)],[new cljs.core.Keyword(null,"key-pressed","key-pressed",-757100364),new cljs.core.Keyword(null,"mouse-exited","mouse-exited",-483205244),new cljs.core.Keyword(null,"mouse-wheel","mouse-wheel",1811662439),new cljs.core.Keyword(null,"mouse-dragged","mouse-dragged",-1220073441),new cljs.core.Keyword(null,"setup","setup",1987730512),new cljs.core.Keyword(null,"key-released","key-released",215919828),new cljs.core.Keyword(null,"mouse-clicked","mouse-clicked",-199339421),new cljs.core.Keyword(null,"mouse-released","mouse-released",-664480061),new cljs.core.Keyword(null,"mouse-pressed","mouse-pressed",736955536),new cljs.core.Keyword(null,"mouse-moved","mouse-moved",-1918152310),new cljs.core.Keyword(null,"mouse-entered","mouse-entered",811350322),new cljs.core.Keyword(null,"key-typed","key-typed",-876037597),new cljs.core.Keyword(null,"draw","draw",1358331674)]));
+var chunk__8209 = null;
+var count__8210 = (0);
+var i__8211 = (0);
+while(true){
+if((i__8211 < count__8210)){
+var vec__8212 = cljs.core._nth.call(null,chunk__8209,i__8211);
+var processing_name = cljs.core.nth.call(null,vec__8212,(0),null);
+var quil_name = cljs.core.nth.call(null,vec__8212,(1),null);
+var temp__4657__auto___8220 = opts.call(null,quil_name);
+if(cljs.core.truth_(temp__4657__auto___8220)){
+var handler_8221 = temp__4657__auto___8220;
+(prc[cljs.core.name.call(null,processing_name)] = ((function (seq__8208,chunk__8209,count__8210,i__8211,handler_8221,temp__4657__auto___8220,vec__8212,processing_name,quil_name){
+return (function (){
+var _STAR_applet_STAR_8215 = quil.sketch._STAR_applet_STAR_;
+quil.sketch._STAR_applet_STAR_ = prc;
+
+try{return handler_8221.call(null);
+}finally {quil.sketch._STAR_applet_STAR_ = _STAR_applet_STAR_8215;
+}});})(seq__8208,chunk__8209,count__8210,i__8211,handler_8221,temp__4657__auto___8220,vec__8212,processing_name,quil_name))
+);
+} else {
+}
+
+var G__8222 = seq__8208;
+var G__8223 = chunk__8209;
+var G__8224 = count__8210;
+var G__8225 = (i__8211 + (1));
+seq__8208 = G__8222;
+chunk__8209 = G__8223;
+count__8210 = G__8224;
+i__8211 = G__8225;
+continue;
+} else {
+var temp__4657__auto__ = cljs.core.seq.call(null,seq__8208);
+if(temp__4657__auto__){
+var seq__8208__$1 = temp__4657__auto__;
+if(cljs.core.chunked_seq_QMARK_.call(null,seq__8208__$1)){
+var c__7633__auto__ = cljs.core.chunk_first.call(null,seq__8208__$1);
+var G__8226 = cljs.core.chunk_rest.call(null,seq__8208__$1);
+var G__8227 = c__7633__auto__;
+var G__8228 = cljs.core.count.call(null,c__7633__auto__);
+var G__8229 = (0);
+seq__8208 = G__8226;
+chunk__8209 = G__8227;
+count__8210 = G__8228;
+i__8211 = G__8229;
+continue;
+} else {
+var vec__8216 = cljs.core.first.call(null,seq__8208__$1);
+var processing_name = cljs.core.nth.call(null,vec__8216,(0),null);
+var quil_name = cljs.core.nth.call(null,vec__8216,(1),null);
+var temp__4657__auto___8230__$1 = opts.call(null,quil_name);
+if(cljs.core.truth_(temp__4657__auto___8230__$1)){
+var handler_8231 = temp__4657__auto___8230__$1;
+(prc[cljs.core.name.call(null,processing_name)] = ((function (seq__8208,chunk__8209,count__8210,i__8211,handler_8231,temp__4657__auto___8230__$1,vec__8216,processing_name,quil_name,seq__8208__$1,temp__4657__auto__){
+return (function (){
+var _STAR_applet_STAR_8219 = quil.sketch._STAR_applet_STAR_;
+quil.sketch._STAR_applet_STAR_ = prc;
+
+try{return handler_8231.call(null);
+}finally {quil.sketch._STAR_applet_STAR_ = _STAR_applet_STAR_8219;
+}});})(seq__8208,chunk__8209,count__8210,i__8211,handler_8231,temp__4657__auto___8230__$1,vec__8216,processing_name,quil_name,seq__8208__$1,temp__4657__auto__))
+);
+} else {
+}
+
+var G__8232 = cljs.core.next.call(null,seq__8208__$1);
+var G__8233 = null;
+var G__8234 = (0);
+var G__8235 = (0);
+seq__8208 = G__8232;
+chunk__8209 = G__8233;
+count__8210 = G__8234;
+i__8211 = G__8235;
+continue;
+}
+} else {
+return null;
+}
+}
+break;
+}
+});
+quil.sketch.make_sketch = (function quil$sketch$make_sketch(options){
+var opts = cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"size","size",1098693007),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(500),(300)], null)], null),(function (p1__8236_SHARP_){
+return p1__8236_SHARP_.call(null,options);
+}).call(null,cljs.core.apply.call(null,cljs.core.comp,cljs.core.cons.call(null,quil.middlewares.deprecated_options.deprecated_options,new cljs.core.Keyword(null,"middleware","middleware",1462115504).cljs$core$IFn$_invoke$arity$2(options,cljs.core.PersistentVector.EMPTY)))));
+var sketch_size = (function (){var or__6814__auto__ = new cljs.core.Keyword(null,"size","size",1098693007).cljs$core$IFn$_invoke$arity$1(opts);
+if(cljs.core.truth_(or__6814__auto__)){
+return or__6814__auto__;
+} else {
+return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(200),(200)], null);
+}
+})();
+var renderer = new cljs.core.Keyword(null,"renderer","renderer",336841071).cljs$core$IFn$_invoke$arity$1(opts);
+var features = cljs.core.set.call(null,new cljs.core.Keyword(null,"features","features",-1146962336).cljs$core$IFn$_invoke$arity$1(opts));
+var setup = ((function (opts,sketch_size,renderer,features){
+return (function (){
+cljs.core.apply.call(null,quil.sketch.size,cljs.core.concat.call(null,sketch_size,(cljs.core.truth_(renderer)?new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [renderer], null):cljs.core.PersistentVector.EMPTY)));
+
+if(cljs.core.truth_(new cljs.core.Keyword(null,"settings","settings",1556144875).cljs$core$IFn$_invoke$arity$1(opts))){
+new cljs.core.Keyword(null,"settings","settings",1556144875).cljs$core$IFn$_invoke$arity$1(opts).call(null);
+} else {
+}
+
+if(cljs.core.truth_(new cljs.core.Keyword(null,"setup","setup",1987730512).cljs$core$IFn$_invoke$arity$1(opts))){
+return new cljs.core.Keyword(null,"setup","setup",1987730512).cljs$core$IFn$_invoke$arity$1(opts).call(null);
+} else {
+return null;
+}
+});})(opts,sketch_size,renderer,features))
+;
+var mouse_wheel = (cljs.core.truth_(new cljs.core.Keyword(null,"mouse-wheel","mouse-wheel",1811662439).cljs$core$IFn$_invoke$arity$1(opts))?((function (opts,sketch_size,renderer,features,setup){
+return (function (){
+return new cljs.core.Keyword(null,"mouse-wheel","mouse-wheel",1811662439).cljs$core$IFn$_invoke$arity$1(opts).call(null,((-1) * quil.sketch._STAR_applet_STAR_.mouseScroll));
+});})(opts,sketch_size,renderer,features,setup))
+:null);
+var opts__$1 = cljs.core.assoc.call(null,opts,new cljs.core.Keyword(null,"setup","setup",1987730512),setup,new cljs.core.Keyword(null,"mouse-wheel","mouse-wheel",1811662439),mouse_wheel);
+var attach_function = ((function (opts,sketch_size,renderer,features,setup,mouse_wheel,opts__$1){
+return (function (prc){
+quil.sketch.bind_handlers.call(null,prc,opts__$1);
+
+prc.quil = cljs.core.atom.call(null,null);
+
+return prc.target_frame_rate = cljs.core.atom.call(null,(60));
+});})(opts,sketch_size,renderer,features,setup,mouse_wheel,opts__$1))
+;
+var sketch = (new Processing.Sketch(attach_function));
+if(cljs.core.contains_QMARK_.call(null,features,new cljs.core.Keyword(null,"global-key-events","global-key-events",335064944))){
+((sketch["options"])["globalKeyEvents"] = true);
+} else {
+}
+
+return sketch;
+});
+quil.sketch.destroy_previous_sketch = (function quil$sketch$destroy_previous_sketch(host_elem){
+var temp__4657__auto__ = host_elem.processing_obj;
+if(cljs.core.truth_(temp__4657__auto__)){
+var proc_obj = temp__4657__auto__;
+return proc_obj.exit();
+} else {
+return null;
+}
+});
+quil.sketch.sketch = (function quil$sketch$sketch(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8238 = arguments.length;
+var i__7928__auto___8239 = (0);
+while(true){
+if((i__7928__auto___8239 < len__7927__auto___8238)){
+args__7934__auto__.push((arguments[i__7928__auto___8239]));
+
+var G__8240 = (i__7928__auto___8239 + (1));
+i__7928__auto___8239 = G__8240;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((0) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((0)),(0),null)):null);
+return quil.sketch.sketch.cljs$core$IFn$_invoke$arity$variadic(argseq__7935__auto__);
+});
+
+quil.sketch.sketch.cljs$core$IFn$_invoke$arity$variadic = (function (opts){
+var opts_map = cljs.core.apply.call(null,cljs.core.hash_map,opts);
+var host_elem = goog.dom.getElement(new cljs.core.Keyword(null,"host","host",-1558485167).cljs$core$IFn$_invoke$arity$1(opts_map));
+var renderer = (function (){var or__6814__auto__ = new cljs.core.Keyword(null,"renderer","renderer",336841071).cljs$core$IFn$_invoke$arity$1(opts_map);
+if(cljs.core.truth_(or__6814__auto__)){
+return or__6814__auto__;
+} else {
+return new cljs.core.Keyword(null,"p2d","p2d",-2106175755);
+}
+})();
+if(cljs.core.truth_(host_elem)){
+if(cljs.core.truth_(host_elem.processing_context)){
+if(cljs.core._EQ_.call(null,renderer,host_elem.processing_context)){
+} else {
+console.warn("WARNING: Using different context on one canvas!");
+}
+} else {
+host_elem.processing_context = renderer;
+}
+
+quil.sketch.destroy_previous_sketch.call(null,host_elem);
+
+return host_elem.processing_obj = (new Processing(host_elem,quil.sketch.make_sketch.call(null,opts_map)));
+} else {
+return console.error("ERROR: Cannot create sketch. :host is not specified.");
+}
+});
+
+quil.sketch.sketch.cljs$lang$maxFixedArity = (0);
+
+quil.sketch.sketch.cljs$lang$applyTo = (function (seq8237){
+return quil.sketch.sketch.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq8237));
+});
+
+quil.sketch.sketch_init_list = cljs.core.atom.call(null,cljs.core.List.EMPTY);
+quil.sketch.empty_body_QMARK_ = (function quil$sketch$empty_body_QMARK_(){
+var child = document.body.childNodes;
+return (child.length <= (1));
+});
+quil.sketch.add_canvas = (function quil$sketch$add_canvas(canvas_id){
+var canvas = document.createElement("canvas");
+canvas.setAttribute("id",canvas_id);
+
+return document.body.appendChild(canvas);
+});
+quil.sketch.init_sketches = (function quil$sketch$init_sketches(){
+var add_elem_QMARK__8249 = quil.sketch.empty_body_QMARK_.call(null);
+var seq__8245_8250 = cljs.core.seq.call(null,cljs.core.deref.call(null,quil.sketch.sketch_init_list));
+var chunk__8246_8251 = null;
+var count__8247_8252 = (0);
+var i__8248_8253 = (0);
+while(true){
+if((i__8248_8253 < count__8247_8252)){
+var sk_8254 = cljs.core._nth.call(null,chunk__8246_8251,i__8248_8253);
+if(cljs.core.truth_(add_elem_QMARK__8249)){
+quil.sketch.add_canvas.call(null,new cljs.core.Keyword(null,"host-id","host-id",742376279).cljs$core$IFn$_invoke$arity$1(sk_8254));
+} else {
+}
+
+new cljs.core.Keyword(null,"fn","fn",-1175266204).cljs$core$IFn$_invoke$arity$1(sk_8254).call(null);
+
+var G__8255 = seq__8245_8250;
+var G__8256 = chunk__8246_8251;
+var G__8257 = count__8247_8252;
+var G__8258 = (i__8248_8253 + (1));
+seq__8245_8250 = G__8255;
+chunk__8246_8251 = G__8256;
+count__8247_8252 = G__8257;
+i__8248_8253 = G__8258;
+continue;
+} else {
+var temp__4657__auto___8259 = cljs.core.seq.call(null,seq__8245_8250);
+if(temp__4657__auto___8259){
+var seq__8245_8260__$1 = temp__4657__auto___8259;
+if(cljs.core.chunked_seq_QMARK_.call(null,seq__8245_8260__$1)){
+var c__7633__auto___8261 = cljs.core.chunk_first.call(null,seq__8245_8260__$1);
+var G__8262 = cljs.core.chunk_rest.call(null,seq__8245_8260__$1);
+var G__8263 = c__7633__auto___8261;
+var G__8264 = cljs.core.count.call(null,c__7633__auto___8261);
+var G__8265 = (0);
+seq__8245_8250 = G__8262;
+chunk__8246_8251 = G__8263;
+count__8247_8252 = G__8264;
+i__8248_8253 = G__8265;
+continue;
+} else {
+var sk_8266 = cljs.core.first.call(null,seq__8245_8260__$1);
+if(cljs.core.truth_(add_elem_QMARK__8249)){
+quil.sketch.add_canvas.call(null,new cljs.core.Keyword(null,"host-id","host-id",742376279).cljs$core$IFn$_invoke$arity$1(sk_8266));
+} else {
+}
+
+new cljs.core.Keyword(null,"fn","fn",-1175266204).cljs$core$IFn$_invoke$arity$1(sk_8266).call(null);
+
+var G__8267 = cljs.core.next.call(null,seq__8245_8260__$1);
+var G__8268 = null;
+var G__8269 = (0);
+var G__8270 = (0);
+seq__8245_8250 = G__8267;
+chunk__8246_8251 = G__8268;
+count__8247_8252 = G__8269;
+i__8248_8253 = G__8270;
+continue;
+}
+} else {
+}
+}
+break;
+}
+
+return cljs.core.reset_BANG_.call(null,quil.sketch.sketch_init_list,cljs.core.PersistentVector.EMPTY);
+});
+quil.sketch.add_sketch_to_init_list = (function quil$sketch$add_sketch_to_init_list(sk){
+cljs.core.swap_BANG_.call(null,quil.sketch.sketch_init_list,cljs.core.conj,sk);
+
+if(cljs.core._EQ_.call(null,document.readyState,"complete")){
+return quil.sketch.init_sketches.call(null);
+} else {
+return null;
+}
+});
+goog.events.listenOnce(window,goog.events.EventType.LOAD,quil.sketch.init_sketches);
+
+//# sourceMappingURL=sketch.js.map \ No newline at end of file
diff --git a/assets/viz/1/quil/sketch.js.map b/assets/viz/1/quil/sketch.js.map
new file mode 100644
index 0000000..3af57f2
--- /dev/null
+++ b/assets/viz/1/quil/sketch.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/quil\/sketch.js","sources":["sketch.cljs"],"lineCount":348,"mappings":";AAAA;;;;;;;AAQA,iCAAA,jCACEA;AAEF,6BAAA,7BAAMC;AAAN,AAAwBD;;AAExB,AAAA,8BAAA,2CAAA,wDAAA,CAAAE,gCAAA,WAAA,oDAAA,CAAAA,gCAAA,QAAA,mDAAA,CAAAA,gCAAA,QAAA,yDAAA,CAAAA,gCAAA,hcACEC;AAEF,+BAAA,\/BAAMC,sEAAkBC;AAAxB,AACE,OAACC,yCAAuBD,KAAKF;;AAE\/B,AAAA,mBAAA,2BAAAI,9CAAMK;AAAN,AAAA,IAAAJ,WAAA;AAAA,AAAA,IAAAC,yBAAA,AAAA;AAAA,AAAA,IAAAC,uBAAA;;AAAA,AAAA,GAAA,CAAAA,uBAAAD;AAAA,AAAA,AAAAD,cAAA,CAAA,UAAAE;;AAAA,cAAA,CAAAA,uBAAA;;;;AAAA;;;;AAAA,IAAAC,UAAA,AAAAH;AAAA,AAAA,QAAAG;KAAA;AAAA,OAAAC,+CAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,+CAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAAC,MAAA,6CAAA,+DAAA,AAAAL;;;;;AAAA,AAAA,iDAAA,jDAAMI,4DACFE,MAAMC;AADV,AAEI,OAAO,AAACd,2CAAgB,SAAA,RAAKa,aAAO,UAAA,TAAKC;;;AAF7C,AAAA,iDAAA,jDAAMH,4DAIFE,MAAMC,OAAOV;AAJjB,AAK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R,cAAA,AAAAzD,yBAAAoD;cAAA;cAAA;cAAA;;;;;;;;AAAA;;;;;AAIF,oEAAA,7DAACM,gCAAOf;;AAEV,sCAAA,tCAAMgB,oFAAyBF;AAA\/B,AACE,AAACG,+BAAMjB,6BAAiBkB,eAAKJ;;AAE7B,GAAM,6CAAA,7CAACjB,yBAAE,AAAcM;AAAvB,AACE,OAACI;;AADH;;;AAGF,AAACY,uBAAkBC,OAAUC,2BAAed","names":["quil.sketch\/*applet*","quil.sketch\/current-applet","js\/Processing.prototype.PConstants","quil.sketch\/rendering-modes","quil.sketch\/resolve-renderer","mode","quil.util\/resolve-constant-key","var_args","args8189","len__7927__auto__","i__7928__auto__","G__8191","quil.sketch\/size","js\/Error","width","height","quil.sketch\/bind-handlers","prc","opts","seq__8208","cljs.core\/seq","chunk__8209","count__8210","i__8211","vec__8212","cljs.core\/-nth","cljs.core\/nth","temp__4657__auto__","cljs.core\/chunked-seq?","c__7633__auto__","cljs.core\/chunk-first","cljs.core\/chunk-rest","cljs.core\/count","vec__8216","cljs.core\/first","cljs.core\/next","processing-name","quil-name","handler","cljs.core\/name","*applet*8215","*applet*8219","quil.sketch\/make-sketch","options","cljs.core\/cons","quil.middlewares.deprecated-options\/deprecated-options","cljs.core\/apply","cljs.core\/comp","p1__8236#","cljs.core\/merge","sketch-size","or__6814__auto__","renderer","features","cljs.core\/set","setup","cljs.core\/concat","mouse-wheel","cljs.core\/assoc","attach-function","cljs.core\/atom","sketch","js\/Processing.Sketch","cljs.core\/contains?","quil.sketch\/destroy-previous-sketch","host-elem","proc-obj","args__7934__auto__","argseq__7935__auto__","cljs.core\/IndexedSeq","quil.sketch\/sketch","seq8237","opts-map","cljs.core\/hash-map","goog.dom\/getElement","cljs.core\/=","js\/console","js\/Processing","quil.sketch\/sketch-init-list","quil.sketch\/empty-body?","child","js\/document","quil.sketch\/add-canvas","canvas-id","canvas","quil.sketch\/init-sketches","add-elem?","seq__8245","cljs.core\/deref","chunk__8246","count__8247","i__8248","sk","cljs.core\/reset!","quil.sketch\/add-sketch-to-init-list","cljs.core\/swap!","cljs.core\/conj","goog.events\/listenOnce","js\/window","goog.events.EventType\/LOAD","cljs.core\/List"]} \ No newline at end of file
diff --git a/assets/viz/1/quil/util.cljc b/assets/viz/1/quil/util.cljc
new file mode 100644
index 0000000..3cd0739
--- /dev/null
+++ b/assets/viz/1/quil/util.cljc
@@ -0,0 +1,109 @@
+(ns ^{:doc "Utility fns"}
+ quil.util
+ (:require [clojure.string :as cstr]))
+
+(defn no-fn
+ "Function that does nothing."
+ [])
+
+#?(:clj
+ (defn callable? [value]
+ (or (fn? value)
+ (var? value))))
+
+#?(:clj
+ (defn absolute-path [path]
+ (-> (str path)
+ (java.io.File.)
+ (.getAbsolutePath))))
+
+#?(:clj
+ (defn int-like?
+ [val]
+ (let [t (type val)]
+ (or (= java.lang.Long t)
+ (= java.lang.Integer t)))))
+
+(defn resolve-constant-key
+ "Returns the val associated with key in mappings or key directly if it
+ is one of the vals in mappings. Otherwise throws an exception."
+ [key mappings]
+ (cond
+ (get mappings key) (get mappings key)
+ (some #{key} (vals mappings)) key
+
+ :else (throw (#?(:clj Exception.
+ :cljs js/Error.)
+ (str "Expecting a keyword, got: " key ". Expected one of: " (vec (sort (keys mappings))))))))
+
+(defn- length-of-longest-key
+ "Returns the length of the longest key of map m. Assumes m's keys are strings
+ and returns 0 if map is empty:
+ (length-of-longest-key {\"foo\" 1 \"barr\" 2 \"bazzz\" 3}) ;=> 5
+ (length-of-longest-key {}) ;=> 0"
+ [m]
+ (or (last (sort (map #(.length %) (keys m))))
+ 0))
+
+(defn- gen-padding
+ "Generates a padding string starting concatting s with len times pad:
+ (gen-padding \"\" 5 \"b\") ;=> \"bbbbb\"
+ May be called without starting string s in which case it defaults to the
+ empty string and also without pad in which case it defaults to a single space"
+ ([len] (gen-padding "" len " "))
+ ([len pad] (gen-padding "" len pad))
+ ([s len pad]
+ (if (> len 0)
+ (gen-padding (str s pad) (dec len) pad)
+ s)))
+
+(defn print-definition-list
+ [definitions]
+ (let [longest-key (length-of-longest-key definitions)]
+ (dorun
+ (map (fn [[k v]]
+ (let [len (.length k)
+ diff (- longest-key len)
+ pad (gen-padding diff)]
+ (println k pad "- " v)))
+ definitions))))
+
+(defn clj-compilation? []
+ #?(:clj
+ (not
+ (boolean
+ (when-let [n (find-ns 'cljs.analyzer)]
+ (when-let [v (ns-resolve n '*cljs-file*)]
+ @v))))
+ :cljs false))
+
+
+(defn prepare-quil-name [const-keyword]
+ (cstr/replace
+ (cstr/upper-case (name const-keyword))
+ #"-" "_"))
+
+(defn prepare-quil-clj-constants [constants]
+ (into {}
+ (map
+ #(vector % (symbol (str "PConstants/" (prepare-quil-name %))))
+ constants)))
+
+(defn prepare-quil-cljs-constants [constants]
+ (into {}
+ (map
+ #(vector % `(aget js/Processing.prototype.PConstants ~(prepare-quil-name %)))
+ constants)))
+
+(defn make-quil-constant-map [target const-map-name const-map]
+ `(def ^{:private true}
+ ~const-map-name
+ ~(if (= target :clj)
+ (prepare-quil-clj-constants const-map)
+ (prepare-quil-cljs-constants const-map))))
+
+(defmacro generate-quil-constants [target & opts]
+ `(do
+ ~@(map
+ #(make-quil-constant-map target (first %) (second %))
+ (partition 2 opts))))
diff --git a/assets/viz/1/quil/util.cljc.cache.edn b/assets/viz/1/quil/util.cljc.cache.edn
new file mode 100644
index 0000000..0eb6abe
--- /dev/null
+++ b/assets/viz/1/quil/util.cljc.cache.edn
@@ -0,0 +1 @@
+{:rename-macros {}, :renames {}, :externs {Error {}, Processing {prototype {PConstants {}}}}, :use-macros {}, :excludes #{}, :name quil.util, :imports nil, :requires {cstr clojure.string, clojure.string clojure.string}, :uses nil, :defs {clj-compilation? {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/util.cljc", :line 71, :column 7, :end-line 71, :end-column 23, :arglists (quote ([]))}, :name quil.util/clj-compilation?, :variadic false, :file "out/quil/util.cljc", :end-column 23, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 71, :end-line 71, :max-fixed-arity 0, :fn-var true, :arglists (quote ([]))}, make-quil-constant-map {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/util.cljc", :line 98, :column 7, :end-line 98, :end-column 29, :arglists (quote ([target const-map-name const-map]))}, :name quil.util/make-quil-constant-map, :variadic false, :file "out/quil/util.cljc", :end-column 29, :method-params ([target const-map-name const-map]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 98, :end-line 98, :max-fixed-arity 3, :fn-var true, :arglists (quote ([target const-map-name const-map]))}, print-definition-list {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/util.cljc", :line 60, :column 7, :end-line 60, :end-column 28, :arglists (quote ([definitions]))}, :name quil.util/print-definition-list, :variadic false, :file "out/quil/util.cljc", :end-column 28, :method-params ([definitions]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 60, :end-line 60, :max-fixed-arity 1, :fn-var true, :arglists (quote ([definitions]))}, generate-quil-constants {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/util.cljc", :line 105, :column 11, :end-line 105, :end-column 34, :macro true, :arglists (quote ([target & opts])), :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env target opts)], :arglists ([&form &env target & opts]), :arglists-meta (nil)}}, :name quil.util/generate-quil-constants, :variadic true, :file "out/quil/util.cljc", :end-column 34, :top-fn {:variadic true, :max-fixed-arity 3, :method-params [(&form &env target opts)], :arglists ([&form &env target & opts]), :arglists-meta (nil)}, :method-params [(&form &env target opts)], :protocol-impl nil, :arglists-meta (nil), :column 1, :line 105, :macro true, :end-line 105, :max-fixed-arity 3, :fn-var false, :arglists ([&form &env target & opts])}, resolve-constant-key {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/util.cljc", :line 27, :column 7, :end-line 27, :end-column 27, :arglists (quote ([key mappings])), :doc "Returns the val associated with key in mappings or key directly if it\n is one of the vals in mappings. Otherwise throws an exception."}, :name quil.util/resolve-constant-key, :variadic false, :file "out/quil/util.cljc", :end-column 27, :method-params ([key mappings]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 27, :end-line 27, :max-fixed-arity 2, :fn-var true, :arglists (quote ([key mappings])), :doc "Returns the val associated with key in mappings or key directly if it\n is one of the vals in mappings. Otherwise throws an exception."}, no-fn {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/util.cljc", :line 5, :column 7, :end-line 5, :end-column 12, :arglists (quote ([])), :doc "Function that does nothing."}, :name quil.util/no-fn, :variadic false, :file "out/quil/util.cljc", :end-column 12, :method-params ([]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 5, :end-line 5, :max-fixed-arity 0, :fn-var true, :arglists (quote ([])), :doc "Function that does nothing."}, prepare-quil-clj-constants {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/util.cljc", :line 86, :column 7, :end-line 86, :end-column 33, :arglists (quote ([constants]))}, :name quil.util/prepare-quil-clj-constants, :variadic false, :file "out/quil/util.cljc", :end-column 33, :method-params ([constants]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 86, :end-line 86, :max-fixed-arity 1, :fn-var true, :arglists (quote ([constants]))}, prepare-quil-cljs-constants {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/util.cljc", :line 92, :column 7, :end-line 92, :end-column 34, :arglists (quote ([constants]))}, :name quil.util/prepare-quil-cljs-constants, :variadic false, :file "out/quil/util.cljc", :end-column 34, :method-params ([constants]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 92, :end-line 92, :max-fixed-arity 1, :fn-var true, :arglists (quote ([constants]))}, length-of-longest-key {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/util.cljc", :line 39, :column 8, :end-line 39, :end-column 29, :private true, :arglists (quote ([m])), :doc "Returns the length of the longest key of map m. Assumes m's keys are strings\n and returns 0 if map is empty:\n (length-of-longest-key {\"foo\" 1 \"barr\" 2 \"bazzz\" 3}) ;=> 5\n (length-of-longest-key {}) ;=> 0"}, :private true, :name quil.util/length-of-longest-key, :variadic false, :file "out/quil/util.cljc", :end-column 29, :method-params ([m]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 39, :end-line 39, :max-fixed-arity 1, :fn-var true, :arglists (quote ([m])), :doc "Returns the length of the longest key of map m. Assumes m's keys are strings\n and returns 0 if map is empty:\n (length-of-longest-key {\"foo\" 1 \"barr\" 2 \"bazzz\" 3}) ;=> 5\n (length-of-longest-key {}) ;=> 0"}, gen-padding {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/util.cljc", :line 48, :column 8, :end-line 48, :end-column 19, :private true, :arglists (quote ([len] [len pad] [s len pad])), :doc "Generates a padding string starting concatting s with len times pad:\n (gen-padding \"\" 5 \"b\") ;=> \"bbbbb\"\n May be called without starting string s in which case it defaults to the\n empty string and also without pad in which case it defaults to a single space", :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([len] [len pad] [s len pad]), :arglists ([len] [len pad] [s len pad]), :arglists-meta (nil nil nil)}}, :private true, :name quil.util/gen-padding, :variadic false, :file "out/quil/util.cljc", :end-column 19, :top-fn {:variadic false, :max-fixed-arity 3, :method-params ([len] [len pad] [s len pad]), :arglists ([len] [len pad] [s len pad]), :arglists-meta (nil nil nil)}, :method-params ([len] [len pad] [s len pad]), :protocol-impl nil, :arglists-meta (nil nil nil), :column 1, :line 48, :end-line 48, :max-fixed-arity 3, :fn-var true, :arglists ([len] [len pad] [s len pad]), :doc "Generates a padding string starting concatting s with len times pad:\n (gen-padding \"\" 5 \"b\") ;=> \"bbbbb\"\n May be called without starting string s in which case it defaults to the\n empty string and also without pad in which case it defaults to a single space"}, prepare-quil-name {:protocol-inline nil, :meta {:file "/home/mediocregopher/src/viz/out/quil/util.cljc", :line 81, :column 7, :end-line 81, :end-column 24, :arglists (quote ([const-keyword]))}, :name quil.util/prepare-quil-name, :variadic false, :file "out/quil/util.cljc", :end-column 24, :method-params ([const-keyword]), :protocol-impl nil, :arglists-meta (nil nil), :column 1, :line 81, :end-line 81, :max-fixed-arity 1, :fn-var true, :arglists (quote ([const-keyword]))}}, :require-macros nil, :cljs.analyzer/constants {:seen #{:else do js/Processing.prototype.PConstants :clj cljs.core/aget def}, :order [:else cljs.core/aget js/Processing.prototype.PConstants def :clj do]}, :doc "Utility fns"} \ No newline at end of file
diff --git a/assets/viz/1/quil/util.js b/assets/viz/1/quil/util.js
new file mode 100644
index 0000000..0f241ea
--- /dev/null
+++ b/assets/viz/1/quil/util.js
@@ -0,0 +1,183 @@
+// Compiled by ClojureScript 1.9.473 {}
+goog.provide('quil.util');
+goog.require('cljs.core');
+goog.require('clojure.string');
+/**
+ * Function that does nothing.
+ */
+quil.util.no_fn = (function quil$util$no_fn(){
+return null;
+});
+/**
+ * Returns the val associated with key in mappings or key directly if it
+ * is one of the vals in mappings. Otherwise throws an exception.
+ */
+quil.util.resolve_constant_key = (function quil$util$resolve_constant_key(key,mappings){
+if(cljs.core.truth_(cljs.core.get.call(null,mappings,key))){
+return cljs.core.get.call(null,mappings,key);
+} else {
+if(cljs.core.truth_(cljs.core.some.call(null,cljs.core.PersistentHashSet.createAsIfByAssoc([key], true),cljs.core.vals.call(null,mappings)))){
+return key;
+} else {
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Expecting a keyword, got: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(key),cljs.core.str.cljs$core$IFn$_invoke$arity$1(". Expected one of: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.vec.call(null,cljs.core.sort.call(null,cljs.core.keys.call(null,mappings))))].join('')));
+
+}
+}
+});
+/**
+ * Returns the length of the longest key of map m. Assumes m's keys are strings
+ * and returns 0 if map is empty:
+ * (length-of-longest-key {"foo" 1 "barr" 2 "bazzz" 3}) ;=> 5
+ * (length-of-longest-key {}) ;=> 0
+ */
+quil.util.length_of_longest_key = (function quil$util$length_of_longest_key(m){
+var or__6814__auto__ = cljs.core.last.call(null,cljs.core.sort.call(null,cljs.core.map.call(null,(function (p1__8122_SHARP_){
+return p1__8122_SHARP_.length();
+}),cljs.core.keys.call(null,m))));
+if(cljs.core.truth_(or__6814__auto__)){
+return or__6814__auto__;
+} else {
+return (0);
+}
+});
+/**
+ * Generates a padding string starting concatting s with len times pad:
+ * (gen-padding "" 5 "b") ;=> "bbbbb"
+ * May be called without starting string s in which case it defaults to the
+ * empty string and also without pad in which case it defaults to a single space
+ */
+quil.util.gen_padding = (function quil$util$gen_padding(var_args){
+var args8123 = [];
+var len__7927__auto___8126 = arguments.length;
+var i__7928__auto___8127 = (0);
+while(true){
+if((i__7928__auto___8127 < len__7927__auto___8126)){
+args8123.push((arguments[i__7928__auto___8127]));
+
+var G__8128 = (i__7928__auto___8127 + (1));
+i__7928__auto___8127 = G__8128;
+continue;
+} else {
+}
+break;
+}
+
+var G__8125 = args8123.length;
+switch (G__8125) {
+case 1:
+return quil.util.gen_padding.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
+
+break;
+case 2:
+return quil.util.gen_padding.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
+
+break;
+case 3:
+return quil.util.gen_padding.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));
+
+break;
+default:
+throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args8123.length)].join('')));
+
+}
+});
+
+quil.util.gen_padding.cljs$core$IFn$_invoke$arity$1 = (function (len){
+return quil.util.gen_padding.call(null,"",len," ");
+});
+
+quil.util.gen_padding.cljs$core$IFn$_invoke$arity$2 = (function (len,pad){
+return quil.util.gen_padding.call(null,"",len,pad);
+});
+
+quil.util.gen_padding.cljs$core$IFn$_invoke$arity$3 = (function (s,len,pad){
+if((len > (0))){
+return quil.util.gen_padding.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(s),cljs.core.str.cljs$core$IFn$_invoke$arity$1(pad)].join(''),(len - (1)),pad);
+} else {
+return s;
+}
+});
+
+quil.util.gen_padding.cljs$lang$maxFixedArity = 3;
+
+quil.util.print_definition_list = (function quil$util$print_definition_list(definitions){
+var longest_key = quil.util.length_of_longest_key.call(null,definitions);
+return cljs.core.dorun.call(null,cljs.core.map.call(null,((function (longest_key){
+return (function (p__8134){
+var vec__8135 = p__8134;
+var k = cljs.core.nth.call(null,vec__8135,(0),null);
+var v = cljs.core.nth.call(null,vec__8135,(1),null);
+var len = k.length();
+var diff = (longest_key - len);
+var pad = quil.util.gen_padding.call(null,diff);
+return cljs.core.println.call(null,k,pad,"- ",v);
+});})(longest_key))
+,definitions));
+});
+quil.util.clj_compilation_QMARK_ = (function quil$util$clj_compilation_QMARK_(){
+return false;
+});
+quil.util.prepare_quil_name = (function quil$util$prepare_quil_name(const_keyword){
+return clojure.string.replace.call(null,clojure.string.upper_case.call(null,cljs.core.name.call(null,const_keyword)),/-/,"_");
+});
+quil.util.prepare_quil_clj_constants = (function quil$util$prepare_quil_clj_constants(constants){
+return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.call(null,(function (p1__8138_SHARP_){
+return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[p1__8138_SHARP_,cljs.core.symbol.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1("PConstants/"),cljs.core.str.cljs$core$IFn$_invoke$arity$1(quil.util.prepare_quil_name.call(null,p1__8138_SHARP_))].join(''))],null));
+}),constants));
+});
+quil.util.prepare_quil_cljs_constants = (function quil$util$prepare_quil_cljs_constants(constants){
+return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.call(null,(function (p1__8139_SHARP_){
+return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[p1__8139_SHARP_,cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","aget","cljs.core/aget",6345791,null)),cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol("js","Processing.prototype.PConstants","js/Processing.prototype.PConstants",2034048972,null)),(function (){var x__7656__auto__ = quil.util.prepare_quil_name.call(null,p1__8139_SHARP_);
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())))],null));
+}),constants));
+});
+quil.util.make_quil_constant_map = (function quil$util$make_quil_constant_map(target,const_map_name,const_map){
+return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"def","def",597100991,null)),(function (){var x__7656__auto__ = const_map_name;
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})(),(function (){var x__7656__auto__ = ((cljs.core._EQ_.call(null,target,new cljs.core.Keyword(null,"clj","clj",-660495428)))?quil.util.prepare_quil_clj_constants.call(null,const_map):quil.util.prepare_quil_cljs_constants.call(null,const_map));
+return cljs.core._conj.call(null,cljs.core.List.EMPTY,x__7656__auto__);
+})())));
+});
+quil.util.generate_quil_constants = (function quil$util$generate_quil_constants(var_args){
+var args__7934__auto__ = [];
+var len__7927__auto___8145 = arguments.length;
+var i__7928__auto___8146 = (0);
+while(true){
+if((i__7928__auto___8146 < len__7927__auto___8145)){
+args__7934__auto__.push((arguments[i__7928__auto___8146]));
+
+var G__8147 = (i__7928__auto___8146 + (1));
+i__7928__auto___8146 = G__8147;
+continue;
+} else {
+}
+break;
+}
+
+var argseq__7935__auto__ = ((((3) < args__7934__auto__.length))?(new cljs.core.IndexedSeq(args__7934__auto__.slice((3)),(0),null)):null);
+return quil.util.generate_quil_constants.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__7935__auto__);
+});
+
+quil.util.generate_quil_constants.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,target,opts){
+return cljs.core.sequence.call(null,cljs.core.seq.call(null,cljs.core.concat.call(null,cljs.core._conj.call(null,cljs.core.List.EMPTY,new cljs.core.Symbol(null,"do","do",1686842252,null)),cljs.core.map.call(null,(function (p1__8140_SHARP_){
+return quil.util.make_quil_constant_map.call(null,target,cljs.core.first.call(null,p1__8140_SHARP_),cljs.core.second.call(null,p1__8140_SHARP_));
+}),cljs.core.partition.call(null,(2),opts)))));
+});
+
+quil.util.generate_quil_constants.cljs$lang$maxFixedArity = (3);
+
+quil.util.generate_quil_constants.cljs$lang$applyTo = (function (seq8141){
+var G__8142 = cljs.core.first.call(null,seq8141);
+var seq8141__$1 = cljs.core.next.call(null,seq8141);
+var G__8143 = cljs.core.first.call(null,seq8141__$1);
+var seq8141__$2 = cljs.core.next.call(null,seq8141__$1);
+var G__8144 = cljs.core.first.call(null,seq8141__$2);
+var seq8141__$3 = cljs.core.next.call(null,seq8141__$2);
+return quil.util.generate_quil_constants.cljs$core$IFn$_invoke$arity$variadic(G__8142,G__8143,G__8144,seq8141__$3);
+});
+
+
+quil.util.generate_quil_constants.cljs$lang$macro = true;
+
+//# sourceMappingURL=util.js.map \ No newline at end of file
diff --git a/assets/viz/1/quil/util.js.map b/assets/viz/1/quil/util.js.map
new file mode 100644
index 0000000..1b314df
--- /dev/null
+++ b/assets/viz/1/quil/util.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"\/home\/mediocregopher\/src\/viz\/out\/quil\/util.js","sources":["util.cljc"],"lineCount":183,"mappings":";AAAA;;;AAIA;;;kBAAA,lBAAMA;AAAN,AAAA;;AAsBA;;;;iCAAA,jCAAMC,0EAGHC,IAAIC;AAHP,AAIE,oBACE,AAACC,wBAAID,SAASD;AAAgB,OAACE,wBAAID,SAASD;;AAD9C,oBAEE,yBAAA,zBAACG,wEAAOH,YAAK,AAACI,yBAAKH;AAAWD;;AAFhC,AAIgC,MAAO,KAAAK,MAEC,6CAAA,2HAAA,jDAA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cljs.core\/get","cljs.core\/some","cljs.core\/vals","js\/Error","cljs.core\/vec","cljs.core\/sort","cljs.core\/keys","quil.util\/length-of-longest-key","m","or__6814__auto__","cljs.core\/last","p1__8122#","cljs.core\/map","var_args","args8123","len__7927__auto__","i__7928__auto__","G__8125","quil.util\/gen-padding","len","pad","s","quil.util\/print-definition-list","definitions","longest-key","cljs.core\/dorun","p__8134","vec__8135","cljs.core\/nth","k","v","diff","cljs.core\/println","quil.util\/clj-compilation?","quil.util\/prepare-quil-name","const-keyword","clojure.string\/replace","clojure.string\/upper-case","cljs.core\/name","quil.util\/prepare-quil-clj-constants","constants","cljs.core\/into","p1__8138#","cljs.core\/PersistentVector","cljs.core\/symbol","quil.util\/prepare-quil-cljs-constants","p1__8139#","cljs.core\/sequence","cljs.core\/seq","cljs.core\/concat","cljs.core\/-conj","x__7656__auto__","quil.util\/make-quil-constant-map","target","const-map-name","const-map","cljs.core\/=","args__7934__auto__","argseq__7935__auto__","cljs.core\/IndexedSeq","quil.util\/generate-quil-constants","&form","&env","seq8141","G__8142","cljs.core\/first","cljs.core\/next","G__8143","G__8144","opts","p1__8140#","cljs.core\/second","cljs.core\/partition","cljs.core\/List"]} \ No newline at end of file