www.ebook777.com
Make_Getting_Started_with_Processing_Second_Edition
Make_Getting_Started_with_Processing_Second_Edition
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
drawing, 9<br />
circular motion, 113-116<br />
classes<br />
of data, 166<br />
of objects, 137-142, 166<br />
clicks, mouse, 56-61<br />
close parameter, 28<br />
code<br />
coding tips, 201-205<br />
color coding, 203<br />
comments, 203<br />
functions and parameters,<br />
202-203<br />
modifying with variables, 47<br />
order of operations, 209<br />
repeating with for loops, 40-45<br />
style, 204<br />
color<br />
color coding, 203<br />
drawing with, 23-28<br />
RGB, 26<br />
columns and rows, creating with for<br />
loops, 45<br />
comments<br />
adding to code with //, 30-31<br />
tips for writing, 203<br />
Console, 8<br />
constrain ( ) function, 111<br />
constructors, 138-139<br />
contributed libraries, 184<br />
core libraries, 184<br />
cos ( ) and sin ( ) functions, 113-116<br />
createShape ( ) function, 99<br />
createWriter ( ) function, 180<br />
CSV files, 167, 173<br />
cursors, finding location of, 61-66<br />
D<br />
data, 165-182<br />
and APIs, 176-180<br />
boolean, 56, 135, 207<br />
chaining methods, 179-180<br />
char, 207<br />
classes of, 166<br />
data visualization, 165<br />
float, 104, 131, 135, 207<br />
int, 36, 135, 207<br />
JSON, 172-176<br />
JSONArray, 166<br />
JSONObject, 166, 174<br />
network (see see APIs (application<br />
programming interfaces))<br />
overview, 165-166<br />
PFont, 135, 166, 207<br />
PImage, 135, 166, 207<br />
PShape, 135, 166, 207<br />
reading from serial port,<br />
195-196<br />
String, 135, 166, 207<br />
Table, 166-172<br />
visualizing, 196-199<br />
data types, 36-38, 143, 165,<br />
207-208<br />
degree measurements, 19<br />
Display Window, 13<br />
dist ( ) function, 53<br />
downloading Processing, 7-8<br />
draw ( ) function, 49, 51, 103<br />
drawing, 13-33<br />
avoiding arrays with, 154<br />
basic shapes, 14-19<br />
circles, 9<br />
with color, 23-28<br />
complex shapes, 29-30<br />
continuous lines, 53<br />
custom shapes, 28-30<br />
drawing modes, 22<br />
ellipses, 9, 17-19, 22<br />
with fonts, 95-97<br />
lines, 14-16<br />
order of, 20-21<br />
points, 14<br />
rectangles, 16, 22<br />
saving to PDF, 191-192<br />
shape properties, 21-22<br />
with shapes, 98<br />
shapes, randomly, 109<br />
windows, 14<br />
E<br />
easing, 54-56<br />
214 Index<br />
<strong>www</strong>.<strong>ebook777.com</strong>