Introduction to Programming

using the Processing language

Lecturer: 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

Variables
Data types & casting
Assignments
Operators
Comments


Processing details

Graphical output
Text output
GUI & workflow
Drawing simple figures


Reserved words

int		setup()		noStroke()
float		draw()		line()
width		size()		ellipseMode()
height		background()	ellipse()
		framerate()

sin()		cos()		println()
HALF_PI		PI		TWO_PI
+		+=		=
-		-=		++
/		/=		--
*		*=