Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

simple js drawing program

draw = function() {
    if (mouseIsPressed) {
    ellipse(mouseX, mouseY, 20, 20);
    }
};
Source by www.khanacademy.org #
 
PREVIOUS NEXT
Tagged: #simple #js #drawing #program
ADD COMMENT
Topic
Name
3+6 =