Skip to content

Commit

Permalink
Fixing centering
Browse files Browse the repository at this point in the history
  • Loading branch information
andwin committed Feb 24, 2024
1 parent e3e1925 commit 334fee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tunnel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function draw() {

for (const item of sections) {
const x = 50 * sin(frameCount * 0.01 + item.size * 0.01) + width / 2
const y = 50 * sin(frameCount * 0.01 + item.size * 0.01) + width / 2
const y = 50 * sin(frameCount * 0.01 + item.size * 0.01) + height / 2

msk.background(item.color)
msk.erase()
Expand Down

0 comments on commit 334fee6

Please sign in to comment.