Introduction to Programming

using the Processing language

Lecturer: Mark Huiskes of the Media Technology MSc program at Leiden University
Teaching assistants: Amalia Kallergi, Hanna Schraffenberger
Course developed by Bas Haring (2004)
Alterations by Maarten Lamers (2005, 2006, 2007)
Alterations by Mark Huiskes (2008, 2009)

Introduction    Lecture I    Lecture II    Lecture III    Lecture IV    Lecture V    Lecture VI    Lecture VII    Handouts



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 keep "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 13th.