Great program in such a small amount of code! What would be nicer is to have less lag when drawing stuff! Maybe make it so that there is a line connecting the dots so if you draw really fast it still looks okay.
you can do it with line(prevMouseX, prevMouseY, mouseX, mouseY)
Yeah, that'd make it work much nicer! 😉
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.