Joel Gethin Lewis
Lecture 3
Thanks again to Rune Madsen for putting his course online:
http://printingcode.runemadsen.com/lecture-color/.
http://printingcode.runemadsen.com/lecture-typography/.
Don't forget to click to the slides and press 's' Joel!
Thanks again to Ali Almossawi for writing his book.
Read the Popping to the shops and Finding your way home chapters of "Bad Choices" Joel!
The following content is all from the JavaScript Basics section of the p5.js wiki.
The following content is all from the JavaScript Basics section of the p5.js wiki.
We've encountered a function before - console.log() - to output things to the JavaScript console..
Two of the most useful functions in p5.js are setup() and draw() - setup() runs once and draw() runs every frame.
https://p5js.org/reference/#/p5/draw. Don't forget you can edit any of the code!
The following content is all from the Learning section of the p5.js website.
One thing to realise is that positions on computers go from the top down and from left to right - you measure vertically from the top of the screen rather than from the bottom.
A bit different from drawing graphs in school - so (3,5) means go three left and 5 down, rather than three left and 5 up