This course is a trimmed version of the online short course I teach at Central Saint Martins, exclusively tailored to children.
It introduces P5.js, a Javascript library aimed at creative visual expression through code. While learning the programming language, children will apply coding principles in a fun and engaging way. Skills learned on the course can be applied to further learning of programming in any area such as game development, data visualisation etc..
Over the last few weeks I have been teaching it to my son and his friends online, and it seems to work well, keeping them engaged and motivated to learn more.
Here is a breakdown of the sessions:
Session 1
What is creative coding
Programming language and syntax
Introduction of P5js.org and P5js web editor
My first line of code
Session 2
Coordinate system
Drawing simple shapes
Introduction to system variables
Session 3
Colours
Transparency
Fill and Contour (Stroke)
Session 4
Translate
Rotate
Scale
Session 5
Using text
Using images
Session 6
Introduction to functions
Custom variables
Session 7
Conditional functions
Introduction to interaction
Session 8
Repetition functions
Local and global variables
Session 9
Introduction to arrays
Data manipulation
Session 10
Custom functions
Introduction to Object Oriented Programming