website/mesh.js
2023-05-05 12:55:05 +02:00

12 lines
275 B
JavaScript

// this is a p5.js script that generates mesh image for the website
function setup() {
createCanvas(500, 700);
background("rgba(0,0,0,0)");
stroke("rgba(255,255,255,1)");
let j = 475;
for (let i = 0; i < 700; i += 35) {
line(500, i, j, 700);
j -= 25;
}
}