raster.art
SEARCH
Create Account
No wallets connected. Please connect a wallet first.
Project 420
Forleti, 2022on fxhash
Platforms
fxhash
Description

Project 420 is a minimalist work created with p5.js where the goal was to create the shortest possible project (while being deterministic, responsive, nice and relatively complex).

The project code is only 420 characters long!

let f=0,r,l,e,t=i=>{++f>30||(l=99/f**.8,k=[],i.forEach((j=>[[-1,0],[0,-1],[1,0],[0,1]].forEach((o=>f<4|e()<.27&&k.push([j[0]+lo[0],j[1]+lo[1]]))))),k.forEach((i=>stroke(...e()<.5?[75,75,75]:[z,z,z],e(z))&circle(i[0]*y,i[1]y,e(l/10,l)y))),t(k))},y,z=255;function setup(){randomSeed(1e8fxrand()),r=min(windowWidth,windowHeight),createCanvas(r,r),y=r/z/2,e=random,strokeWeight(.8y),noFill(),background(33),t([[z,z]])}

Code is art ✨

License: CC BY-NC 4.0