mathober day-1: Kiss
let img1,img2;
function preload(){
img1 = loadImage("/assets/background.png")
img2 = loadImage("/assets/kiss_1.png")
}
function setup(){
createCanvas(600,600);
}
function draw(){
translate(width/2,height/2)
background(0);
t1 = frameCount/1000
t2 = TWO_PI*sin(t1)*sin(t1)*sin(t1)*sin(t1);
image(img1,-width/2,-height/2,600,600);
push()
rotate(t2)
image(img2,-width/2,-height/2,600,600);
pop()
}