Skip to content

Commit

Permalink
oops fixing final 'spin'
Browse files Browse the repository at this point in the history
  • Loading branch information
John Owens committed Nov 5, 2024
1 parent 8a72738 commit 05d4c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion both_webgpu/both_deno_gfx.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async function loop(frames, waitingForKeyboard = true) {
waitingForKeyboard = false;
break;
default:
if (spin == false) {
if (waitingForKeyboard == false) {
const r = Math.sin(Date.now() / 1000) * 127 + 128;
const g = Math.sin(Date.now() / 1000 + 2) * 127 + 128;
const b = Math.sin(Date.now() / 1000 + 4) * 127 + 128;
Expand Down

0 comments on commit 05d4c2f

Please sign in to comment.