xxxxxxxxxx
34
function setup() {
initializeFields();
createCanvas(900, 700);
background(255);
// frameRate(120);
noFill();
stroke(0, 40);
}
function draw() {
var t = float(frameCount);
translate(width / 2, height / 2);
rotate(t / 200);
stroke(random(150 + t / 8), 100, random(255 + t / 6), 10);
// strokeWeight(t/100);
// strokeWeight(t/2);
// fill(255, 5);
// ellipse(sin(t/20)*200, cos(t/124)*200, t, t);
// ellipse(sin(t/10)*200, cos(t/50)*200, 100, 100);
// ellipse(sin(t/10)*250, cos(t/10)*250, 100, 100);
// ellipse(sin(t/50)*200, cos(t/50)*200, sin(t/25)*100, cos(t/25)*100);
// ellipse(0, 0, sin(t/300)*500, cos(t/130)*500);
// line(sin(t/240)*713, cos(t/240)*713, cos(t/10)*500, sin(t/10)*500);
// line(sin(t/140)*200, cos(t/140)*200, cos(t/10)*300, sin(t/10)*300);
// line(sin(t/20)*100, cos(t/20)*100, sin(t/10)*500, sin(t/10)*500);
// rect(sin(t/100)*100, cos(t/100)*100, sin(t/100)*200, cos(t/100)*200);
ellipse(sin(t / 60) * 100, cos(t / 60) * 100, sin(t / 60) * 200, cos(t / 60) * 200);
}
function initializeFields() {
}