"Over the next few
weeks months I will be teaching a small introduction to programming course at Viget Labs. I'll be using Processing as a means to explore some basic programming concepts and I'll be following the excellent book Learning Processing: A Beginner's Guide to Programming Images, Animation, and Interaction by Daniel Shiffman. Each lesson will have an accompanying blog post that outlines the topics we'll try to cover and links to any resources we may need. Here are some notes on Lesson 1."
- Explained the difference between the Cartesian coordinate system and the Processing coordinate system.
- Covered grayscale, RGB, HSB and alpha colors in Processing.
- Walked through some examples in order to explain how color funcations apply to shapes.
The Processing Application
- Serves as the Processing IDE, Integrated Development Envronment.
- IDE is a fancy acronym that refers to the app you write code with.
- Talked about the idea of "sketches" & the sketchbook.
- Reviewed the three general statement types of function calls, assignments, and control structures.
- Explained that in the beginning, almost every line will be a function call.
- Dissected a function call into its constituent parts of name & arguments.
- Covered the
- Showed that
draw() redraws on each frame by placing
- Defined some
mouseClicked() event handlers.