/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://uclaspring12.sketchpad.cc/sp/pad/view/ro.odkwuPxdPqm/rev.14
*
* authors:
* Casey Reas
* Eric
*
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
/* @pjs preload="/static/uploaded_resources/p.4492/earth.png"; */
PImage earth;
void setup() {
size(600, 300);
earth = loadImage("/static/uploaded_resources/p.4492/earth.png");
frameRate(1);
imageMode(CENTER);
}
void draw() {
background(0);
float x = random(width);
float y = random(height);
float d = random(100, 300);
image(earth, x, y, d, d);
}