xxxxxxxxxx
22
var theta = 0;
var amp = 300;
xPos = 0;
function setup() {
createCanvas(800, 800);
fill(255);
noStroke();
//background(244, 132, 140);
}
function draw() {
background(244, 132, 140);
translate(width/2, height/2);
theta += 0.03;
ellipse(sin(theta)*amp, cos(theta)*amp, 20);
}