Files
sunny9898/task8/_ref/noc-examples-processing-master/chp04_systems/CircleVsBlob/CircleVsBlob.pde
louiscklaw 5637fbf94f update,
2025-02-01 02:07:58 +08:00

25 lines
339 B
Plaintext

// The Nature of Code
// Daniel Shiffman
// http://natureofcode.com
void setup() {
size(200,200);
PImage img = loadImage("texture.png");
background(0);
image(img,0,0,width,height);
save("blob.tif");
background(0);
fill(255);
noStroke();
ellipse(100,100,width,height);
save("circle.tif");
}
void draw() {
}