// CASE 0: no node specified
// Canvas is auto-generated and appended to body.

var sketch = function(p) {
  var gray = 0;

  p.draw = function() {
    p.background(gray);
    p.rect(p.width / 2, p.height / 2, 50, 50);
  };

  p.mousePressed = function() {
    gray += 10;
  };
};

var myp5 = new p5(sketch);
