xxxxxxxxxx
var counter = 0;
function setup()
{
createCanvas(windowWidth, windowHeight);
background(0);
}
function draw()
{
//background(0);
translate(width/2, height/2);
translate(0, sin(counter)*300);
noFill();
stroke(255,150,20,20,20);
ellipse(0, sin(counter)*100, 1000, sin(counter)*100);
//rotate(0.2);
//rotate(sin(counter));
//line(0, 0, 300, 0);
counter += 0.1;
}