Day 1
Try dragging the Aim.
This is p5. It allows you to create interactive “sketches” using HTML/CSS and JS, which you already know.
p5 works on a canvas
.
Everything you “draw” will be drawn on this canvas, pixels
on a screen.
Here’s one for you to play with:
Exit Slip!
- What happens if you change the numbers on line 6:
rect(50,50,80,50);
? - How could you draw a square?
- How do you write a comment in p5?