SketchBook

CL (乱数課題)

var 点=1
var 点2=700
var 円=1

function setup(){

createCanvas(700,700);
background(110,120,170,70);
//キャンバス

}


function draw(){
stroke(random(230,240),random(230,240),random(240,250));
noFill();
strokeWeight(0.1)

ellipse(350,350,random(0,400),400);
ellipse(350,350,400,random(0,400)); //円


点=点+1
点2=点2-1

strokeWeight(1); //背景
stroke(random(230,240),random(230,240),random(240,250));

point(点2,1);
point(点,100);
point(点2,200);
point(点,300);
point(点2,400);
point(点,500);
point(点2,600);
point(点,700); //横線

point(1,点);
point(100,点2);
point(200,点);
point(300,点2);
point(400,点);
point(500,点2);
point(600,点);
point(700,点2); //縦線

円=円+2
noStroke();
fill(0,0,0,3);

ellipse(350,350,円)





}