Importing a photo & drawing tool

Here is a photo from my camping trip to Joshua Tree National Park

Joshua Tree

 

http://www.openprocessing.org/sketch/113287

and here is a snapshot of my drawing tool

sketch

 

http://www.openprocessing.org/sketch/113287

I attempted to link an image from the web but when I switch to javascript the image doesn’t show…

PImage webImg;

void setup() {
size(850, 550);
String url = “http://www.tothetick.com/wp-content/uploads/2013/08/Obama4.jpg”;
webImg = loadImage(url, “jpg”);
}

void draw() {
background(0);
image(webImg, 0, 0);
}

I played a lot with my drawing tool, however here are a few adjustments I am still figuring out:

1) how to change background if key is pressed while mouse is not pressed.

2) how to make the shapes change color at a slower pace

<h/5>