|
6.914
Programming with Processing: Java-Based Art
TR 7pm-9pm, 4-265
Course instructor: Mish Madsen
Faculty sponsors:
Prof. Robert Berwick,
Prof. Daniel Jackson
Send comments/questions to instructor or staff.
Homework assignments will be posted by 10:30pm after each class. They will be due (by email to mish@mit.edu) by 3pm the day of the next class. You must turn in all the homework assignments to pass the class.
| 0 |
What is Processing? Why learn it?
Setting window size
adding comments
setting background color
drawing points and lines
stroke, strokeWeight
rectangles, ellipses, triangles
fill, noFill, noStroke
custom shapes, part I
custom shapes, part II
alpha values (opacity)
data types
animation, frameRate
if (conditional) statements
|
example 0.0
example 0.1
example 0.2
example 0.3
example 0.4
example 0.5
example 0.6
example 0.7
example 0.8
example 0.9
example 0.10
example 0.11
example 0.12
|
HW0: problems solutions
|
| 1 |
smooth, width/height, noLoop, random
else, print/println, int casting
for loops
while loops, delay
boolean logic
quads, curves, beziers
mouseX, mouseY
mousePressed
char, key, keyPressed
|
example 1.0
example 1.1
example 1.2
example 1.3
example 1.4
example 1.5
example 1.6
example 1.7
example 1.8
|
HW1: problems solutions
|
| 2 |
mathematical operators
arrays
hue, saturation, brightness
switch/case
printing text to screen
|
example 2.0
example 2.1
example 2.2
example 2.3
example 2.4
|
HW2:
problems
solutions
|
| 3 |
coordinate transformations
loading/displaying images
|
example 3.0
example 3.1
|
HW3:
problems
solutions
|
4 |
saving images
working with strings
methods
classes
switch/case II
miscellaneous
|
example 4.0
example 4.1
example 4.2
example 4.3
example 4.A
example 4.B
|
HW4:
problems
solutions
|
For more information about Processing, visit Processing's homepage or wikipedia page.
Last updated 1/24/08.
|
|