Processing snippets

From Bluefish Wiki
Jump to navigation Jump to search

<?xml version="1.0"?>
<!-- Processing.xml $Revision: 16/11/2010   -->

<!--
              DO NOT COPY THIS FILE FROM THE WIKI MAIN PAGE!
     BUT FROM THE EDIT TAB (OR THE VIEW SOURCE IF YOU ARE NOT LOGGIN IN)
               ONLY THE PART WITHIN: <pre> </pre>
-->

<!-- USAGE:
	Copy and import this file in the snippets left panel menu.
 -->


<snippets>
<branch title="Processing">
<branch title="Structure">
		<leaf type="insert" title="[] (array access)"><before>[</before><after>]</after></leaf>
		<leaf type="insert" title="= (assign)"><before>=</before><after></after></leaf>
		<leaf type="insert" title="catch"><before>catch</before><after></after></leaf>
		<leaf type="insert" title="class"><before>class</before><after></after></leaf>
		<leaf type="insert" title=", (comma)"><before>,</before><after></after></leaf>
		<leaf type="insert" title="// (comment)"><before>//</before><after></after></leaf>
		<leaf type="insert" title="{} (curly braces)"><before>{</before><after>}</after></leaf>
		<leaf type="insert" title="delay()"><before>delay(</before><after>)</after></leaf>
		<leaf type="insert" title="/** */ (doc comment)"><before>/**</before><after> */</after></leaf>
		<leaf type="insert" title=". (dot)"><before>.</before><after></after></leaf>
		<leaf type="insert" title="draw()"><before>draw(</before><after>)</after></leaf>
		<leaf type="insert" title="exit()"><before>exit(</before><after>)</after></leaf>
		<leaf type="insert" title="extends"><before>extends</before><after></after></leaf>
		<leaf type="insert" title="false"><before>false</before><after></after></leaf>
		<leaf type="insert" title="final"><before>final</before><after></after></leaf>
		<leaf type="insert" title="implements"><before>implements</before><after></after></leaf>
		<leaf type="insert" title="import"><before>import</before><after></after></leaf>
		<leaf type="insert" title="loop()"><before>loop(</before><after>)</after></leaf>
		<leaf type="insert" title="/* */ (multiline comment)"><before>/*</before><after>*/</after></leaf>
		<leaf type="insert" title="new"><before>new</before><after></after></leaf>
		<leaf type="insert" title="noLoop()"><before>noLoop(</before><after>)</after></leaf>
		<leaf type="insert" title="null"><before>null</before><after></after></leaf>
		<leaf type="insert" title="() (parentheses)"><before>()</before><after>)</after></leaf>
		<leaf type="insert" title="popStyle()"><before>popStyle(</before><after>)</after></leaf>
		<leaf type="insert" title="private"><before>private</before><after></after></leaf>
		<leaf type="insert" title="public"><before>public</before><after></after></leaf>
		<leaf type="insert" title="pushStyle()"><before>pushStyle(</before><after>)</after></leaf>
		<leaf type="insert" title="redraw()"><before>redraw(</before><after>)</after></leaf>
		<leaf type="insert" title="return"><before>return</before><after></after></leaf>
		<leaf type="insert" title="; (semicolon)"><before>;</before><after></after></leaf>
		<leaf type="insert" title="setup()"><before>setup(</before><after>)</after></leaf>
		<leaf type="insert" title="size()"><before>size(</before><after>)</after></leaf>
		<leaf type="insert" title="static"><before>static</before><after></after></leaf>
		<leaf type="insert" title="super"><before>super</before><after></after></leaf>
		<leaf type="insert" title="this"><before>this</before><after></after></leaf>
		<leaf type="insert" title="true"><before>true</before><after></after></leaf>
		<leaf type="insert" title="try"><before>try</before><after></after></leaf>
		<leaf type="insert" title="void"><before>void</before><after></after></leaf>
</branch>
<branch title="Environment">
		<leaf type="insert" title="cursor()"><before>cursor(</before><after>)</after></leaf>
		<leaf type="insert" title="focused"><before>focused</before><after></after></leaf>
		<leaf type="insert" title="frameCount"><before>frameCount</before><after></after></leaf>
		<leaf type="insert" title="frameRate()"><before>frameRate(</before><after>)</after></leaf>
		<leaf type="insert" title="frameRate"><before>frameRate</before><after></after></leaf>
		<leaf type="insert" title="height"><before>height</before><after></after></leaf>
		<leaf type="insert" title="noCursor()"><before>noCursor(</before><after>)</after></leaf>
		<leaf type="insert" title="online"><before>online</before><after></after></leaf>
		<leaf type="insert" title="screen"><before>screen</before><after></after></leaf>
		<leaf type="insert" title="width"><before>width</before><after></after></leaf>
</branch>
<branch title="Data">
	<branch title="Primitive">
		<leaf type="insert" title="boolean"><before>boolean</before><after></after></leaf>
		<leaf type="insert" title="byte"><before>byte</before><after></after></leaf>
		<leaf type="insert" title="char"><before>char</before><after></after></leaf>
		<leaf type="insert" title="color"><before>color</before><after></after></leaf>
		<leaf type="insert" title="double"><before>double</before><after></after></leaf>
		<leaf type="insert" title="float"><before>float</before><after></after></leaf>
		<leaf type="insert" title="int"><before>int</before><after></after></leaf>
		<leaf type="insert" title="long"><before>long</before><after></after></leaf>
	</branch>
	<branch title="Composite">
		<leaf type="insert" title="Array"><before>Array</before><after></after></leaf>
		<leaf type="insert" title="ArrayList"><before>ArrayList</before><after></after></leaf>
		<leaf type="insert" title="HashMap"><before>HashMap</before><after></after></leaf>
		<leaf type="insert" title="Object"><before>Object</before><after></after></leaf>
		<leaf type="insert" title="String"><before>String</before><after></after></leaf>
		<leaf type="insert" title="XMLElement"><before>XMLElement</before><after></after></leaf>
	</branch>
	<branch title="Conversion">
		<leaf type="insert" title="binary()"><before>binary(</before><after>)</after></leaf>
		<leaf type="insert" title="boolean()"><before>boolean(</before><after>)</after></leaf>
		<leaf type="insert" title="byte()"><before>byte(</before><after>)</after></leaf>
		<leaf type="insert" title="char()"><before>char(</before><after>)</after></leaf>
		<leaf type="insert" title="float()"><before>float(</before><after>)</after></leaf>
		<leaf type="insert" title="hex()"><before>hex(</before><after>)</after></leaf>
		<leaf type="insert" title="int()"><before>int(</before><after>)</after></leaf>
		<leaf type="insert" title="str()"><before>str(</before><after>)</after></leaf>
		<leaf type="insert" title="unbinary()"><before>unbinary(</before><after>)</after></leaf>
		<leaf type="insert" title="unhex()"><before>unhex(</before><after>)</after></leaf>
	</branch>
	<branch title="String Functions">
		<leaf type="insert" title="join()"><before>join(</before><after>)</after></leaf>
		<leaf type="insert" title="match()"><before>match(</before><after>)</after></leaf>
		<leaf type="insert" title="matchAll()"><before>matchAll(</before><after>)</after></leaf>
		<leaf type="insert" title="nf()"><before>nf(</before><after>)</after></leaf>
		<leaf type="insert" title="nfc()"><before>nfc(</before><after>)</after></leaf>
		<leaf type="insert" title="nfp()"><before>nfp(</before><after>)</after></leaf>
		<leaf type="insert" title="nfs()"><before>nfs(</before><after>)</after></leaf>
		<leaf type="insert" title="split()"><before>split(</before><after>)</after></leaf>
		<leaf type="insert" title="splitTokens()"><before>splitTokens(</before><after>)</after></leaf>
		<leaf type="insert" title="trim()"><before>trim(</before><after>)</after></leaf>
	</branch>
	<branch title="Array Functions">
		<leaf type="insert" title="append()"><before>append(</before><after>)</after></leaf>
		<leaf type="insert" title="arrayCopy()"><before>arrayCopy(</before><after>)</after></leaf>
		<leaf type="insert" title="concat()"><before>concat(</before><after>)</after></leaf>
		<leaf type="insert" title="expand()"><before>expand(</before><after>)</after></leaf>
		<leaf type="insert" title="reverse()"><before>reverse(</before><after>)</after></leaf>
		<leaf type="insert" title="shorten()"><before>shorten(</before><after>)</after></leaf>
		<leaf type="insert" title="sort()"><before>sort(</before><after>)</after></leaf>
		<leaf type="insert" title="splice()"><before>splice(</before><after>)</after></leaf>
		<leaf type="insert" title="subset()"><before>subset(</before><after>)</after></leaf>
	</branch>
</branch>
<branch title="Control">
	<branch title="Relational Operators">
		<leaf type="insert" title="== (equality)"><before>==</before><after></after></leaf>
		<leaf type="insert" title="> (greater than)"><before>></before><after></after></leaf>
		<leaf type="insert" title=">= (greater than or equal to)"><before>>=</before><after></after></leaf>
		<leaf type="insert" title="!= (inequality)"><before>!=</before><after></after></leaf>
		<leaf type="insert" title="< (less than)"><before>< </before><after></after></leaf>
		<leaf type="insert" title="<= (less than or equal to)"><before><=</before><after></after></leaf>
	</branch>
	<branch title="Iteration">
		<leaf type="insert" title="for"><before>for</before><after></after></leaf>
		<leaf type="insert" title="while"><before>while</before><after></after></leaf>
	</branch>
	<branch title="Conditionals">
		<leaf type="insert" title="break"><before>break</before><after></after></leaf>
		<leaf type="insert" title="case"><before>case</before><after></after></leaf>
		<leaf type="insert" title="?: (conditional)"><before>?:</before><after></after></leaf>
		<leaf type="insert" title="continue"><before>continue</before><after></after></leaf>
		<leaf type="insert" title="default"><before>default</before><after></after></leaf>
		<leaf type="insert" title="else"><before>else</before><after></after></leaf>
		<leaf type="insert" title="if"><before>if</before><after></after></leaf>
		<leaf type="insert" title="switch()"><before>switch(</before><after>)</after></leaf>
	</branch>
	<branch title="Logical Operators">
		<leaf type="insert" title="&& (logical AND)"><before>&&</before><after></after></leaf>
		<leaf type="insert" title="! (logical NOT)"><before>!</before><after></after></leaf>
		<leaf type="insert" title="|| (logical OR)"><before>||</before><after></after></leaf>
	</branch>
</branch>
<branch title="Shape">
		<leaf type="insert" title="PShape"><before>PShape</before><after></after></leaf>
	<branch title="2D Primitives">
		<leaf type="insert" title="arc()"><before>arc(</before><after>)</after></leaf>
		<leaf type="insert" title="ellipse()"><before>ellipse(</before><after>)</after></leaf>
		<leaf type="insert" title="line()"><before>line(</before><after>)</after></leaf>
		<leaf type="insert" title="point()"><before>point(</before><after>)</after></leaf>
		<leaf type="insert" title="quad()"><before>quad(</before><after>)</after></leaf>
		<leaf type="insert" title="rect()"><before>rect(</before><after>)</after></leaf>
		<leaf type="insert" title="triangle()"><before>triangle(</before><after>)</after></leaf>
	</branch>
	<branch title="Curves">
		<leaf type="insert" title="bezier()"><before>bezier(</before><after>)</after></leaf>
		<leaf type="insert" title="bezierDetail()"><before>bezierDetail(</before><after>)</after></leaf>
		<leaf type="insert" title="bezierPoint()"><before>bezierPoint(</before><after>)</after></leaf>
		<leaf type="insert" title="bezierTangent()"><before>bezierTangent(</before><after>)</after></leaf>
		<leaf type="insert" title="curve()"><before>curve(</before><after>)</after></leaf>
		<leaf type="insert" title="curveDetail()"><before>curveDetail(</before><after>)</after></leaf>
		<leaf type="insert" title="curvePoint()"><before>curvePoint(</before><after>)</after></leaf>
		<leaf type="insert" title="curveTangent()"><before>curveTangent(</before><after>)</after></leaf>
		<leaf type="insert" title="curveTightness()"><before>curveTightness(</before><after>)</after></leaf>
	</branch>
	<branch title="3D Primitives">
		<leaf type="insert" title="box()"><before>box(</before><after>)</after></leaf>
		<leaf type="insert" title="sphere()"><before>sphere(</before><after>)</after></leaf>
		<leaf type="insert" title="sphereDetail()"><before>sphereDetail(</before><after>)</after></leaf>
	</branch>
	<branch title="Attributes">
		<leaf type="insert" title="ellipseMode()"><before>ellipseMode(</before><after>)</after></leaf>
		<leaf type="insert" title="noSmooth()"><before>noSmooth(</before><after>)</after></leaf>
		<leaf type="insert" title="rectMode()"><before>rectMode(</before><after>)</after></leaf>
		<leaf type="insert" title="smooth()"><before>smooth(</before><after>)</after></leaf>
		<leaf type="insert" title="strokeCap()"><before>strokeCap(</before><after>)</after></leaf>
		<leaf type="insert" title="strokeJoin()"><before>strokeJoin(</before><after>)</after></leaf>
		<leaf type="insert" title="strokeWeight()"><before>strokeWeight(</before><after>)</after></leaf>
	</branch>
	<branch title="Vertex">
		<leaf type="insert" title="beginShape()"><before>beginShape(</before><after>)</after></leaf>
		<leaf type="insert" title="bezierVertex()"><before>bezierVertex(</before><after>)</after></leaf>
		<leaf type="insert" title="curveVertex()"><before>curveVertex(</before><after>)</after></leaf>
		<leaf type="insert" title="endShape()"><before>endShape(</before><after>)</after></leaf>
		<leaf type="insert" title="texture()"><before>texture(</before><after>)</after></leaf>
		<leaf type="insert" title="textureMode()"><before>textureMode(</before><after>)</after></leaf>
		<leaf type="insert" title="vertex()"><before>vertex(</before><after>)</after></leaf>
	</branch>
	<branch title="Loading & Displaying">
		<leaf type="insert" title="loadShape()"><before>loadShape(</before><after>)</after></leaf>
		<leaf type="insert" title="shape()"><before>shape(</before><after>)</after></leaf>
		<leaf type="insert" title="shapeMode()"><before>shapeMode(</before><after>)</after></leaf>
	</branch>
</branch>
<branch title="Input">
	<branch title="Mouse">
		<leaf type="insert" title="mouseButton"><before>mouseButton</before><after></after></leaf>
		<leaf type="insert" title="mouseClicked()"><before>mouseClicked(</before><after>)</after></leaf>
		<leaf type="insert" title="mouseDragged()"><before>mouseDragged(</before><after>)</after></leaf>
		<leaf type="insert" title="mouseMoved()"><before>mouseMoved(</before><after>)</after></leaf>
		<leaf type="insert" title="mousePressed()"><before>mousePressed(</before><after>)</after></leaf>
		<leaf type="insert" title="mousePressed"><before>mousePressed</before><after></after></leaf>
		<leaf type="insert" title="mouseReleased()"><before>mouseReleased(</before><after>)</after></leaf>
		<leaf type="insert" title="mouseX"><before>mouseX</before><after></after></leaf>
		<leaf type="insert" title="mouseY"><before>mouseY</before><after></after></leaf>
		<leaf type="insert" title="pmouseX"><before>pmouseX</before><after></after></leaf>
		<leaf type="insert" title="pmouseY"><before>pmouseY</before><after></after></leaf>
	</branch>
	<branch title="Keyboard">
		<leaf type="insert" title="key"><before>key</before><after></after></leaf>
		<leaf type="insert" title="keyCode"><before>keyCode</before><after></after></leaf>
		<leaf type="insert" title="keyPressed()"><before>keyPressed(</before><after>)</after></leaf>
		<leaf type="insert" title="keyPressed"><before>keyPressed</before><after></after></leaf>
		<leaf type="insert" title="keyReleased()"><before>keyReleased(</before><after>)</after></leaf>
		<leaf type="insert" title="keyTyped()"><before>keyTyped(</before><after>)</after></leaf>
	</branch>
	<branch title="Files">
		<leaf type="insert" title="BufferedReader"><before>BufferedReader</before><after></after></leaf>
		<leaf type="insert" title="createInput()"><before>createInput(</before><after>)</after></leaf>
		<leaf type="insert" title="createReader()"><before>createReader(</before><after>)</after></leaf>
		<leaf type="insert" title="loadBytes()"><before>loadBytes(</before><after>)</after></leaf>
		<leaf type="insert" title="loadStrings()"><before>loadStrings(</before><after>)</after></leaf>
		<leaf type="insert" title="open()"><before>open(</before><after>)</after></leaf>
		<leaf type="insert" title="selectFolder()"><before>selectFolder(</before><after>)</after></leaf>
		<leaf type="insert" title="selectInput()"><before>selectInput(</before><after>)</after></leaf>
	</branch>
	<branch title="Web">
		<leaf type="insert" title="link()"><before>link(</before><after>)</after></leaf>
		<leaf type="insert" title="param()"><before>param(</before><after>)</after></leaf>
		<leaf type="insert" title="status()"><before>status(</before><after>)</after></leaf>
	</branch>
	<branch title="Time & Date">
		<leaf type="insert" title="day()"><before>day(</before><after>)</after></leaf>
		<leaf type="insert" title="hour()"><before>hour(</before><after>)</after></leaf>
		<leaf type="insert" title="millis()"><before>millis(</before><after>)</after></leaf>
		<leaf type="insert" title="minute()"><before>minute(</before><after>)</after></leaf>
		<leaf type="insert" title="month()"><before>month(</before><after>)</after></leaf>
		<leaf type="insert" title="second()"><before>second(</before><after>)</after></leaf>
		<leaf type="insert" title="year()"><before>year(</before><after>)</after></leaf>
	</branch>
</branch>
<branch title="Output">
	<branch title="Text Area">
		<leaf type="insert" title="print()"><before>print(</before><after>)</after></leaf>
		<leaf type="insert" title="println()"><before>println(</before><after>)</after></leaf>
	</branch>
	<branch title="Image">
		<leaf type="insert" title="save()"><before>save(</before><after>)</after></leaf>
		<leaf type="insert" title="saveFrame()"><before>saveFrame(</before><after>)</after></leaf>
	</branch>
	<branch title="Files">
		<leaf type="insert" title="PrintWriter"><before>PrintWriter</before><after></after></leaf>
		<leaf type="insert" title="beginRaw()"><before>beginRaw(</before><after>)</after></leaf>
		<leaf type="insert" title="beginRecord()"><before>beginRecord(</before><after>)</after></leaf>
		<leaf type="insert" title="createOutput()"><before>createOutput(</before><after>)</after></leaf>
		<leaf type="insert" title="createWriter()"><before>createWriter(</before><after>)</after></leaf>
		<leaf type="insert" title="endRaw()"><before>endRaw(</before><after>)</after></leaf>
		<leaf type="insert" title="endRecord()"><before>endRecord(</before><after>)</after></leaf>
		<leaf type="insert" title="saveBytes()"><before>saveBytes(</before><after>)</after></leaf>
		<leaf type="insert" title="saveStream()"><before>saveStream(</before><after>)</after></leaf>
		<leaf type="insert" title="saveStrings()"><before>saveStrings(</before><after>)</after></leaf>
		<leaf type="insert" title="selectOutput()"><before>selectOutput(</before><after>)</after></leaf>
	</branch>
</branch>
<branch title="Transform">
		<leaf type="insert" title="applyMatrix()"><before>applyMatrix(</before><after>)</after></leaf>
		<leaf type="insert" title="popMatrix()"><before>popMatrix(</before><after>)</after></leaf>
		<leaf type="insert" title="printMatrix()"><before>printMatrix(</before><after>)</after></leaf>
		<leaf type="insert" title="pushMatrix()"><before>pushMatrix(</before><after>)</after></leaf>
		<leaf type="insert" title="resetMatrix()"><before>resetMatrix(</before><after>)</after></leaf>
		<leaf type="insert" title="rotate()"><before>rotate(</before><after>)</after></leaf>
		<leaf type="insert" title="rotateX()"><before>rotateX(</before><after>)</after></leaf>
		<leaf type="insert" title="rotateY()"><before>rotateY(</before><after>)</after></leaf>
		<leaf type="insert" title="rotateZ()"><before>rotateZ(</before><after>)</after></leaf>
		<leaf type="insert" title="scale()"><before>scale(</before><after>)</after></leaf>
		<leaf type="insert" title="shearX()"><before>shearX(</before><after>)</after></leaf>
		<leaf type="insert" title="shearY()"><before>shearY(</before><after>)</after></leaf>
		<leaf type="insert" title="translate()"><before>translate(</before><after>)</after></leaf>
</branch>
<branch title="Lights, Camera">
	<branch title="Lights">
		<leaf type="insert" title="ambientLight()"><before>ambientLight(</before><after>)</after></leaf>
		<leaf type="insert" title="directionalLight()"><before>directionalLight(</before><after>)</after></leaf>
		<leaf type="insert" title="lightFalloff()"><before>lightFalloff(</before><after>)</after></leaf>
		<leaf type="insert" title="lightSpecular()"><before>lightSpecular(</before><after>)</after></leaf>
		<leaf type="insert" title="lights()"><before>lights(</before><after>)</after></leaf>
		<leaf type="insert" title="noLights()"><before>noLights(</before><after>)</after></leaf>
		<leaf type="insert" title="normal()"><before>normal(</before><after>)</after></leaf>
		<leaf type="insert" title="pointLight()"><before>pointLight(</before><after>)</after></leaf>
		<leaf type="insert" title="spotLight()"><before>spotLight(</before><after>)</after></leaf>
	</branch>
	<branch title="Camera">
		<leaf type="insert" title="beginCamera()"><before>beginCamera(</before><after>)</after></leaf>
		<leaf type="insert" title="camera()"><before>camera(</before><after>)</after></leaf>
		<leaf type="insert" title="endCamera()"><before>endCamera(</before><after>)</after></leaf>
		<leaf type="insert" title="frustum()"><before>frustum(</before><after>)</after></leaf>
		<leaf type="insert" title="ortho()"><before>ortho(</before><after>)</after></leaf>
		<leaf type="insert" title="perspective()"><before>perspective(</before><after>)</after></leaf>
		<leaf type="insert" title="printCamera()"><before>printCamera(</before><after>)</after></leaf>
		<leaf type="insert" title="printProjection()"><before>printProjection(</before><after>)</after></leaf>
	</branch>
	<branch title="Coordinates">
		<leaf type="insert" title="modelX()"><before>modelX(</before><after>)</after></leaf>
		<leaf type="insert" title="modelY()"><before>modelY(</before><after>)</after></leaf>
		<leaf type="insert" title="modelZ()"><before>modelZ(</before><after>)</after></leaf>
		<leaf type="insert" title="screenX()"><before>screenX(</before><after>)</after></leaf>
		<leaf type="insert" title="screenY()"><before>screenY(</before><after>)</after></leaf>
		<leaf type="insert" title="screenZ()"><before>screenZ(</before><after>)</after></leaf>
	</branch>
	<branch title="Material Properties">
		<leaf type="insert" title="ambient()"><before>ambient(</before><after>)</after></leaf>
		<leaf type="insert" title="emissive()"><before>emissive(</before><after>)</after></leaf>
		<leaf type="insert" title="shininess()"><before>shininess(</before><after>)</after></leaf>
		<leaf type="insert" title="specular()"><before>specular(</before><after>)</after></leaf>
	</branch>
</branch>

<branch title="Color">
	<branch title="Setting">
		<leaf type="insert" title="background()"><before>background(</before><after>)</after></leaf>
		<leaf type="insert" title="colorMode()"><before>colorMode(</before><after>)</after></leaf>
		<leaf type="insert" title="fill()"><before>fill(</before><after>)</after></leaf>
		<leaf type="insert" title="noFill()"><before>noFill(</before><after>)</after></leaf>
		<leaf type="insert" title="noStroke()"><before>noStroke(</before><after>)</after></leaf>
		<leaf type="insert" title="stroke()"><before>stroke(</before><after>)</after></leaf>
	</branch>
	<branch title="Creating & Reading">
		<leaf type="insert" title="alpha()"><before>alpha(</before><after>)</after></leaf>
		<leaf type="insert" title="blendColor()"><before>blendColor(</before><after>)</after></leaf>
		<leaf type="insert" title="blue()"><before>blue(</before><after>)</after></leaf>
		<leaf type="insert" title="brightness()"><before>brightness(</before><after>)</after></leaf>
		<leaf type="insert" title="color()"><before>color(</before><after>)</after></leaf>
		<leaf type="insert" title="green()"><before>green(</before><after>)</after></leaf>
		<leaf type="insert" title="hue()"><before>hue(</before><after>)</after></leaf>
		<leaf type="insert" title="lerpColor()"><before>lerpColor(</before><after>)</after></leaf>
		<leaf type="insert" title="red()"><before>red(</before><after>)</after></leaf>
		<leaf type="insert" title="saturation()"><before>saturation(</before><after>)</after></leaf>
	</branch>
</branch>
<branch title="Image">
		<leaf type="insert" title="PImage"><before>PImage</before><after></after></leaf>
		<leaf type="insert" title="createImage()"><before>createImage(</before><after>)</after></leaf>
	<branch title="Loading & Displaying">
		<leaf type="insert" title="image()"><before>image(</before><after>)</after></leaf>
		<leaf type="insert" title="imageMode()"><before>imageMode(</before><after>)</after></leaf>
		<leaf type="insert" title="loadImage()"><before>loadImage(</before><after>)</after></leaf>
		<leaf type="insert" title="noTint()"><before>noTint(</before><after>)</after></leaf>
		<leaf type="insert" title="requestImage()"><before>requestImage(</before><after>)</after></leaf>
		<leaf type="insert" title="tint()"><before>tint(</before><after>)</after></leaf>
	</branch>
	<branch title="Pixels">
		<leaf type="insert" title="blend()"><before>blend(</before><after>)</after></leaf>
		<leaf type="insert" title="copy()"><before>copy(</before><after>)</after></leaf>
		<leaf type="insert" title="filter()"><before>filter(</before><after>)</after></leaf>
		<leaf type="insert" title="get()"><before>get(</before><after>)</after></leaf>
		<leaf type="insert" title="loadPixels()"><before>loadPixels(</before><after>)</after></leaf>
		<leaf type="insert" title="pixels[]"><before>pixels[]</before><after></after></leaf>
		<leaf type="insert" title="set()"><before>set(</before><after>)</after></leaf>
		<leaf type="insert" title="updatePixels()"><before>updatePixels(</before><after>)</after></leaf>
	</branch>
</branch>
<branch title="Rendering">
		<leaf type="insert" title="PGraphics"><before>PGraphics</before><after></after></leaf>
		<leaf type="insert" title="createGraphics()"><before>createGraphics(</before><after>)</after></leaf>
		<leaf type="insert" title="hint()"><before>hint(</before><after>)</after></leaf>
</branch>
<branch title="Typography">
		<leaf type="insert" title="PFont"><before>PFont</before><after></after></leaf>
	<branch title="Loading & Displaying">
		<leaf type="insert" title="createFont()"><before>createFont(</before><after>)</after></leaf>
		<leaf type="insert" title="loadFont()"><before>loadFont(</before><after>)</after></leaf>
		<leaf type="insert" title="text()"><before>text(</before><after>)</after></leaf>
		<leaf type="insert" title="textFont()"><before>textFont(</before><after>)</after></leaf>
	</branch>
	<branch title="Attributes">
		<leaf type="insert" title="textAlign()"><before>textAlign(</before><after>)</after></leaf>
		<leaf type="insert" title="textLeading()"><before>textLeading(</before><after>)</after></leaf>
		<leaf type="insert" title="textMode()"><before>textMode(</before><after>)</after></leaf>
		<leaf type="insert" title="textSize()"><before>textSize(</before><after>)</after></leaf>
		<leaf type="insert" title="textWidth()"><before>textWidth(</before><after>)</after></leaf>
	</branch>
	<branch title="Metrics">
		<leaf type="insert" title="textAscent()"><before>textAscent(</before><after>)</after></leaf>
		<leaf type="insert" title="textDescent()"><before>textDescent(</before><after>)</after></leaf>
	</branch>
</branch>
<branch title="Math">
		<leaf type="insert" title="PVector"><before>PVector</before><after></after></leaf>
	<branch title="Operators">
		<leaf type="insert" title="+= (add assign)"><before>+=</before><after></after></leaf>
		<leaf type="insert" title="+ (addition)"><before>+</before><after></after></leaf>
		<leaf type="insert" title="-- (decrement)"><before>--</before><after></after></leaf>
		<leaf type="insert" title="/ (divide)"><before>/</before><after></after></leaf>
		<leaf type="insert" title="/= (divide assign)"><before>/=</before><after></after></leaf>
		<leaf type="insert" title="++ (increment)"><before>++</before><after></after></leaf>
		<leaf type="insert" title="- (minus)"><before>-</before><after></after></leaf>
		<leaf type="insert" title="% (modulo)"><before>%</before><after></after></leaf>
		<leaf type="insert" title="* (multiply)"><before>*</before><after></after></leaf>
		<leaf type="insert" title="*= (multiply assign)"><before>*=</before><after></after></leaf>
		<leaf type="insert" title="-= (subtract assign)"><before>-=</before><after></after></leaf>
	</branch>
	<branch title="Bitwise Operators">
		<leaf type="insert" title="& (bitwise AND)"><before>&</before><after></after></leaf>
		<leaf type="insert" title="| (bitwise OR)"><before>|</before><after></after></leaf>
		<leaf type="insert" title="<< (left shift)"><before><< </before><after></after></leaf>
		<leaf type="insert" title=">> (right shift)"><before>>></before><after></after></leaf>
	</branch>
	<branch title="Calculation">
		<leaf type="insert" title="abs()"><before>abs(</before><after>)</after></leaf>
		<leaf type="insert" title="ceil()"><before>ceil(</before><after>)</after></leaf>
		<leaf type="insert" title="constrain()"><before>constrain(</before><after>)</after></leaf>
		<leaf type="insert" title="dist()"><before>dist(</before><after>)</after></leaf>
		<leaf type="insert" title="exp()"><before>exp(</before><after>)</after></leaf>
		<leaf type="insert" title="floor()"><before>floor(</before><after>)</after></leaf>
		<leaf type="insert" title="lerp()"><before>lerp(</before><after>)</after></leaf>
		<leaf type="insert" title="log()"><before>log(</before><after>)</after></leaf>
		<leaf type="insert" title="mag()"><before>mag(</before><after>)</after></leaf>
		<leaf type="insert" title="map()"><before>map(</before><after>)</after></leaf>
		<leaf type="insert" title="max()"><before>max(</before><after>)</after></leaf>
		<leaf type="insert" title="min()"><before>min(</before><after>)</after></leaf>
		<leaf type="insert" title="norm()"><before>norm(</before><after>)</after></leaf>
		<leaf type="insert" title="pow()"><before>pow(</before><after>)</after></leaf>
		<leaf type="insert" title="round()"><before>round(</before><after>)</after></leaf>
		<leaf type="insert" title="sq()"><before>sq(</before><after>)</after></leaf>
		<leaf type="insert" title="sqrt()"><before>sqrt(</before><after>)</after></leaf>
	</branch>
	<branch title="Trigonometry">
		<leaf type="insert" title="acos()"><before>acos(</before><after>)</after></leaf>
		<leaf type="insert" title="asin()"><before>asin(</before><after>)</after></leaf>
		<leaf type="insert" title="atan()"><before>atan(</before><after>)</after></leaf>
		<leaf type="insert" title="atan2()"><before>atan2()</before><after></after></leaf>
		<leaf type="insert" title="cos()"><before>cos(</before><after>)</after></leaf>
		<leaf type="insert" title="degrees()"><before>degrees(</before><after>)</after></leaf>
		<leaf type="insert" title="radians()"><before>radians(</before><after>)</after></leaf>
		<leaf type="insert" title="sin()"><before>sin(</before><after>)</after></leaf>
		<leaf type="insert" title="tan()"><before>tan(</before><after>)</after></leaf>
	</branch>
	<branch title="Random">
		<leaf type="insert" title="noise()"><before>noise(</before><after>)</after></leaf>
		<leaf type="insert" title="noiseDetail()"><before>noiseDetail(</before><after>)</after></leaf>
		<leaf type="insert" title="noiseSeed()"><before>noiseSeed(</before><after>)</after></leaf>
		<leaf type="insert" title="random()"><before>random(</before><after>)</after></leaf>
		<leaf type="insert" title="randomSeed()"><before>randomSeed(</before><after>)</after></leaf>
	</branch>
</branch>
<branch title="Constants">
		<leaf type="insert" title="HALF_PI (1.57079...)"><before>HALF_PI</before><after></after></leaf>
		<leaf type="insert" title="PI (3.14159...)"><before>PI</before><after></after></leaf>
		<leaf type="insert" title="QUARTER_PI (0.78539...)"><before>QUARTER_PI</before><after></after></leaf>
		<leaf type="insert" title="TWO_PI (6.28318...)"><before>TWO_PI</before><after></after></leaf>
</branch>
</branch>
</snippets>