website/mesh.js

12 lines
275 B
JavaScript
Raw Normal View History

2023-05-05 10:55:05 +00:00
// 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;
}
}