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
Everything you “draw” will be drawn on this canvas,
pixels on a screen.
Here’s one for you to play with:
- What happens if you change the numbers on line 6:
- How could you draw a square?
- How do you write a comment in p5?