raster.art
SEARCH
Create Account
No wallets connected. Please connect a wallet first.
20 lines of code
cino, 2022on fxhash
Platforms
fxhash
Description

function setup() { colorMode(HSL); randomSeed(fxrand()9999999999999); noStroke(); createCanvas(min(windowWidth, windowHeight), min(windowWidth, windowHeight)); let u=width/(random(50,300)); let h = random(0,360); let n = random(0.62,0.98); let a = random();
for (let y=-height
1.2;y<height;y+=urandom()) { for (let x=-width1.2;x<width;x+=urandom()) { let s = random()<n ? abs(abs((map(x,0,width,-100,100)))-100) : random(0,100); let l = random()<n ? map(y,0,height,90,10) : map(y,0,height,20,90); fill(color(h,s,l,random(a,1))); let newy = random()<n ? y : y-urandom(1,5); rect(x,newy,u*random(1,5),height); } } fxpreview(); }