Prosty program rysowania JS

draw = function() {
    if (mouseIsPressed) {
    ellipse(mouseX, mouseY, 20, 20);
    }
};
Sleepy Skipper