p5: interaction, mouse input

line example

mouse press with if statement example + mouse events, advance the tutorial to see it


Reproduce the sketches in this video.
They don’t have to be exact replicas, try to approximate their general behavior.
Post them to the discord at the beginning of the next class, remember to save them!
Remember to save your sketches with non-random names and to create a new sketch for each image.
If you modify the same sketch over and over I won’t be able to see all the assignments!