← 26 lines of code

26 lines of code #23

by cino

26 lines of code #23 static token preview
Full screen

Static preview.

Project

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,width0.75));
ys.push(random(width
0.25,width0.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();
}

Traits

Recorded features
Not yet indexed

Price history

DateEventPriceMarket
2022-10-27Mint0 tezfxhash issuer v2