xxxxxxxxxx
51
function setup() {
createCanvas(400, 400);
}
function draw() {
background(0,0,0) //color of background (black)
//Colour
stroke(251,163,75)
//Twirl
for(let i=0; i< 400; i++){
let x1 = i * 5;
let y1 = i * 10;
let x2 = i * 5;
let y2 = 75;
line(x1,x2,y1,y2);
}
//Line
for(let i=0; i< 75; i++){
let x1 = i * 1;
let y1 = i ^ 2-1000;
let x2 = i * x1-10;
let y2 = i * 100;
line(x1,x2,y1,y2);
} //fan
for(let i=0; i< 400; i++){
let x1 = i + 10;
let y1 = -i^2 * -10*x1;
let x2 = x1;
let y2 = y1+ 200;
line(x1,x2,y1,y2);
}
for(let i=0; i< 400; i++){
let x1 = i;
let y1 = i^2 *10*x1+10;
let x2 = 400;
let y2 = y1+1;
line(x1,x2,y1,y2);
}
}