xxxxxxxxxx
/*@pjs preload="test2.png";*/
PImage img;
size(400, 400);
background(177, 234, 229);
img = loadImage("test2.png");
stroke(255); //太いライン
strokeWeight(50);
line(0, 400, 400, 0);
line(0, 0, 400, 400);
stroke(255, 200, 210); //細いライン
strokeWeight(3);
line(200, 0, 200, 400);
line(0, 200, 400, 200);
stroke(128, 128, 128); //灰色の細いライン
strokeWeight(3);
line(100, 0, 100, 400);
line(0, 300, 400, 300);
tint(0, 50, 185, 80); //画像の色
image(img, -100, -100);
image(img, -200, -200);
image(img, -300,-300);
image(img, 0, 0);
image(img, 100, 100);
image(img, 200, 200);
image(img, 300,300);