xxxxxxxxxx
34
let ga = 0;
let pix;
// function preload(){
// img = loadImage('stack7.png');
// }
function setup() {
createCanvas(900, 900);
background("#219ebc")
// image(img, 60, 0);
stroke(0);
strokeWeight(4);
fill("#fb5f0a");
circle(width / 2, height / 2, 450);
for(y = 0; y < height; y++){
ga = noise(y / 10) * 100;
for(x = 0; x < width; x++){
pix = get(x, y);
stroke(0);
strokeWeight(1);
point(x, y);
stroke(pix[0], pix[1], pix[2], 255);
strokeWeight(2)
point(x - ga, y);
}
}
}
function draw() {
// background(220);
}