xxxxxxxxxx
var x = 0
var y = 100
function setup(){
createCanvas(500,500);
background(51,255,255)
}
function draw(){
fill(90,76,190)
stroke(255,80,180)
strokeWeight(1)
x = x + 3
var off1 = sin(x/50)*50
var off2 = cos(x/40)*50
ellipse(x,y-off1,10,off1+off2)
fill(0,18,135)
stroke(255)
strokeWeight(1)
var off1 = sin(x/50)*50
var off2 = cos(x/40)*50
ellipse(x,400-off1,10,off1+off2)
fill(5)
fill(90,76,190,5)
stroke(255,0,0,20)
circle(250,250,mouseX,mouseY)
fill(20)
fill(255,51,51,20)
ellipse(300,300+off2+off1,second(),second())
ellipse(200,300+off2+off1,second(),second())
}