Introduction to Programmingusing the Processing languageLecturer: Maarten Lamers of the Media Technology MSc program at Leiden University Teaching assistant: Joris Slob Course developed by Bas Haring (2004) Alterations by Maarten Lamers (2005, 2006, 2007) Introduction Lecture I Lecture II Lecture III Lecture IV Lecture V Lecture VI Lecture VII Fun |
|
Programming concepts |
Conditions Booleans For loops & nested loops While loops |
Reserved words |
if() == <= ! else != >= for() < && while() > || |
Homework Assignment 1 |
Make a program with one "graphical element" (circle, square, squiggle, or whatever) that behaves autonomously (by itself). It might respond to the mouse pointer, but if the mouse doesn't move or click, it should stay "behaving" somehow. Be creative in what your object's behaviour is, and try to use the Processing knowledge that you have learned so far. You can do this assignment in teams of two students if you wish; not three, however. Have your assignment validated in person by the lab assistant on Tuesday October 9th. |