Index
Symbols
- != (not equal to) operator, Example 4-6: Use a for Loop
- # (hashmark) symbol, Image and PDF Export
- % (modulo) operator, Example 11-9: Track Mouse Movements
- && (logical AND) operator, Example 5-18: Check for Specific Keys
- // (double slashes) for code comments, Comments-Draw
- < (less than or equal to) operator, Example 4-6: Use a for Loop
- < (less than) operator, Example 4-6: Use a for Loop
- = (equal to) operator, Example 4-6: Use a for Loop
- == (equal to) operator, Example 5-10: Click the Mouse, Example 5-18: Check for Specific Keys
- > (greater than) operator, Example 4-6: Use a for Loop
- >= (greater than or equal to) operator, Example 4-6: Use a for Loop
- || (logical OR) operator, Example 5-18: Check for Specific Keys
A
- alpha values, Example 3-18: Set Transparency
- analyze ( ) method, Example 13-2: Listen to a Microphone
- animation, Motion-Robot 6: Motion
- bouncing shapes off wall, Example 8-5: Bounce Off the Wall-Example 8-5: Bounce Off the Wall
- circular motion, Circular-Example 8-15: Spirals
- drawing/moving shapes randomly, Random-Example 8-9: Move Shapes Randomly
- frame rates, Frames-Example 8-2: Set the Frame Rate
- image/PDF export, Image and PDF Export-Example 13-5: Draw to a PDF
- moving shapes, Example 8-3: Move a Shape-Example 8-3: Move a Shape
- sine wave values/movement, Example 8-12: Sine Wave Values-Example 8-15: Spirals
- speed and direction, Speed and Direction-Example 8-5: Bounce Off the Wall
- spirals, Example 8-15: Spirals
- timers, Timers-Circular
- tween positions, Tweening-Random
- wrapping shapes around screen, Example 8-4: Wrap Around-Example 8-5: Bounce Off the Wall
- APIs (application programming interfaces), Network Data and APIs-Example 12-7: Chaining Methods
- arc ( ) function, Example 3-7: Draw Part of an Ellipse
- Arduino, Hello, Arduino-Example 13-9: Another Way to Look at the Data
- arithmetic operations, A Little Math-Example 4-4: Basic Arithmetic
- arrays, Arrays-Robot 9: Arrays
- arrow keys, detecting, Example 5-19: Move with Arrow Keys
- arrows, drawing, Example 3-19: Draw an Arrow
- assignment operator, Example 4-4: Basic Arithmetic
B
- background ( ) function, Color, Example 5-5: The Dot Follows You-Example 5-5: The Dot Follows You, Functions and Parameters
- beginShape ( ) function, Example 3-19: Draw an Arrow
- blocks, for loop, Example 4-6: Use a for Loop
- boolean data, Click, Objects, Data Types
- bugs, detecting and fixing, Coding Tips-One Step at a Time
C
- chaining methods, Example 12-7: Chaining Methods-Example 12-7: Chaining Methods
- char data, Data Types
- char variables, Example 5-16: Tap a Key
- circles
- circular motion, Circular-Example 8-15: Spirals
- classes
- clicks, mouse, Click-Location
- close parameter, Example 3-20: Close the Gap
- code
- color
- columns and rows, creating with for loops, Example 4-11: Rows and Columns
- comments
- Console, Your First Program
- constrain ( ) function, Example 8-9: Move Shapes Randomly
- constructors, Define a Class-Define a Class
- contributed libraries, Extend
- core libraries, Extend
- cos ( ) and sin ( ) functions, Circular-Example 8-15: Spirals
- createShape ( ) function, Example 7-11: Creating a New Shape
- createWriter ( ) function, Robot 10: Data
- CSV files, Tables, JSON
- cursors, finding location of, Location-Type
D
- data, Data-Robot 10: Data
- and APIs, Network Data and APIs-Example 12-7: Chaining Methods
- boolean, Click, Objects, Data Types
- chaining methods, Example 12-7: Chaining Methods-Example 12-7: Chaining Methods
- char, Data Types
- classes of, Data Summary
- data visualization, Data
- float, Speed and Direction, Example 9-8: Return a Value, Objects, Data Types
- int, Making Variables, Objects, Data Types
- JSON, JSON-Example 12-5: Visualize Data from a JSON File
- JSONArray, Data Summary
- JSONObject, Data Summary, Example 12-4: Read a JSON File
- network (see see APIs (application programming interfaces))
- overview, Data Summary-Data Summary
- PFont, Objects, Data Summary, Data Types
- PImage, Objects, Data Summary, Data Types
- PShape, Objects, Data Summary, Data Types
- reading from serial port, Example 13-7: Read Data from the Serial Port-Example 13-7: Read Data from the Serial Port
- String, Objects, Data Summary, Data Types
- Table, Data Summary-Example 12-3: 29,740 Cities
- visualizing, Example 13-8: Visualizing the Data Stream-Example 13-9: Another Way to Look at the Data
- data types, Making Variables-Making Variables, Example 10-1: Make an Object, Data Summary, Data Types-Data Types
- degree measurements, Example 3-8: Draw with Degrees
- Display Window, The Display Window
- dist ( ) function, Example 5-7: Set Line Thickness
- downloading Processing, Starting to Code-Your First Program
- draw ( ) function, Response, Example 5-3: Global Variable, Frames
- drawing, Draw-Robot 1: Draw
- avoiding arrays with, Example 11-6: Assigning to an Array in One Go
- basic shapes, Basic Shapes-Example 3-8: Draw with Degrees
- circles, Example 2-2: Make Circles
- with color, Color-Custom Shapes
- complex shapes, Example 3-21: Create Some Creatures-Comments
- continuous lines, Example 5-6: Draw Continuously
- custom shapes, Custom Shapes-Comments
- drawing modes, Drawing Modes
- ellipses, Example 2-1: Draw an Ellipse, Example 3-6: Draw an Ellipse-Example 3-8: Draw with Degrees, Drawing Modes
- with fonts, Example 7-6: Drawing with Fonts-Example 7-8: Store Text in a String
- lines, Basic Shapes-Example 3-4: Draw Basic Shapes
- order of, Drawing Order-Example 3-10: Put It in Reverse
- points, Example 3-2: Draw a Point
- rectangles, Example 3-5: Draw a Rectangle, Drawing Modes
- saving to PDF, Example 13-5: Draw to a PDF-Example 13-5: Draw to a PDF
- shape properties, Shape Properties-Example 3-13: Set Stroke Joins
- with shapes, Example 7-9: Draw with Shapes
- shapes, randomly, Example 8-8: Draw Randomly
- windows, Example 3-1: Draw a Window
E
- easing, Example 5-8: Easing Does It-Click
- elements, in arrays, Make an Array
- ellipseMode ( ) function, Drawing Modes
- ellipses, drawing, Example 2-1: Draw an Ellipse, Example 3-6: Draw an Ellipse-Example 3-8: Draw with Degrees
- else blocks, Example 5-11: Detect When Not Clicked-Example 5-12: Multiple Mouse Buttons
- embedded for loops, Example 4-10: Embed One for Loop in Another
- endshape ( ) function, Example 3-19: Draw an Arrow
- Examples and Reference, Examples and Reference-Examples and Reference
- exporting sketches, Share
- expressions, Example 4-4: Basic Arithmetic
F
- fields, Fields and Methods, Define a Class
- fill ( ) function, Color, Example 3-16: Control Fill and Stroke
- float data, Speed and Direction, Example 9-8: Return a Value, Objects, Data Types
- float variable, Making Variables
- fonts, Fonts-Example 7-8: Store Text in a String
- for loops, Repetition-Example 4-11: Rows and Columns
- frame rates, Once and Forever, Frames-Example 8-2: Set the Frame Rate
- frames, Frames
- functions, Functions-Robot 7: Functions
M
- Mac OS X installation, Starting to Code
- map ( ) function, Map-Example 5-21: Map with the map() Function, Example 13-7: Read Data from the Serial Port
- math (see arithmetic operations)
- media, Media-Robot 5: Media
- Message Area, Your First Program
- methods, Fields and Methods, Define a Class
- methods, chaining, Example 12-7: Chaining Methods-Example 12-7: Chaining Methods
- microphones, Example 13-2: Listen to a Microphone
- modularity, Functions
- motion (see animation)
- mouse
- mouse tracking, Follow-Example 5-4: Track the Mouse
- mousepressed variable, Click-Example 5-10: Click the Mouse
- mouseX/mouseY variables, Example 5-20: Map Values to a Range, Example 7-3: Mousing Around with Images, Example 13-3: Create a Sine Wave
- move ( ) method, Example 10-2: Make Multiple Objects
P
- parameters, The Display Window, Functions and Parameters
- PDFs (see images)
- PEMDAS acronym, Example 4-4: Basic Arithmetic
- persistence of vision, Motion
- PFont data, Objects, Data Summary, Data Types
- PImage data, Objects, Data Summary, Data Types
- pins and lines, creating, Example 4-11: Rows and Columns
- pixels, Draw
- PNG image format, Example 7-3: Mousing Around with Images-Example 7-5: Transparency with a PNG
- point ( ) function, Example 3-2: Draw a Point
- popMatrix ( ) function, Push and Pop
- primitives, Data Summary
- println ( ) function, Example 5-1: The draw() Function
- PrintWriter class, Robot 10: Data
- Processing
- data folder, Media-Media
- downloading/launching, Starting to Code-Your First Program
- evolution of, Preface-Preface
- Examples and Reference, Examples and Reference-Examples and Reference
- flexibility of, Flexibility
- history of, Giants
- libraries, Extend-Example 13-4: Saving Images
- related languages and program development, Family Tree-Join In
- special variables in, Processing Variables
- tabs feature, Tabs
- website for sharing/networking, Join In
- Processing Development Environment (PDE), Your First Program
- PShape data, Objects, Data Summary, Data Types
- pushMatrix ( ) function, Push and Pop
R
- radians, Example 3-7: Draw Part of an Ellipse-Drawing Order
- random ( ) function, Random-Example 8-9: Move Shapes Randomly
- random movements, Random-Example 8-9: Move Shapes Randomly
- rectangles
- rectMode ( ) function, Drawing Modes
- Reference and Examples, Examples and Reference-Examples and Reference
- relational expression, Example 4-6: Use a for Loop-Example 4-6: Use a for Loop
- relational operators, Example 4-6: Use a for Loop
- RGB color, Example 3-17: Draw with Color
- robot programs (examples)
- arrays of objects, Robot 9: Arrays-Robot 9: Arrays
- drawing P5 robot, Robot 1: Draw-Robot 1: Draw
- drawRobot function, Robot 7: Functions-Robot 7: Functions
- generating and reading data files, Robot 10: Data-Robot 10: Data
- loading images from SVG/PNG files, Robot 5: Media-Robot 5: Media
- modifying code with variables, Robot 2: Variables-Robot 2: Variables
- mouse-responding shapes, Robot 3: Response-Robot 3: Response
- objects, Robot 8: Objects-Robot 8: Objects
- random and circular movements, Robot 6: Motion-Robot 6: Motion
- translate, rotate, and scale in, Robot 4: Translate, Rotate, Scale-Robot 4: Translate, Rotate, Scale
- rotate ( ) function, Rotate
- rotating coordinate system, Rotate-Example 6-7: An Articulating Arm
- rows and columns, creating with for loops, Example 4-11: Rows and Columns
- rule of variable scope, Variable Scope
S
- Save command, Save and New
- saveFrame ( ) function, Image and PDF Export
- scale ( ) function, Scale
- scaling shapes, Scale-Example 6-9: Keeping Strokes Consistent
- scope, variable, Variable Scope
- sensors, reading, Example 13-6: Read a Sensor-Example 13-6: Read a Sensor
- Serial Library, Hello, Arduino
- setup ( ) function, Example 5-2: The setup() Function-Follow
- shape ( ) function, Example 7-9: Draw with Shapes
- shapeMode ( ) function, Example 7-10: Scaling Shapes
- shapes, Shapes-Example 7-11: Creating a New Shape
- sin ( ) and cos ( ) functions, Circular-Example 8-15: Spirals
- sine wave values/movement, Example 8-12: Sine Wave Values-Example 8-15: Spirals
- size ( ) function, Example 3-1: Draw a Window, Example 4-3: Adjust the Size, See What Follows
- sketching, Hello-Sketching and Prototyping
- smoothing lines with easing, Example 5-9: Smooth Lines with Easing
- sound, Sound-Example 13-3: Create a Sine Wave
- SoundFile class methods, Example 13-1: Play a Sample
- spirals, creating, Example 8-15: Spirals
- String data, Objects, Data Summary, Data Types
- string values, Example 5-16: Tap a Key
- strings, storing text in, Example 7-8: Store Text in a String
- stroke ( ) function, Color, Example 3-16: Control Fill and Stroke
- stroke weight consistency, Example 6-9: Keeping Strokes Consistent
- strokeCap ( ) function, Example 3-12: Set Stroke Caps
- strokeJoin ( ) function, Example 3-13: Set Stroke Joins
- strokeWeight ( ) function, Example 3-11: Set Stroke Weight
- SVG format, vector shapes in, Example 7-3: Mousing Around with Images
T
- Table data, Data Summary-Example 12-3: 29,740 Cities
- tabs, Tabs
- test statement, Example 4-6: Use a for Loop-Example 4-6: Use a for Loop
- text
- text ( ) function, Example 5-17: Draw Some Letters, Example 7-6: Drawing with Fonts
- Text Editor, Your First Program
- textSize ( ) function, Example 5-17: Draw Some Letters, Example 7-6: Drawing with Fonts
- timed events, triggering, Example 8-11: Triggering Timed Events-Circular
- tracking, mouse, Follow-Example 5-4: Track the Mouse
- transformation effects, isolating, Push and Pop
- translate ( ) function, Translate-Example 6-2: Multiple Translations, Example 9-4: Two’s Company
- translating locations, Translate, Rotate, Scale-Example 6-7: An Articulating Arm
- transparency control, Example 3-18: Set Transparency
- troublshooting (see bugs, detecting and fixing)
- TSV files, Tables
- tweening, in animation, Tweening-Random
V
- values
- variable scope rule, Variable Scope
- variables, First Variables-Robot 2: Variables, Example 10-1: Make an Object
- arrays versus, From Variables to Arrays-Example 11-3: Arrays, Not Variables
- changing, Example 4-2: Change Values
- creating, Making Variables-Making Variables
- data types, Making Variables
- declaring, Making Variables
- defined, Variables
- float variable, Making Variables
- local, Variable Scope
- and repetition, Repetition-Example 4-11: Rows and Columns
- reusing identical values, Example 4-1: Reuse the Same Values
- rule of variable scope, Variable Scope
- vector shapes, Example 7-3: Mousing Around with Images, Shapes
- vertex ( ) function, Example 3-19: Draw an Arrow, Example 3-21: Create Some Creatures
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.