---
# System prepended metadata

title: Untitled

---

期末報告
function setup() {
	createCanvas(windowWidth, windowHeight);
	background(255);
}

function draw() {
	background(0);
	var count =0
	for(x=0;x<width;x=x+60){
		for(y=0;y<height;y=y+60){
			count=count+1
			
			strokeWeight(3)
			noFill()
			stroke(50,210,150)
			ellipse(40+x,40+y,60+map(mouseX,0,width,0,50))
			stroke(130,215,65)
			rect(10+x,10+y,60+map(mouseX,0,width,0,50))
			stroke(0225,56,255)
			ellipse(70+x,70+y,30+map(mouseX,0,width,0,50))
		}
	}
}
自己設計
function setup() {
	createCanvas(windowWidth, windowHeight);
	background("#92828D");
}

function draw() {
	background("#92828D");
	var count =0
	for(x=0;x<width;x=x+60){
		for(y=0;y<height;y=y+60){
			count=count+1
			
			strokeWeight(3)
			noFill()
			stroke("#CEB5A7")
	    ellipse(100+x,100+y,200+map(mouseX,0,width,0,200))
			stroke(50,210,150)
			ellipse(40+x,40+y,60+map(mouseX,0,width,0,50))
			stroke(0225,56,255)
			ellipse(70+x,70+y,30+map(mouseX,0,width,0,50))
			stroke("#ADAABF")	
	    rectMode(CENTER);	
	    rect(200+x,200+y,100+map(mouseX,0,width,0,200))
		}
	}
}