Note that this week, the P5 Editor had hosting problems and didn’t run for a very simple sketch. I ended up running my code inside the Microsoft Visual Studio Code Editor which happened to have a Plugin for P5 and a local server. (Editing P5 in Visual Studio Code is an advanced topic that we usually do not cover in the Code! Class). When the review session was over, the P5 Editor started working and I uploaded all of my code into the Editor which has links in the review below.
https://docs.google.com/document/d/1OTHaG50mQ-Ff4jOpxjFX1x2eVVUMydZoX3TBjkO0xkk/edit#heading=h.gjdgxs
In this review we will cover the following:
Working With Text
Data Types
Arrays and Arrays of Objects:
Introduction to Arrays Reviewing Objects and Classes Creating a huge number of Objects and placing them in an Array
The following are a bunch of functions you can use to stylize text on your canvas:
fill(200,0,0);
textFont('Courier');
//textFont('Georgia');
//textFont('Helvetica');
//textFont('Verdana');
//textFont('Arial');
//textFont('Times');
//textFont('Comic Sans MS');
textStyle(NORMAL);
//textStyle(ITALIC);
//textStyle(BOLD);
//**textStyle(BOLDITALIC);**
textSize(50);
text("Dave Was Here",100,40);
From Class,
We covered numbers and Booleans in past classes.