xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(255);
}
function draw() {
noFill();
stroke(2,181,160);
translate(width/2, height/2);
rotate(sin( millis()/1000 ) *300);
translate(100, 0);
rectMode(CENTER);
//rect(0, 0, 200, 200);
line(0, 30, 300, 300)
}