🔦🎤 Checkpoint
./script.js:9517054/301
This commit is contained in:
parent
a39a119ad8
commit
32fd1dde91
1 changed files with 4 additions and 11 deletions
15
script.js
15
script.js
|
@ -46,20 +46,13 @@ function draw() {
|
||||||
const spacing = 60;
|
const spacing = 60;
|
||||||
const depth = 0.5;
|
const depth = 0.5;
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
// ctx.arc(
|
ctx.arc(
|
||||||
// i * spacing - (offx % (spacing / depth)) * depth,
|
|
||||||
// j * spacing - (offy % (spacing / depth)) * depth,
|
|
||||||
// 5,
|
|
||||||
// 0,
|
|
||||||
// 2 * Math.PI
|
|
||||||
// );
|
|
||||||
ctx.rect(
|
|
||||||
i * spacing - (offx % (spacing / depth)) * depth,
|
i * spacing - (offx % (spacing / depth)) * depth,
|
||||||
j * spacing - (offy % (spacing / depth)) * depth,
|
j * spacing - (offy % (spacing / depth)) * depth,
|
||||||
10,
|
5,
|
||||||
10,
|
0,
|
||||||
|
2 * Math.PI
|
||||||
);
|
);
|
||||||
|
|
||||||
ctx.fill();
|
ctx.fill();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue