xxxxxxxxxx
let colorStartR;
let colorStartG;
let colorStartB;
let startPointX;
let startPointY;
let newX;
let newY;
function setup() {
createCanvas(400, 400);
startPointX =1; startPointY =1;
noLoop();
}
function draw() {
background(220);
newX = 1;
newY = 1;
stroke(color(0,0,0));
strokeWeight(2);
let blends =[BLEND,DODGE,HARD_LIGHT,DARKEST,BURN];
for(let i=0; i<8;i++){
colorStartR = int(random(50,255));
colorStartG = int(random(50,150));
colorStartB = int(random(50,150));
blendMode(blends[int(random(blends.length))])
for(let i=0; i<8;i++){
for(let i=0; i<70; i++){
for(let i=0; i<70; i++){
stroke(color(colorStartR,colorStartG,colorStartB));
point(startPointX,startPointY);
colorStartR=colorStartR+(int(random(-3,3)));
colorStartG=colorStartG+(int(random(-3,3)));
colorStartB=colorStartB+(int(random(-3,3)));
startPointX++;
}
startPointX=newX;
startPointY++;
}
newX=newX+50;
startPointY = newY;
startPointX =newX;
}
newY=newY+50;
startPointY=newY;
newX = 1;
//noProtect
}
}