Notes for CMPT 166 Fall 2016¶
The following are the notes for CMPT 166 Fall 2016. They are undergoing revisions and so may change during the semester.
The course marking scheme, assignments, quizzes, due dates, etc. are on Canvas.
Lectures¶
Note the exact content and ordering of some of the lectures might change somewhat during the semester.
Week 1
- Lecture 1: Introduction to Programming with Processing
- Lecture 2: Our First Program
Week 2
- Lecture 3: Coordinates and Modes; Exploring Shapes;
- Lecture 4: RGB Color; The Map Function
- Lecture 5:
Lecture quiz 1
Week 3
- Lecture 6: Using Images in Processing; Modifying Images with tint and filter, Files, Folders, and Path Names, Fonts
- Lecture 7: Basic Numeric Literals and Variables
- Lecture 8:
Lecture Quiz 2
Week 4
- Lecture 9: Making Things Move
- Lecture 10: Detecting the Edges of the Screen
- Lecture 11:
Lecture Quiz 3
Week 5
- Lecture 12: Logical Expressions
- Lecture 13: Floats and Ints
- Lecture 14:
Lecture Quiz 4
(errors fixed)
Week 6
- Monday is Thanksgiving: no lectures or labs (SFU is closed)
- Lecture 15: The Keyboard, the Mouse, and Gravity
- Lecture 16: Strings
Week 7
- Lecture 17: Sprites
- Lecture 18: Functions
- Lecture 19:
Lecture Quiz 5
Week 8
- Lecture 20: Midterm review
- Midterm
- Lecture 21: Hit Detection and Functions; Special Effect: Dragging and Dropping
Week 9
- Lecture 22: Translating and Rotating
- Lecture 23: Translating and Rotating
- Lecture 24: More Complex Sprites, A Spinning Box
Week 10
- Lecture 25: A Bouncing Ball Sprite, Constructors
- Lecture 26: Using ArrayLists
- Lecture 27: Remembrance Day (SFU closed; no labs or lectures)
Week 11
- Lecture 28: While Loops, Particle Systems
- Lecture 29: More Complex Animations with State Variables
- Lecture 30:
Lecture Quiz 3
; One-shot programming problems
Week 12
- Lecture 31: Designing a Game, Random Numbers
- Lecture 32: Turtle Graphics
- Lecture 33: L-Systems
Week 13
Week 14
- Lecture 37: extra review session for final exam