SketchBook

夕日の中の思い出

var M;
var k;

function setup(){createCanvas(700,700);
M=350;
K=30;
};

function draw(){
noStroke();
fill(132,158,229);
rect(0,0,700,700);
fill(170,158,210,80);
rect(0,70,700,700);
fill(175,158,195,83);
rect(0,130,700,700);
fill(187,158,183,85);
rect(0,170,700,700);
fill(190,158,175,85);
rect(0,190,700,700);
fill(195,156,166,85);
rect(0,200,700,700);
fill(200,154,163,85);
rect(0,220,700,700);
fill(230,150,160,85);
rect(0,238,700,700);
fill(240,151,150,85);
rect(0,255,700,700);
fill(250,147,138,85);
rect(0,270,700,700);
fill(255,144,125,85);
rect(0,285,700,700);
fill(255,140,100,85);
rect(0,300,700,700);
fill(255,130,80,85);
rect(0,315,700,700);
fill(255,130,60,85);
rect(0,330,700,700);
fill(255,120,50,70);
rect(0,345,700,700);
fill(255,100,50,70);
rect(0,360,700,700);
fill(255,75,50,70);
rect(0,375,700,700);
fill(255,60,50,60);
rect(0,390,700,700);


fill(163,108,62);
stroke(120,85,47);
rect(M-5,M+K+K,3,700);
fill(130,85,47);
rect(M,M+K,2,700);

stroke(170,8,27);
fill(220,20,60);
triangle(M+K,M+K,M,M,M,M+K+K);
triangle(M-K-K,M,M-K,M+K,M,M);
triangle(M-K,M-K,M,M-K-K,M,M);
triangle(M,M,M+K,M-K,M+K+K,M);
fill(160,8,35);
triangle(M,M,M,M+K+K,M-K,M+K);
triangle(M-K,M+K,M,M+K+K,M-K-K,M+K+K);
triangle(M-K-K,M,M-K,M-K,M,M);
triangle(M-K-K,M,M-K-K,M-K-K,M-K,M-K);
triangle(M,M-K-K,M,M,M+K,M-K);
triangle(M,M-K-K,M+K,M-K,M+K+K,M-K-K);
triangle(M,M,M+K+K,M,M+K,M+K,);
triangle(M+K,M+K,M+K+K,M,M+K+K,M+K+K);

fill(238,175,35);
ellipse(M,M,7);
};