Index

A note on the digital index

A link in an index entry is displayed as the section title in which that entry appears. Because some sections have multiple index markers, it is not unusual for an entry to have several links to the same section. Clicking on any link will take you directly to the place in the text in which the marker appears.

Symbols

3D, drawing in, 3D

A

ACM SIGGRAPH archives, Giants
alpha values, Example 3-17: Set Transparency
ambient lights, Example 11-3: The Processing Camera
analogRead() function, Example 11-7: Read Data from the Serial Port
animation, Example 7-1: See the Frame Rate, Speed and Direction, Example 7-4: Wrap Around, Example 7-5: Bounce Off the Wall, Tweening, Random, Timers, Example 7-11: Triggering Timed Events, Example 7-12: Sine Wave Values, Example 7-14: Circular Motion, Example 7-15: Spirals, Example 7-16: Translating Location, Example 7-19: Rotation, Example 7-21: Scaling
bouncing shapes off sides of screen, Example 7-5: Bounce Off the Wall
calculating tween positions, Tweening
circular motion with sine and cosine, Example 7-14: Circular Motion
drawing/moving shapes randomly, Random
frame rates, Example 7-1: See the Frame Rate
moving shapes, Speed and Direction
rotating coordinate system, Example 7-19: Rotation
scaling shapes, Example 7-21: Scaling
sine wave values/movement, Example 7-12: Sine Wave Values
spirals, creating, Example 7-15: Spirals
timed events, triggering, Example 7-11: Triggering Timed Events
tracking time, Timers
translating locations, Example 7-16: Translating Location
wrapping shapes around screen, Example 7-4: Wrap Around
antialiasing (smoothing), Example 3-10: Put It in Reverse
applet folder, Share
arc() function, Example 3-7: Draw Part of an Ellipse
Arduino boards, Hello Arduino, Example 11-6: Read a Sensor, Example 11-7: Read Data from the Serial Port, Example 11-8: Visualizing the Data Stream, Example 11-9: Another Way to Look at the Data
data stream, visualizing, Example 11-8: Visualizing the Data Stream
overview, Hello Arduino
reading data from serial port, Example 11-7: Read Data from the Serial Port
reading sensors, Example 11-6: Read a Sensor
visualizing data in circular patterns, Example 11-9: Another Way to Look at the Data
arithmetic operations, Example 4-4: Basic Arithmetic, Order of Operations
operators, Example 4-4: Basic Arithmetic
order of, Order of Operations
arrays, Example 10-1: Many Variables, Make an Array, Example 10-7: Revisiting the First Example, Example 10-8: Filling an Array in a for Loop, Example 10-8: Filling an Array in a for Loop, Arrays of Objects, Example 10-11: Sequences of Images
creating (examples), Make an Array
defined, Example 10-1: Many Variables
filling arrays with values in for loops, Example 10-8: Filling an Array in a for Loop
of objects, Arrays of Objects
repetition and, Example 10-7: Revisiting the First Example
sequence of images stored in, Example 10-11: Sequences of Images
tracking mouse movements with, Example 10-8: Filling an Array in a for Loop
arrow keys, detecting, Example 5-21: Move with Arrow Keys
arrows, drawing, Custom Shapes

B

background() function, Color, Example 5-5: The Dot Follows You
beginShape() function, Custom Shapes
blocks, for loop, Example 4-5: Do the Same Thing Over and Over
boolean data type, Click, One Step at a Time
buttons (mouse), tracking, Example 5-14: Multiple Mouse Buttons

C

calculations, order of, One Step at a Time
camera() function, Example 11-3: The Processing Camera
char variables, Example 5-18: Tap a Key
circles, Example 2-2: Make Circles, Example 3-5: Draw a Rectangle, Example 5-16: The Bounds of a Circle
cursor position relative to, Example 5-16: The Bounds of a Circle
drawing, Example 2-2: Make Circles, Example 3-5: Draw a Rectangle
circular motion, Example 7-14: Circular Motion, Robot 5: Motion
example, Robot 5: Motion
with sine and cosine, Example 7-14: Circular Motion
classes of objects, Classes and Objects
clicks, mouse, Click
CLOSE parameter, Example 3-19: Close the Gap
code, Using Code Examples, Repetition, Robot 2: Variables, Example 9-2: Making Multiple Objects, Community
coding tips, Community
examples, Using Code Examples
modifying with variables, Robot 2: Variables
repeating with for loops, Repetition
splitting into tabs, Example 9-2: Making Multiple Objects
coded keys, Example 5-21: Move with Arrow Keys
color, Color, Example 3-16: Draw with Color, Color Coding
coding, Color Coding
Color Selector, Example 3-16: Draw with Color
drawing with, Color
columns and rows, creating with for loops, Example 4-11: Rows and Columns
comments, Comments, Color Coding, Comments
adding to code with //, Comments
multiple-line, Comments
tips for writing, Color Coding
community, Processing, Community
comparison operator (==), Example 5-20: Check for Specific Keys
Console, Your First Program, Console
defined, Your First Program
functions of, Console
constrain() function, Timers
constructors (OOP), Define a Class
continuous lines, drawing, Example 5-6: Draw Continuously
cursors, finding location of, Example 5-15: Find the Cursor
customizing shapes, Custom Shapes

D

data folder, Robot 3: Response
data types, Making Variables, Click, Example 8-6: Increasing the Surplus Population, One Step at a Time, Data Types, Data Types, Data Types, Data Types, Data Types, Data Types, Data Types, Data Types
boolean, Click, Data Types
char, Data Types
float, Data Types
int, Data Types
of variables, Making Variables
parameters and, Example 8-6: Increasing the Surplus Population
PFont, Data Types
PImage, Data Types
PShape, Data Types
String, Data Types
summary of, One Step at a Time
declaring object variables, Example 9-1: Make an Object
degrees, measuring in, Example 3-7: Draw Part of an Ellipse
directional lights, Example 11-3: The Processing Camera
Display Window, Draw
dist() function, Example 5-6: Draw Continuously, Example 5-16: The Bounds of a Circle
dot (.) operator, Example 9-2: Making Multiple Objects
// (double slashes) for code comments, Comments
double slashes (//) for code comments, Comments
downloading Processing, Join In
drawing, Example 2-1: Draw an Ellipse, Example 2-2: Make Circles, Example 3-1: Draw a Window, Example 3-2: Draw a Point, Basic Shapes, Example 3-3: Draw a Line, Example 3-5: Draw a Rectangle, Example 3-5: Draw a Rectangle, Example 3-6: Draw an Ellipse, Example 3-8: Draw with Degrees, Example 3-8: Draw with Degrees, Example 3-10: Put It in Reverse, Color, Example 5-1: The draw() Function, Example 5-6: Draw Continuously, Images, Example 6-6: Drawing with Fonts, Random, 3D, Example 11-5: Draw to a PDF
basic shapes, Basic Shapes
circles, Example 2-2: Make Circles
continuous lines, Example 5-6: Draw Continuously
controlling order of, Example 3-8: Draw with Degrees
draw() function, Example 5-1: The draw() Function
ellipses, Example 2-1: Draw an Ellipse, Example 3-5: Draw a Rectangle
images to screen, Images
in 3D, 3D
lines, Example 3-3: Draw a Line
points, Example 3-2: Draw a Point
rectangles, Example 3-5: Draw a Rectangle
shapes randomly, Random
smooth lines, Example 3-10: Put It in Reverse
squares and circles, Example 3-6: Draw an Ellipse
to PDF files, Example 11-5: Draw to a PDF
windows, Example 3-1: Draw a Window
with color, Color
with fonts, Example 6-6: Drawing with Fonts
with radians, Example 3-8: Draw with Degrees

F

fields, object, Robot 6: Functions
fill() function, Color
float data type, Speed and Direction
float numbers, One Step at a Time
folders, library, 3D
fonts, Fonts, Example 6-6: Drawing with Fonts
creating, Fonts
drawing with, Example 6-6: Drawing with Fonts
for loops, Repetition, Example 10-8: Filling an Array in a for Loop
examples of, Repetition
filling arrays with values in, Example 10-8: Filling an Array in a for Loop
frame rates, Example 7-1: See the Frame Rate
functions, Draw, Function Basics, Make a Function, Return Values, Functions and Parameters
basics of, Function Basics
calculating and returning values with, Return Values
coding tips, Functions and Parameters
defined, Draw
steps for creating, Make a Function

G

Getting Started with Arduino (O'Reilly), Hello Arduino
GIF image format, Share, Example 6-3: Mousing Around with Images
GIMP software, Example 6-3: Mousing Around with Images
global variables, Example 5-2: The setup() Function
gray values, Example 3-14: Paint with Grays
> (greater than) operator, Example 4-6: Use a for Loop
>= (greater than or equal to) operator, Example 4-6: Use a for Loop

H

# (hash mark) symbol, Image Export
HTML files in applet folder, Share

J

JAR file in applet folder, Share
JAVA2D renderer, 3D
JPEG image format, Example 6-3: Mousing Around with Images

L

< (less than) operator, Example 4-6: Use a for Loop
<= (less than or equal to) operator, Example 4-6: Use a for Loop
libraries, Processing, Robot 8: Arrays
lighting in 3D (example), Example 11-2: Lighting
lights() function, Example 11-3: The Processing Camera
lines, Example 3-3: Draw a Line, Example 3-10: Put It in Reverse, Robot 2: Variables, Example 5-6: Draw Continuously, Example 5-6: Draw Continuously, Example 5-9: Smooth Lines with Easing
and pins, creating, Robot 2: Variables
drawing, Example 3-3: Draw a Line
drawing continuous, Example 5-6: Draw Continuously
drawing smooth, Example 3-10: Put It in Reverse
setting thickness of, Example 5-6: Draw Continuously
smoothing with easing, Example 5-9: Smooth Lines with Easing
Linux, installing Processing on, Join In
loadFont() function, Example 6-6: Drawing with Fonts
loadImage() function, Images
local variables, One Step at a Time
&& (logical AND operator), Type
logical operators, Type, Example 5-20: Check for Specific Keys
AND (&&), Type
OR (||), Example 5-20: Check for Specific Keys
|| (logical OR operator), Example 5-20: Check for Specific Keys

M

Mac OS X, installing Processing on, Join In
map() function, Example 5-11: Map with the map() Function
media files, downloading, Robot 3: Response
message area, defined, Your First Program
methods (OOP), Robot 6: Functions
modulo (%) operator, Example 10-9: Track Mouse Movements
% (modulo operator), Example 10-9: Track Mouse Movements
mouse, Example 5-8: Easing Does It, Click, Example 5-14: Multiple Mouse Buttons, Example 6-2: Load More Images, Example 10-8: Filling an Array in a for Loop
buttons, tracking multiple, Example 5-14: Multiple Mouse Buttons
clicks of, Click
easing movements of, Example 5-8: Easing Does It
resizing images with movements of, Example 6-2: Load More Images
tracking movements with arrays, Example 10-8: Filling an Array in a for Loop
mouse speed, calculating with variables, Example 5-6: Draw Continuously
mouse tracking, Example 5-3: setup(), Meet draw()
mousePressed variable, Click

N

naming variables, Making Variables
new keyword, Example 9-1: Make an Object, Make an Array
nf() function, Example 10-11: Sequences of Images
non-Roman characters, Fonts
noSmooth() function, Example 3-10: Put It in Reverse
!= (not equal to) operator, Example 4-6: Use a for Loop

P

parameters, Example 8-6: Increasing the Surplus Population, Functions and Parameters
basics of, Example 8-6: Increasing the Surplus Population
coding tips, Functions and Parameters
PDE file in applet folder, Share
PDF Export library, Example 11-4: Saving Images
PDF files, drawing to, Example 11-5: Draw to a PDF
PEMDAS acronym, Repetition
PFont data type, Example 6-6: Drawing with Fonts
PImage data type, Images
pins and lines, creating, Robot 2: Variables
pixel basics, Examples and Reference
PNG image format, Example 6-3: Mousing Around with Images
point lights, Example 11-3: The Processing Camera
points, drawing, Example 3-1: Draw a Window
popMatrix()/pushMatrix() functions, Example 7-18: Isolating Transformations
PostScript, Family Tree
Present command, Save
println() function, Console
Processing, Acknowledgments, Flexibility, Giants, Join In, Join In, Join In, Join In, Your First Program, Examples and Reference, Processing Variables, Extend, Community
community for sharing programs, Community
defined, Acknowledgments
downloading/launching, Join In
examples and Reference, Examples and Reference
flexibility of, Flexibility
history of, Giants
libraries, Extend
Processing Development Environment (PDE), Your First Program
related languages and programming environments, Join In
special variables in, Processing Variables
versions of, installing, Join In
website for sharing/networking, Join In
properties, shape, Example 3-10: Put It in Reverse
pushMatrix()/popMatrix() functions, Example 7-18: Isolating Transformations

R

radians, Example 3-7: Draw Part of an Ellipse, Example 3-8: Draw with Degrees
defined, Example 3-7: Draw Part of an Ellipse
drawing with, Example 3-8: Draw with Degrees
random() function, Random, Robot 5: Motion, Example 8-2: Another Way to Roll
randomSeed() function, Timers
ranges, mapping values to, Map
raster images in JPEG/PNG/GIF formats, Example 6-3: Mousing Around with Images
reading sensors (Arduino), Example 11-6: Read a Sensor
rectangles, Example 3-5: Draw a Rectangle, Example 5-17: The Bounds of a Rectangle
cursor position relative to, Example 5-17: The Bounds of a Rectangle
drawing, Example 3-5: Draw a Rectangle
rectMode() function, Example 3-13: Set Stroke Attributes
Reference and examples (Processing), Examples and Reference
relational operators, Example 4-6: Use a for Loop
resizing images, Example 6-2: Load More Images
RGB color, Example 3-16: Draw with Color
robot programs (examples), Robot 1: Draw, Robot 2: Variables, Robot 3: Response, Robot 4: Media, Robot 5: Motion, Robot 6: Functions, Robot 7: Objects, Robot 8: Arrays
arrays of Robot objects, Robot 8: Arrays
drawing P5 robot, Robot 1: Draw
drawRobot() function, Robot 6: Functions
loading images from SVG/PNG files, Robot 4: Media
modifying code with variables, Robot 2: Variables
random and circular movements, Robot 5: Motion
Robot class and objects, Robot 7: Objects
shapes responding to mouse, Robot 3: Response
rotate() function, Example 7-19: Rotation
rotating coordinate system, Example 7-19: Rotation
rows and columns, creating with for loops, Example 4-11: Rows and Columns
Run button, Show

S

Safari Books Online, SafariĀ® Books Online
saving, Save, Image Export, Image Export
images, Image Export
Save command, Save
saveFrame() function, Image Export
scale() function, Example 7-21: Scaling
scaling shapes, Example 6-10: Scaling Shapes, Example 7-21: Scaling
scope, variable, One Step at a Time
sensors, reading (Arduino), Example 11-6: Read a Sensor
Serial Library (Processing), Hello Arduino, Example 11-7: Read Data from the Serial Port
setup() function, Example 5-2: The setup() Function
shapes, Example 3-1: Draw a Window, Shape Properties, Custom Shapes, Robot 3: Response, Example 6-9: Draw with Shapes, Example 6-9: Draw with Shapes, Example 6-10: Scaling Shapes, Speed and Direction, Random
custom, Custom Shapes
drawing basic, Example 3-1: Draw a Window
drawing randomly, Random
drawing with, Example 6-9: Draw with Shapes
moving, Speed and Direction
properties, Shape Properties
responding to mouse, Robot 3: Response
scaling, Example 6-10: Scaling Shapes
shape() function, Example 6-9: Draw with Shapes
shortcuts for calculations, Repetition
sin() and cos() functions, Circular
sine wave values/movement, Example 7-12: Sine Wave Values
size() function, Examples and Reference, Processing Variables
sketching, Sketching and Prototyping, Show, Save, Save, Share
creating/saving sketches, Save
exporting sketches, Share
overview, Sketching and Prototyping
Sketch menu, Show
sketchbook, defined, Save
smooth lines, drawing, Example 3-10: Put It in Reverse
smoothing lines with easing, Example 5-9: Smooth Lines with Easing
spirals, creating, Example 7-15: Spirals
spot lights, Example 11-3: The Processing Camera
strings, storing text in, Example 6-8: Store Text in a String
stroke weights, Example 3-12: Set Stroke Weight, Example 7-22: Keeping Strokes Consistent
consistency of, Example 7-22: Keeping Strokes Consistent
setting, Example 3-12: Set Stroke Weight
stroke() function, Color
strokeCap() function, Example 3-13: Set Stroke Attributes
strokeJoin() function, Example 3-13: Set Stroke Attributes
style tips for coding, Uppercase and Lowercase
SVG files, loading and drawing, Example 6-9: Draw with Shapes
SVG format, vector shapes in, Example 6-3: Mousing Around with Images
syntax, precise use of, Example 2-1: Draw an Ellipse

U

uppercase/lowercase letters in code, Uppercase and Lowercase

W

websites, for downloading, Media, Robot 8: Arrays
media files, Media
Processing libraries, Robot 8: Arrays
websites, for further information, Hello Arduino, Community
Arduino boards, Hello Arduino
resources for sharing programs, Community
width/height variables, Processing Variables
Windows (Microsoft), installing Processing on, Join In
wrapping shapes on screen, Example 7-4: Wrap Around
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.220.83