Heavily influenced by the expression doc, found at the bottom of the PB editor (and in github)
This is a first pass at a tutorial lesson plan, very subject to change… it’ll start with the most basics, and then flesh out those, assuming you know zero to start with. Feedback will always be welcomed. Ideally, this will eventually become a book of sorts, so letting me know what is clear or what isn’t, is helpful to everyone. More advanced topics will come after the below, but you have to walk before you can run.
How the PB engine works - the 2 stroke engine
Essential concepts
PB Language - How PB is and also isn’t JS
-
16.16 math
-
Operators
-
Logic
-
if/else
-
while/for/break/continue
-
how and why to make a function of your own
The Editor - live editing can be your friend
Variables
Functions
-
Pixel / Color Functions
-
Math Functions
-
Waveform Functions
-
Array Functions
-
UI functions
-
Coordinate Transformation Functions
-
Pixel mapping 2D and 3D
-
Input / Output Functions
-
Clock / Time Functions