xxxxxxxxxx
let x = 100;
let y;
let speed = 10;
var sun;
function preload(){
sun = loadImage('sun.jpeg')
}
function setup(){
createCanvas(400, 400);
}
function draw() {
background(0);
image(sun,100,100)
push();
fill(0,0,255);
translate(250,250);
rotate(frameCount*0.002);
circle(200,100,30);
pop();
push();
fill(150,0,210);
translate(250,250);
rotate(frameCount*0.02);
circle(200,100,40);
pop();
push();
fill(75,0,130);
translate(250,250);
rotate(frameCount*0.004);
circle(200,100,50);
pop();
push();
fill(0,215,0);
translate(250,250);
rotate(frameCount*0.04);
circle(200,100,15);
pop();
push();
fill(255,255,0);
translate(250,250);
rotate(frameCount*0.006);
circle(200,100,20);
pop();
push();
fill(255,125,0);
translate(250,250);
rotate(frameCount*0.06);
circle(200,100,60);
pop();
push();
fill(255,0,0);
translate(250,250);
rotate(frameCount*0.008);
circle(200,100,115);
pop();
push();
fill(0,255,255);
translate(250,250);
rotate(frameCount*0.08);
circle(200,100,120);
pop();
push();
fill(57,255,20);
translate(250,250);
rotate(frameCount*0.010);
circle(200,100,50);
pop();
push();
fill(242,135,140);
translate(250,250);
rotate(frameCount*0.10);
circle(200,100,20);
pop();
}