The Travelling Code Camp is a 6 day programming course for complete beginners.
Using Processing.js the participants will learn key concepts of programming by creating their own game. The course teachings are designed
to focus on being able to program rather than learning the Processing.js language. At the end of this course, you should be able to try
your hand at any programming language and successfully code whatever you like.
The following table gives an overview of the course content.
Concept | What you will learn | Processing syntax |
---|
Basic Syntax | What does code really look like? Statements Comments functions |
// ; () {} |
Variables and Data | Variables and variable types Setting and using variables Primitive data types |
boolean byte char color double float int long |
Text and Strings | Manipulating and displaying text in Processing Strings and how to use them |
String (data type) text() |
Maths and Logic | Mathematical operations in programming Relational operators Boolean logic |
+ - * / == > >= != < <= && ! || |
Conditional Statements | Understanding conditional statements and using them Switch case statements |
Break Case Continue; Default Else() If() Switch() |
Data Input | Data capture using keyboard Responding to key presses Mouse-based interaction |
Key keycode keyPressed() mouseClicked() |
Loops | Understanding and using 'while' loops Understanding and using 'for' loops |
for() while() |
Functions | Understanding what a function returns Passing data between functions Creating and using functions Useful functions to know |
random() |
Arrays | Understanding arrays and using them | Datatype[] var = new datatype[x]; |
Objects | Creating an object and using its properties Learning and using classes to hold objects |