SzabiSch / bootcamp-schedule

0 stars 0 forks source link

Intro to Programming with P5: A Wild Paint Appears #58

Closed codingbootcampseu closed 3 years ago

codingbootcampseu commented 3 years ago

Use the sketch from the previous task.

You still only draw when the mouse is pressed 💡

Hints

The switch between the different brushes can be done with a if-else statement or with a switch-case statement.

Bonus

Create an eraser brush as well. Any other key pressed than i or f will switch to the erase brush.

Example Solution

SzabiSch commented 3 years ago

Bei mir wollte nur zeichnen wenn "I" oder "F" gedrückt gehalten haben, Fehlersuche war nicht so einfach, aber lösung gefunden und gespeichert :O Puta mierda