Programa de desenho JS simples

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