Skip to content

Week 2 code examples

Compare
Choose a tag to compare
@samsheffield samsheffield released this 30 Jan 13:10
· 1 commit to master since this release

Examples used in class today:

What are variables?
Basic types of data (int, float, boolean).
Putting background() in setup() vs. draw()
Manipulating variables.
Linear movement.
Rotational movement.
Looping and bouncing movement.
Random movement.
Conditional if/else statements.
Basic mouse input.
Creating frame-based timers.