initial commit
This commit is contained in:
11
mesh.js
Normal file
11
mesh.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user