xxxxxxxxxx
function setup() {
createCanvas(800,800);
background(0);
h=10
q=10
u=10
ñ=10
m=10
}
function draw() {
background(0)
for(let i = 10;i < 800;i =i +10){
stroke(i+200,i-150,0);
line(i,10,10,800-i);
line(790,i,800-i,790);
line(10,i,i,790);
line(i,10,790,i);
}
for(let h = 10;h<500;h=h+10){
stroke(255)
strokeWeight(1)
noFill()
circle(400,400,h)}
// for(let h = 10;600<h<700;h=h+10){
// stroke(255)
// strokeWeight(1)
// noFill()
// circle(400,400,h)}
{
if (500<h<700)
stroke(255)
strokeWeight(1)
noFill()
circle(400,400,h)
h=h+10
if(mouseIsPressed){
stroke(255)
strokeWeight(1)
noFill()
circle(400,400,h)
h=h-20
}
}
{
if (500<q<700)
stroke(255)
strokeWeight(1)
noFill()
circle(400,400,q)
q=q+12
if(mouseIsPressed){
stroke(255)
strokeWeight(1)
noFill()
circle(400,400,q)
q=q-22
}
{
if (500<u<700)
stroke(255)
strokeWeight(1)
noFill()
circle(400,400,u)
u=u+14
if(mouseIsPressed){
stroke(255)
strokeWeight(1)
noFill()
circle(400,400,u)
u=u-24
}
{
if (500<ñ<700)
stroke(255)
strokeWeight(1)
noFill()
circle(400,400,ñ)
ñ=ñ+16
if(mouseIsPressed){
stroke(255)
strokeWeight(1)
noFill()
circle(400,400,ñ)
ñ=ñ-26
}
}
{
if (500<m<700)
stroke(255)
strokeWeight(1)
noFill()
circle(400,400,m)
m=m+18
if(mouseIsPressed){
stroke(255)
strokeWeight(1)
noFill()
circle(400,400,m)
m=m-28
}
}
}
}
}