291
edits
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
== '''Bubble Sort Code''' == | == '''Bubble Sort Code''' == | ||
< | <source lang ="java">PImage img; | ||
void setup() { | void setup() { | ||
size(400, 500); | size(400, 500); | ||
img = loadImage("http://c2.staticflickr.com/2/1618/24388577776_d20f68c13e_n.jpg"); | |||
img.resize(width, height); | img.resize(width, height); | ||
} | } | ||
Line 72: | Line 72: | ||
image(img, 0, 0); | image(img, 0, 0); | ||
} | } | ||
edits