Loading an Image

I am confused as to why this won't show an image. map.png is in the folder of the project

void setup()
{
  size(400,400);
  USA = loadImage("map.png");
}

void Draw()
{
  background(0);
  image(USA,400,400);
}

PImage USA;

Answers

Sign In or Register to comment.