working lib
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
let wp;
|
||||
|
||||
let area = 400;
|
||||
let area = 120;
|
||||
|
||||
function setup() {
|
||||
const canvas = createCanvas(windowWidth, windowHeight);
|
||||
@@ -42,15 +42,13 @@ async function drawArt(testOnly) {
|
||||
wp.move(-area, -area);
|
||||
//wp.wait(1000 * 10);
|
||||
|
||||
let step = area / 4.001;
|
||||
let step = area / 2;
|
||||
|
||||
for (let y = -area; y < area; y+=step){
|
||||
for (let x = -area; x < area; x+=step){
|
||||
//if(random(1) < 0.8){
|
||||
wp.draw(x, y);
|
||||
for (let y = -area; y <= area; y+=step){
|
||||
for (let x = -area; x <= area; x+=step){
|
||||
wp.move(x+step, y);
|
||||
wp.draw(x, y+step);
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
await wp.runPath(testOnly);
|
||||
|
||||
Reference in New Issue
Block a user