xxxxxxxxxx
/*@pjs preload="ma-ku.png";*/
PImage img; //画像を格納するための変数(PImage型)
size(400, 400);
background(0); //背景色
img = loadImage("ma-ku.png");
stroke(128, 0 ,128); //線を描く(0=黒)
strokeWeight(15);
noFill(); //図形の中に色を塗らない
ellipse(200, 190, 250, 250); //円の描画
stroke(0, 0 ,255); //線を描く(0=黒)
strokeWeight(15);
noFill(); //図形の中に色を塗らない
ellipse(200, 190, 270, 270); //円の描画
stroke(0, 255 ,255); //線を描く(0=黒)
strokeWeight(15);
noFill(); //図形の中に色を塗らない
ellipse(200, 190, 290, 290); //円の描画
stroke(0, 128 ,0); //線を描く(0=黒)
strokeWeight(15);
noFill(); //図形の中に色を塗らない
ellipse(200, 190, 310, 310); //円の描画
stroke(255,255,0,200); //線を描く(0=黒)
strokeWeight(15);
noFill(); //図形の中に色を塗らない
ellipse(200, 190, 330, 330); //円の描画
stroke(255,69,0,200); //線を描く(0=黒)
strokeWeight(15);
noFill(); //図形の中に色を塗らない
ellipse(200, 190, 360, 360); //円の描画
stroke(255,15,5,220); //線を描く(0=黒)
strokeWeight(8);
noFill(); //図形の中に色を塗らない
ellipse(200, 190, 370, 370); //円の描画
tint(255,0,255,350);
image(img, 115, 105, 200,200);