clarify instructions in examples

This commit is contained in:
benfry
2011-04-17 16:55:37 +00:00
parent 38fae0d442
commit b507fd2bf2
2 changed files with 14 additions and 17 deletions

View File

@@ -1,16 +1,16 @@
/**
* Loading Images.
*
* Loading a recent image from the US National Weather Service.
* Notice the date in the upper left corner of the image.
* Processing applications can only load images from the network
* while running in the Processing environment. This example will
* not run in a web broswer and will only work when the computer
* is connected to the Internet.
* while running in the Processing environment.
*
* This example will not run in a web broswer and will only work when
* the computer is connected to the Internet.
*/
size(200, 200);
PImage img1;
img1 = loadImage("http://www.processing.org/img/processing_beta_cover.gif");
image(img1, 0, 45);
img1 = loadImage("http://processing.org/img/processing_cover.gif");
if (img != null) {
image(img1, 0, 0);
}