re: A Paint App In 25 Written Js Lines VIEW POST

VIEW FULL DISCUSSION
 

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)

 
code of conduct - report abuse