Processing.js snippets

From Bluefish Wiki
Jump to: navigation, search

<?xml version="1.0"?>
<!-- Processing.js.xml $Revision: 4/01/2011   -->

 <!--
              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.js">
<branch title="P.JS specific">
 <leaf type="insert" title="@pjs directives" tooltip=""><before>@pjs directives</before><after></after></leaf>
</branch>
<branch title="Structure">
 <leaf type="insert" title="[] (array access)" tooltip=""><before>[</before><after>]</after></leaf>
 <leaf type="insert" title="= (assign)" tooltip=""><before>=</before><after></after></leaf>
 <leaf type="insert" title="class" tooltip=""><before>class</before><after></after></leaf>
 <leaf type="insert" title=", (comma)" tooltip=""><before>,</before><after></after></leaf>
 <leaf type="insert" title="// (comment)" tooltip=""><before>// </before><after></after></leaf>
 <leaf type="insert" title="{} (curly braces)" tooltip=""><before>{</before><after>}</after></leaf>
 <leaf type="insert" title="delay()" tooltip=""><before>delay(</before><after>)</after></leaf>
 <leaf type="insert" title="/** */ (doc comment)" tooltip=""><before>/** </before><after> */</after></leaf>
 <leaf type="insert" title=". (dot)" tooltip=""><before>.</before><after></after></leaf>
 <leaf type="insert" title="draw()" tooltip=""><before>draw(</before><after>)</after></leaf>
 <leaf type="insert" title="exit()" tooltip=""><before>exit(</before><after>)</after></leaf>
 <leaf type="insert" title="extends" tooltip=""><before>extends</before><after></after></leaf>
 <leaf type="insert" title="false" tooltip=""><before>false</before><after></after></leaf>
 <leaf type="insert" title="final" tooltip=""><before>final</before><after></after></leaf>
 <leaf type="insert" title="implements" tooltip=""><before>implements</before><after></after></leaf>
 <leaf type="insert" title="import" tooltip=""><before>import</before><after></after></leaf>
 <leaf type="insert" title="loop()" tooltip=""><before>loop(</before><after>)</after></leaf>
 <leaf type="insert" title="/* */ (multiline comment)" tooltip=""><before>/* </before><after> */</after></leaf>
 <leaf type="insert" title="new" tooltip=""><before>new</before><after></after></leaf>
 <leaf type="insert" title="noLoop()" tooltip=""><before>noLoop(</before><after>)</after></leaf>
 <leaf type="insert" title="null" tooltip=""><before>null</before><after></after></leaf>
 <leaf type="insert" title="() (parentheses)" tooltip=""><before>(</before><after>)</after></leaf>
 <leaf type="insert" title="popStyle()" tooltip=""><before>popStyle(</before><after>)</after></leaf>
 <leaf type="insert" title="private" tooltip=""><before>private</before><after></after></leaf>
 <leaf type="insert" title="public" tooltip=""><before>public</before><after></after></leaf>
 <leaf type="insert" title="redraw()" tooltip=""><before>redraw(</before><after>)</after></leaf>
 <leaf type="insert" title="return" tooltip=""><before>return</before><after></after></leaf>
 <leaf type="insert" title="; (semicolon)" tooltip=""><before>;</before><after></after></leaf>
 <leaf type="insert" title="setup()" tooltip=""><before>setup(</before><after>)</after></leaf>
 <leaf type="insert" title="size()" tooltip=""><before>size(</before><after>)</after></leaf>
 <leaf type="insert" title="static" tooltip=""><before>static</before><after></after></leaf>
 <leaf type="insert" title="super" tooltip=""><before>super</before><after></after></leaf>
 <leaf type="insert" title="this" tooltip=""><before>this</before><after></after></leaf>
 <leaf type="insert" title="true" tooltip=""><before>true</before><after></after></leaf>
 <leaf type="insert" title="void" tooltip=""><before>void</before><after></after></leaf>
</branch>
<branch title="Environment">
 <leaf type="insert" title="cursor()" tooltip=""><before>cursor(</before><after>)</after></leaf>
 <leaf type="insert" title="focused" tooltip=""><before>focused</before><after></after></leaf>
 <leaf type="insert" title="frameCount" tooltip=""><before>frameCount</before><after></after></leaf>
 <leaf type="insert" title="frameRate()" tooltip=""><before>frameRate(</before><after>)</after></leaf>
 <leaf type="insert" title="frameRate" tooltip=""><before>frameRate</before><after></after></leaf>
 <leaf type="insert" title="height" tooltip=""><before>height</before><after></after></leaf>
 <leaf type="insert" title="noCursor()" tooltip=""><before>noCursor(</before><after>)</after></leaf>
 <leaf type="insert" title="online" tooltip=""><before>online</before><after></after></leaf>
 <leaf type="insert" title="screen" tooltip=""><before>screen</before><after></after></leaf>
 <leaf type="insert" title="width" tooltip=""><before>width</before><after></after></leaf>
</branch>
<branch title="Data">
<branch title="Primitive">
 <leaf type="insert" title="boolean" tooltip=""><before>boolean</before><after></after></leaf>
 <leaf type="insert" title="byte" tooltip=""><before>byte</before><after></after></leaf>
 <leaf type="insert" title="char" tooltip=""><before>char</before><after></after></leaf>
 <leaf type="insert" title="color" tooltip=""><before>color</before><after></after></leaf>
 <leaf type="insert" title="double" tooltip=""><before>double</before><after></after></leaf>
 <leaf type="insert" title="float" tooltip=""><before>float</before><after></after></leaf>
 <leaf type="insert" title="int" tooltip=""><before>int</before><after></after></leaf>
 <leaf type="insert" title="long" tooltip=""><before>long</before><after></after></leaf>
</branch>
<branch title="Composite">
 <leaf type="insert" title="Array" tooltip=""><before>Array</before><after></after></leaf>
 <leaf type="insert" title="ArrayList" tooltip=""><before>ArrayList</before><after></after></leaf>
 <leaf type="insert" title="HashMap" tooltip=""><before>HashMap</before><after></after></leaf>
 <leaf type="insert" title="Object" tooltip=""><before>Object</before><after></after></leaf>
 <leaf type="insert" title="String" tooltip=""><before>String</before><after></after></leaf>
 <leaf type="insert" title="XMLElement" tooltip=""><before>XMLElement</before><after></after></leaf>
</branch>
<branch title="Conversion">
 <leaf type="insert" title="binary()" tooltip=""><before>binary(</before><after>)</after></leaf>
 <leaf type="insert" title="boolean()" tooltip=""><before>boolean(</before><after>)</after></leaf>
 <leaf type="insert" title="byte()" tooltip=""><before>byte(</before><after>)</after></leaf>
 <leaf type="insert" title="char()" tooltip=""><before>char(</before><after>)</after></leaf>
 <leaf type="insert" title="float()" tooltip=""><before>float(</before><after>)</after></leaf>
 <leaf type="insert" title="hex()" tooltip=""><before>hex(</before><after>)</after></leaf>
 <leaf type="insert" title="int()" tooltip=""><before>int(</before><after>)</after></leaf>
 <leaf type="insert" title="str()" tooltip=""><before>str(</before><after>)</after></leaf>
 <leaf type="insert" title="unbinary()" tooltip=""><before>unbinary(</before><after>)</after></leaf>
 <leaf type="insert" title="unhex()" tooltip=""><before>unhex(</before><after>)</after></leaf>
</branch>
<branch title="String Functions">
 <leaf type="insert" title="join()" tooltip=""><before>join(</before><after>)</after></leaf>
 <leaf type="insert" title="match()" tooltip=""><before>match(</before><after>)</after></leaf>
 <leaf type="insert" title="matchAll()" tooltip=""><before>matchAll(</before><after>)</after></leaf>
 <leaf type="insert" title="nf()" tooltip=""><before>nf(</before><after>)</after></leaf>
 <leaf type="insert" title="nfc()" tooltip=""><before>nfc(</before><after>)</after></leaf>
 <leaf type="insert" title="nfp()" tooltip=""><before>nfp(</before><after>)</after></leaf>
 <leaf type="insert" title="nfs()" tooltip=""><before>nfs(</before><after>)</after></leaf>
 <leaf type="insert" title="split()" tooltip=""><before>split(</before><after>)</after></leaf>
 <leaf type="insert" title="splitTokens()" tooltip=""><before>splitTokens(</before><after>)</after></leaf>
 <leaf type="insert" title="trim()" tooltip=""><before>trim(</before><after>)</after></leaf>
</branch>
<branch title="Array Functions">
 <leaf type="insert" title="append()" tooltip=""><before>append(</before><after>)</after></leaf>
 <leaf type="insert" title="arrayCopy()" tooltip=""><before>arrayCopy(</before><after>)</after></leaf>
 <leaf type="insert" title="concat()" tooltip=""><before>concat(</before><after>)</after></leaf>
 <leaf type="insert" title="expand()" tooltip=""><before>expand(</before><after>)</after></leaf>
 <leaf type="insert" title="reverse()" tooltip=""><before>reverse(</before><after>)</after></leaf>
 <leaf type="insert" title="shorten()" tooltip=""><before>shorten(</before><after>)</after></leaf>
 <leaf type="insert" title="sort()" tooltip=""><before>sort(</before><after>)</after></leaf>
 <leaf type="insert" title="splice()" tooltip=""><before>splice(</before><after>)</after></leaf>
 <leaf type="insert" title="subset()" tooltip=""><before>subset(</before><after>)</after></leaf>
</branch>
</branch>
<branch title="Control">
<branch title="Relational Operators">
 <leaf type="insert" title="== (equality)" tooltip=""><before>==</before><after></after></leaf>
 <leaf type="insert" title="> (greater than)" tooltip=""><before>></before><after></after></leaf>
 <leaf type="insert" title=">= (greater than or equal to)" tooltip=""><before>>=</before><after></after></leaf>
 <leaf type="insert" title="!= (inequality)" tooltip=""><before>!=</before><after></after></leaf>
 <leaf type="insert" title="< (less than)" tooltip=""><before><</before><after></after></leaf>
 <leaf type="insert" title="&lt;= (less than or equal to)" tooltip=""><before>&lt;=</before><after></after></leaf>
</branch>
<branch title="Iteration">
 <leaf type="insert" title="for()" tooltip=""><before>for(</before><after>)</after></leaf>
 <leaf type="insert" title="while()" tooltip=""><before>while(</before><after>)</after></leaf>
</branch>
<branch title="Conditionals">
 <leaf type="insert" title="break" tooltip=""><before>break</before><after></after></leaf>
 <leaf type="insert" title="case" tooltip=""><before>case</before><after></after></leaf>
 <leaf type="insert" title="?: (conditional)" tooltip=""><before>?:</before><after></after></leaf>
 <leaf type="insert" title="continue" tooltip=""><before>continue</before><after></after></leaf>
 <leaf type="insert" title="default" tooltip=""><before>default</before><after></after></leaf>
 <leaf type="insert" title="else()" tooltip=""><before>else(</before><after>)</after></leaf>
 <leaf type="insert" title="if()" tooltip=""><before>if(</before><after>)</after></leaf>
 <leaf type="insert" title="switch()" tooltip=""><before>switch(</before><after>)</after></leaf>
</branch>
<branch title="Logical Operators">
 <leaf type="insert" title="&& (logical AND)" tooltip=""><before>&&</before><after></after></leaf>
 <leaf type="insert" title="! (logical NOT)" tooltip=""><before>!</before><after></after></leaf>
 <leaf type="insert" title="|| (logical OR)" tooltip=""><before>||</before><after></after></leaf>
</branch>
</branch>
<branch title="Shape">
 <leaf type="insert" title="PShape" tooltip=""><before>PShape</before><after></after></leaf>
<branch title="2D Primitives">
 <leaf type="insert" title="arc()" tooltip=""><before>arc(</before><after>)</after></leaf>
 <leaf type="insert" title="ellipse()" tooltip=""><before>ellipse(</before><after>)</after></leaf>
 <leaf type="insert" title="line()" tooltip=""><before>line(</before><after>)</after></leaf>
 <leaf type="insert" title="point()" tooltip=""><before>point(</before><after>)</after></leaf>
 <leaf type="insert" title="quad()" tooltip=""><before>quad(</before><after>)</after></leaf>
 <leaf type="insert" title="rect()" tooltip=""><before>rect(</before><after>)</after></leaf>
 <leaf type="insert" title="triangle()" tooltip=""><before>triangle(</before><after>)</after></leaf>
<branch title="Curves">
 <leaf type="insert" title="bezier()" tooltip=""><before>bezier(</before><after>)</after></leaf>
 <leaf type="insert" title="bezierDetail()" tooltip=""><before>bezierDetail(</before><after>)</after></leaf>
 <leaf type="insert" title="bezierPoint()" tooltip=""><before>bezierPoint(</before><after>)</after></leaf>
 <leaf type="insert" title="bezierTangent()" tooltip=""><before>bezierTangent(</before><after>)</after></leaf>
 <leaf type="insert" title="curve()" tooltip=""><before>curve(</before><after>)</after></leaf>
 <leaf type="insert" title="curveDetail()" tooltip=""><before>curveDetail(</before><after>)</after></leaf>
 <leaf type="insert" title="curvePoint()" tooltip=""><before>curvePoint(</before><after>)</after></leaf>
 <leaf type="insert" title="curveTangent()" tooltip=""><before>curveTangent(</before><after>)</after></leaf>
 <leaf type="insert" title="curveTightness()" tooltip=""><before>curveTightness(</before><after>)</after></leaf>
</branch>
<branch title="3D Primitives">
 <leaf type="insert" title="box()" tooltip=""><before>box(</before><after>)</after></leaf>
 <leaf type="insert" title="sphere()" tooltip=""><before>sphere(</before><after>)</after></leaf>
 <leaf type="insert" title="sphereDetail()" tooltip=""><before>sphereDetail(</before><after>)</after></leaf>
</branch>
<branch title="Attributes">
 <leaf type="insert" title="ellipseMode()" tooltip=""><before>ellipseMode(</before><after>)</after></leaf>
 <leaf type="insert" title="noSmooth()" tooltip=""><before>noSmooth(</before><after>)</after></leaf>
 <leaf type="insert" title="rectMode()" tooltip=""><before>rectMode(</before><after>)</after></leaf>
 <leaf type="insert" title="smooth()" tooltip=""><before>smooth(</before><after>)</after></leaf>
 <leaf type="insert" title="strokeCap()" tooltip=""><before>strokeCap(</before><after>)</after></leaf>
 <leaf type="insert" title="strokeJoin()" tooltip=""><before>strokeJoin(</before><after>)</after></leaf>
 <leaf type="insert" title="strokeWeight()" tooltip=""><before>strokeWeight(</before><after>)</after></leaf>
</branch>
<branch title="Vertex">
 <leaf type="insert" title="beginShape()" tooltip=""><before>beginShape(</before><after>)</after></leaf>
 <leaf type="insert" title="bezierVertex()" tooltip=""><before>bezierVertex(</before><after>)</after></leaf>
 <leaf type="insert" title="curveVertex()" tooltip=""><before>curveVertex(</before><after>)</after></leaf>
 <leaf type="insert" title="endShape()" tooltip=""><before>endShape(</before><after>)</after></leaf>
 <leaf type="insert" title="texture()" tooltip=""><before>texture(</before><after>)</after></leaf>
 <leaf type="insert" title="textureMode()" tooltip=""><before>textureMode(</before><after>)</after></leaf>
 <leaf type="insert" title="vertex()" tooltip=""><before>vertex(</before><after>)</after></leaf>
</branch>
<branch title="Loading & Displaying">
 <leaf type="insert" title="loadShape()" tooltip=""><before>loadShape(</before><after>)</after></leaf>
 <leaf type="insert" title="shape()" tooltip=""><before>shape(</before><after>)</after></leaf>
 <leaf type="insert" title="shapeMode()" tooltip=""><before>shapeMode(</before><after>)</after></leaf>
</branch>
</branch>
<branch title="Input">
<branch title="Mouse">
 <leaf type="insert" title="mouseButton" tooltip=""><before>mouseButton</before><after></after></leaf>
 <leaf type="insert" title="mouseClicked()" tooltip=""><before>mouseClicked(</before><after>)</after></leaf>
 <leaf type="insert" title="mouseDragged()" tooltip=""><before>mouseDragged(</before><after>)</after></leaf>
 <leaf type="insert" title="mouseMoved()" tooltip=""><before>mouseMoved(</before><after>)</after></leaf>
 <leaf type="insert" title="mousePressed()" tooltip=""><before>mousePressed(</before><after>)</after></leaf>
 <leaf type="insert" title="mousePressed" tooltip=""><before>mousePressed</before><after></after></leaf>
 <leaf type="insert" title="mouseReleased()" tooltip=""><before>mouseReleased(</before><after>)</after></leaf>
 <leaf type="insert" title="mouseX" tooltip=""><before>mouseX</before><after></after></leaf>
 <leaf type="insert" title="mouseY" tooltip=""><before>mouseY</before><after></after></leaf>
 <leaf type="insert" title="pmouseX" tooltip=""><before>pmouseX</before><after></after></leaf>
 <leaf type="insert" title="pmouseY" tooltip=""><before>pmouseY</before><after></after></leaf>
</branch>
<branch title="Keyboard">
 <leaf type="insert" title="key" tooltip=""><before>key</before><after></after></leaf>
 <leaf type="insert" title="keyCode" tooltip=""><before>keyCode</before><after></after></leaf>
 <leaf type="insert" title="keyPressed()" tooltip=""><before>keyPressed(</before><after>)</after></leaf>
 <leaf type="insert" title="keyPressed" tooltip=""><before>keyPressed</before><after></after></leaf>
 <leaf type="insert" title="keyReleased()" tooltip=""><before>keyReleased(</before><after>)</after></leaf>
 <leaf type="insert" title="keyTyped()" tooltip=""><before>keyTyped(</before><after>)</after></leaf>
</branch>
<branch title="Files">
 <leaf type="insert" title="createInput()" tooltip=""><before>createInput(</before><after>)</after></leaf>
 <leaf type="insert" title="loadBytes()" tooltip=""><before>loadBytes(</before><after>)</after></leaf>
 <leaf type="insert" title="loadStrings()" tooltip=""><before>loadStrings(</before><after>)</after></leaf>
 <leaf type="insert" title="open()" tooltip=""><before>open(</before><after>)</after></leaf>
 <leaf type="insert" title="selectFolder()" tooltip=""><before>selectFolder(</before><after>)</after></leaf>
 <leaf type="insert" title="selectInput()" tooltip=""><before>selectInput(</before><after>)</after></leaf>
</branch>
<branch title="Web">
 <leaf type="insert" title="link()" tooltip=""><before>link(</before><after>)</after></leaf>
 <leaf type="insert" title="param()" tooltip=""><before>param(</before><after>)</after></leaf>
 <leaf type="insert" title="status()" tooltip=""><before>status(</before><after>)</after></leaf>
</branch>
<branch title="Time & Date">
 <leaf type="insert" title="day()" tooltip=""><before>day(</before><after>)</after></leaf>
 <leaf type="insert" title="hour()" tooltip=""><before>hour(</before><after>)</after></leaf>
 <leaf type="insert" title="millis()" tooltip=""><before>millis(</before><after>)</after></leaf>
 <leaf type="insert" title="minute()" tooltip=""><before>minute(</before><after>)</after></leaf>
 <leaf type="insert" title="month()" tooltip=""><before>month(</before><after>)</after></leaf>
 <leaf type="insert" title="second()" tooltip=""><before>second(</before><after>)</after></leaf>
 <leaf type="insert" title="year()" tooltip=""><before>year(</before><after>)</after></leaf>
</branch>
</branch>
<branch title="Output">
<branch title="Text Area">
 <leaf type="insert" title="print()" tooltip=""><before>print(</before><after>)</after></leaf>
 <leaf type="insert" title="println()" tooltip=""><before>println(</before><after>)</after></leaf>
</branch>
<branch title="Image">
 <leaf type="insert" title="save()" tooltip=""><before>save(</before><after>)</after></leaf>
 <leaf type="insert" title="saveFrame()" tooltip=""><before>saveFrame(</before><after>)</after></leaf>
</branch>
<branch title="Files">
 <leaf type="insert" title="PrintWriter" tooltip=""><before>PrintWriter</before><after></after></leaf>
 <leaf type="insert" title="beginRaw()" tooltip=""><before>beginRaw(</before><after>)</after></leaf>
 <leaf type="insert" title="beginRecord()" tooltip=""><before>beginRecord(</before><after>)</after></leaf>
 <leaf type="insert" title="createOutput()" tooltip=""><before>createOutput(</before><after>)</after></leaf>   
 <leaf type="insert" title="createReader()" tooltip=""><before>createReader(</before><after>)</after></leaf>
 <leaf type="insert" title="createWriter()" tooltip=""><before>createWriter(</before><after>)</after></leaf>
 <leaf type="insert" title="endRaw()" tooltip=""><before>endRaw(</before><after>)</after></leaf>
 <leaf type="insert" title="endRecord()" tooltip=""><before>endRecord(</before><after>)</after></leaf>
 <leaf type="insert" title="saveBytes()" tooltip=""><before>saveBytes(</before><after>)</after></leaf>
 <leaf type="insert" title="saveStream()" tooltip=""><before>saveStream(</before><after>)</after></leaf>
 <leaf type="insert" title="saveStrings()" tooltip=""><before>saveStrings(</before><after>)</after></leaf>
 <leaf type="insert" title="selectOutput()" tooltip=""><before>selectOutput(</before><after>)</after></leaf>
</branch>
</branch>
<branch title="Transform">
 <leaf type="insert" title="applyMatrix()" tooltip=""><before>applyMatrix(</before><after>)</after></leaf>
 <leaf type="insert" title="popMatrix()" tooltip=""><before>popMatrix(</before><after>)</after></leaf>
 <leaf type="insert" title="printMatrix()" tooltip=""><before>printMatrix(</before><after>)</after></leaf>
 <leaf type="insert" title="pushMatrix()" tooltip=""><before>pushMatrix(</before><after>)</after></leaf>
 <leaf type="insert" title="resetMatrix()" tooltip=""><before>resetMatrix(</before><after>)</after></leaf>
 <leaf type="insert" title="rotate()" tooltip=""><before>rotate(</before><after>)</after></leaf>
 <leaf type="insert" title="rotateX()" tooltip=""><before>rotateX(</before><after>)</after></leaf>
 <leaf type="insert" title="rotateY()" tooltip=""><before>rotateY(</before><after>)</after></leaf>
 <leaf type="insert" title="rotateZ()" tooltip=""><before>rotateZ(</before><after>)</after></leaf>
 <leaf type="insert" title="scale()" tooltip=""><before>scale(</before><after>)</after></leaf>
 <leaf type="insert" title="translate()" tooltip=""><before>translate(</before><after>)</after></leaf>
</branch>
<branch title="Lights, Camera">
<branch title="Lights">
 <leaf type="insert" title="ambientLight()" tooltip=""><before>ambientLight(</before><after>)</after></leaf>
 <leaf type="insert" title="directionalLight()" tooltip=""><before>directionalLight(</before><after>)</after></leaf>
 <leaf type="insert" title="lightFalloff()" tooltip=""><before>lightFalloff(</before><after>)</after></leaf>
 <leaf type="insert" title="lightSpecular()" tooltip=""><before>lightSpecular(</before><after>)</after></leaf>
 <leaf type="insert" title="lights()" tooltip=""><before>lights(</before><after>)</after></leaf>
 <leaf type="insert" title="noLights()" tooltip=""><before>noLights(</before><after>)</after></leaf>
 <leaf type="insert" title="normal()" tooltip=""><before>normal(</before><after>)</after></leaf>
 <leaf type="insert" title="pointLight()" tooltip=""><before>pointLight(</before><after>)</after></leaf>
 <leaf type="insert" title="spotLight()" tooltip=""><before>spotLight(</before><after>)</after></leaf>
</branch>
<branch title="Camera">
 <leaf type="insert" title="beginCamera()" tooltip=""><before>beginCamera(</before><after>)</after></leaf>
 <leaf type="insert" title="camera()" tooltip=""><before>camera(</before><after>)</after></leaf>
 <leaf type="insert" title="endCamera()" tooltip=""><before>endCamera(</before><after>)</after></leaf>
 <leaf type="insert" title="frustum()" tooltip=""><before>frustum(</before><after>)</after></leaf>
 <leaf type="insert" title="ortho()" tooltip=""><before>ortho(</before><after>)</after></leaf>
 <leaf type="insert" title="perspective()" tooltip=""><before>perspective(</before><after>)</after></leaf>
 <leaf type="insert" title="printCamera()" tooltip=""><before>printCamera(</before><after>)</after></leaf>
 <leaf type="insert" title="printProjection()" tooltip=""><before>printProjection(</before><after>)</after></leaf>
</branch>
<branch title="Coordinates">
 <leaf type="insert" title="modelX()" tooltip=""><before>modelX(</before><after>)</after></leaf>
 <leaf type="insert" title="modelY()" tooltip=""><before>modelY(</before><after>)</after></leaf>
 <leaf type="insert" title="modelZ()" tooltip=""><before>modelZ(</before><after>)</after></leaf>
 <leaf type="insert" title="screenX()" tooltip=""><before>screenX(</before><after>)</after></leaf>
 <leaf type="insert" title="screenY()" tooltip=""><before>screenY(</before><after>)</after></leaf>
 <leaf type="insert" title="screenZ()" tooltip=""><before>screenZ(</before><after>)</after></leaf>
</branch>
<branch title="Material Properties">
 <leaf type="insert" title="ambient()" tooltip=""><before>ambient(</before><after>)</after></leaf>
 <leaf type="insert" title="emissive()" tooltip=""><before>emissive(</before><after>)</after></leaf>
 <leaf type="insert" title="shininess()" tooltip=""><before>shininess(</before><after>)</after></leaf>
 <leaf type="insert" title="specular()" tooltip=""><before>specular(</before><after>)</after></leaf>
</branch>
</branch>
<branch title="Color">
<branch title="Setting">
 <leaf type="insert" title="background()" tooltip=""><before>background(</before><after>)</after></leaf>
 <leaf type="insert" title="colorMode()" tooltip=""><before>colorMode(</before><after>)</after></leaf>
 <leaf type="insert" title="fill()" tooltip=""><before>fill(</before><after>)</after></leaf>
 <leaf type="insert" title="noFill()" tooltip=""><before>noFill(</before><after>)</after></leaf>
 <leaf type="insert" title="noStroke()" tooltip=""><before>noStroke(</before><after>)</after></leaf>
 <leaf type="insert" title="stroke()" tooltip=""><before>stroke(</before><after>)</after></leaf>
</branch>
<branch title="Creating & Reading">
 <leaf type="insert" title="alpha()" tooltip=""><before>alpha(</before><after>)</after></leaf>
 <leaf type="insert" title="blendColor()" tooltip=""><before>blendColor(</before><after>)</after></leaf>
 <leaf type="insert" title="blue()" tooltip=""><before>blue(</before><after>)</after></leaf>
 <leaf type="insert" title="brightness()" tooltip=""><before>brightness(</before><after>)</after></leaf>
 <leaf type="insert" title="color()" tooltip=""><before>color(</before><after>)</after></leaf>
 <leaf type="insert" title="green()" tooltip=""><before>green(</before><after>)</after></leaf>
 <leaf type="insert" title="hue()" tooltip=""><before>hue(</before><after>)</after></leaf>
 <leaf type="insert" title="lerpColor()" tooltip=""><before>lerpColor(</before><after>)</after></leaf>
 <leaf type="insert" title="red()" tooltip=""><before>red(</before><after>)</after></leaf>
 <leaf type="insert" title="saturation()" tooltip=""><before>saturation(</before><after>)</after></leaf>
</branch>
</branch>
<branch title="Image">
 <leaf type="insert" title="PImage" tooltip=""><before>PImage</before><after></after></leaf>
 <leaf type="insert" title="createImage()" tooltip=""><before>createImage(</before><after>)</after></leaf>
<branch title="Loading & Displaying">
 <leaf type="insert" title="image()" tooltip=""><before>image(</before><after>)</after></leaf>
 <leaf type="insert" title="imageMode()" tooltip=""><before>imageMode(</before><after>)</after></leaf>
 <leaf type="insert" title="loadImage()" tooltip=""><before>loadImage(</before><after>)</after></leaf>
 <leaf type="insert" title="noTint()" tooltip=""><before>noTint(</before><after>)</after></leaf>
 <leaf type="insert" title="requestImage()" tooltip=""><before>requestImage(</before><after>)</after></leaf>
 <leaf type="insert" title="tint()" tooltip=""><before>tint(</before><after>)</after></leaf>
</branch>
<branch title="Pixels">
 <leaf type="insert" title="blend()" tooltip=""><before>blend(</before><after>)</after></leaf>
 <leaf type="insert" title="copy()" tooltip=""><before>copy(</before><after>)</after></leaf>
 <leaf type="insert" title="filter()" tooltip=""><before>filter(</before><after>)</after></leaf>
 <leaf type="insert" title="get()" tooltip=""><before>get(</before><after>)</after></leaf>
 <leaf type="insert" title="loadPixels()" tooltip=""><before>loadPixels(</before><after>)</after></leaf>
 <leaf type="insert" title="pixels[]" tooltip=""><before>pixels[]</before><after></after></leaf>
 <leaf type="insert" title="set()" tooltip=""><before>set(</before><after>)</after></leaf>
 <leaf type="insert" title="updatePixels()" tooltip=""><before>updatePixels(</before><after>)</after></leaf>
</branch>
</branch>
<branch title="Rendering">
 <leaf type="insert" title="PGraphics" tooltip=""><before>PGraphics</before><after></after></leaf>
 <leaf type="insert" title="createGraphics()" tooltip=""><before>createGraphics(</before><after>)</after></leaf>
 <leaf type="insert" title="hint()" tooltip=""><before>hint(</before><after>)</after></leaf>
</branch>
<branch title="Typography">
 <leaf type="insert" title="PFont" tooltip=""><before>PFont</before><after></after></leaf>
</branch>
<branch title="Loading & Displaying">
 <leaf type="insert" title="createFont()" tooltip=""><before>createFont(</before><after>)</after></leaf>
 <leaf type="insert" title="loadFont()" tooltip=""><before>loadFont(</before><after>)</after></leaf>
 <leaf type="insert" title="text()" tooltip=""><before>text(</before><after>)</after></leaf>
 <leaf type="insert" title="textFont()" tooltip=""><before>textFont(</before><after>)</after></leaf>
</branch>
<branch title="Attributes">
 <leaf type="insert" title="textAlign()" tooltip=""><before>textAlign(</before><after>)</after></leaf>
 <leaf type="insert" title="textLeading()" tooltip=""><before>textLeading(</before><after>)</after></leaf>
 <leaf type="insert" title="textMode()" tooltip=""><before>textMode(</before><after>)</after></leaf>
 <leaf type="insert" title="textSize()" tooltip=""><before>textSize(</before><after>)</after></leaf>
 <leaf type="insert" title="textWidth()" tooltip=""><before>textWidth(</before><after>)</after></leaf>
</branch>
<branch title="Metrics">
 <leaf type="insert" title="textAscent()" tooltip=""><before>textAscent(</before><after>)</after></leaf>
 <leaf type="insert" title="textDescent()" tooltip=""><before>textDescent(</before><after>)</after></leaf>
</branch>
</branch>
<branch title="Math">
 <leaf type="insert" title="PVector" tooltip=""><before>PVector</before><after></after></leaf>
<branch title="Operators">
 <leaf type="insert" title="+= (add assign)" tooltip=""><before>+=</before><after></after></leaf>
 <leaf type="insert" title="+ (addition)" tooltip=""><before>+</before><after></after></leaf>
 <leaf type="insert" title="-- (decrement)" tooltip=""><before>--</before><after></after></leaf>
 <leaf type="insert" title="/ (divide)" tooltip=""><before>/</before><after></after></leaf>
 <leaf type="insert" title="/= (divide assign)" tooltip=""><before>/=</before><after></after></leaf>
 <leaf type="insert" title="++ (increment)" tooltip=""><before>++</before><after></after></leaf>
 <leaf type="insert" title="- (minus)" tooltip=""><before>-</before><after></after></leaf>
 <leaf type="insert" title="% (modulo)" tooltip=""><before>%</before><after></after></leaf>
 <leaf type="insert" title="* (multiply)" tooltip=""><before>*</before><after></after></leaf>
 <leaf type="insert" title="*= (multiply assign)" tooltip=""><before>*=</before><after></after></leaf>
 <leaf type="insert" title="-= (subtract assign)" tooltip=""><before>-=</before><after></after></leaf>
</branch>
<branch title="Bitwise Operators">
 <leaf type="insert" title="& (bitwise AND)" tooltip=""><before>&</before><after></after></leaf>
 <leaf type="insert" title="| (bitwise OR)" tooltip=""><before>|</before><after></after></leaf>
 <leaf type="insert" title="<< (left shift)" tooltip=""><before><<</before><after></after></leaf>
 <leaf type="insert" title=">> (right shift)" tooltip=""><before>>></before><after></after></leaf>
</branch>
<branch title="Calculation">
 <leaf type="insert" title="abs()" tooltip=""><before>abs(</before><after>)</after></leaf>
 <leaf type="insert" title="ceil()" tooltip=""><before>ceil(</before><after>)</after></leaf>
 <leaf type="insert" title="constrain()" tooltip=""><before>constrain(</before><after>)</after></leaf>
 <leaf type="insert" title="dist()" tooltip=""><before>dist(</before><after>)</after></leaf>
 <leaf type="insert" title="exp()" tooltip=""><before>exp(</before><after>)</after></leaf>
 <leaf type="insert" title="floor()" tooltip=""><before>floor(</before><after>)</after></leaf>
 <leaf type="insert" title="lerp()" tooltip=""><before>lerp(</before><after>)</after></leaf>
 <leaf type="insert" title="log()" tooltip=""><before>log(</before><after>)</after></leaf>
 <leaf type="insert" title="mag()" tooltip=""><before>mag(</before><after>)</after></leaf>
 <leaf type="insert" title="map()" tooltip=""><before>map(</before><after>)</after></leaf>
 <leaf type="insert" title="max()" tooltip=""><before>max(</before><after>)</after></leaf>
 <leaf type="insert" title="min()" tooltip=""><before>min(</before><after>)</after></leaf>
 <leaf type="insert" title="norm()" tooltip=""><before>norm(</before><after>)</after></leaf>
 <leaf type="insert" title="pow()" tooltip=""><before>pow(</before><after>)</after></leaf>
 <leaf type="insert" title="round()" tooltip=""><before>round(</before><after>)</after></leaf>
 <leaf type="insert" title="sq()" tooltip=""><before>sq(</before><after>)</after></leaf>
 <leaf type="insert" title="sqrt()" tooltip=""><before>sqrt(</before><after>)</after></leaf>
</branch>
<branch title="Trigonometry">
 <leaf type="insert" title="acos()" tooltip=""><before>acos(</before><after>)</after></leaf>
 <leaf type="insert" title="asin()" tooltip=""><before>asin(</before><after>)</after></leaf>
 <leaf type="insert" title="atan()" tooltip=""><before>atan(</before><after>)</after></leaf>
 <leaf type="insert" title="atan2()" tooltip=""><before>atan2(</before><after>)</after></leaf>
 <leaf type="insert" title="cos()" tooltip=""><before>cos(</before><after>)</after></leaf>
 <leaf type="insert" title="degrees()" tooltip=""><before>degrees(</before><after>)</after></leaf>
 <leaf type="insert" title="radians()" tooltip=""><before>radians(</before><after>)</after></leaf>
 <leaf type="insert" title="sin()" tooltip=""><before>sin(</before><after>)</after></leaf>
 <leaf type="insert" title="tan()" tooltip=""><before>tan(</before><after>)</after></leaf>
</branch>
<branch title="Random">
 <leaf type="insert" title="noise()" tooltip=""><before>noise(</before><after>)</after></leaf>
 <leaf type="insert" title="noiseDetail()" tooltip=""><before>noiseDetail(</before><after>)</after></leaf>
 <leaf type="insert" title="noiseSeed()" tooltip=""><before>noiseSeed(</before><after>)</after></leaf>
 <leaf type="insert" title="random()" tooltip=""><before>random(</before><after>)</after></leaf>
 <leaf type="insert" title="randomSeed()" tooltip=""><before>randomSeed(</before><after>)</after></leaf>
</branch>
</branch>
<branch title="Constants">
 <leaf type="insert" title="HALF_PI (1.57079...)" tooltip=""><before>HALF_PI</before><after></after></leaf>
 <leaf type="insert" title="PI (3.14159...)" tooltip=""><before>PI</before><after></after></leaf>
 <leaf type="insert" title="QUARTER_PI (0.78539...)" tooltip=""><before>QUARTER_PI</before><after></after></leaf>
 <leaf type="insert" title="TWO_PI (6.28318...)" tooltip=""><before>TWO_PI</before><after></after></leaf>
</branch>
</branch>
</snippets>