by cino
26 lines of code
IPFS
25 October 2022•TEZOS•IPFS
Yet another zen/minimalist coding project :)
p5 code is as follows:
function setup() {
colorMode(HSB);
randomSeed(fxrand()*9999999999999);
createCanvas(min(windowWidth, windowHeight), min(windowWidth, windowHeight));
let u = width/random(13,80);
let xs = [];
let ys = [];
let length = random(5,50);
let iterations = random(100,250);
for (let i=0; i<length; i++) {
xs.push(random(width*0.25,width*0.75));
ys.push(random(width*0.25,width*0.75));
}
background(color(random(0,360),100,100));
for (let i=0; i<iterations; i++) {
strokeWeight(u*(iterations-i));
stroke(color(random(0,360),100,100));
fill(color(random(0,360),100,100));
beginShape();
for (let i in xs) {
vertex(xs[i],ys[i]);
}
endShape(CLOSE);
}
fxpreview();
}
p5 code is as follows:
function setup() {
colorMode(HSB);
randomSeed(fxrand()*9999999999999);
createCanvas(min(windowWidth, windowHeight), min(windowWidth, windowHeight));
let u = width/random(13,80);
let xs = [];
let ys = [];
let length = random(5,50);
let iterations = random(100,250);
for (let i=0; i<length; i++) {
xs.push(random(width*0.25,width*0.75));
ys.push(random(width*0.25,width*0.75));
}
background(color(random(0,360),100,100));
for (let i=0; i<iterations; i++) {
strokeWeight(u*(iterations-i));
stroke(color(random(0,360),100,100));
fill(color(random(0,360),100,100));
beginShape();
for (let i in xs) {
vertex(xs[i],ys[i]);
}
endShape(CLOSE);
}
fxpreview();
}
50 EDITIONS
•0 RESERVES
minted
50 / 50
fixed price
0 TEZ
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH
Lorem ipsum project longer longer
0.00001 ETH