Skip to content

Commit 697e3f4

Browse files
committed
fix: reduce FPS from 90 to 60 for improved performance
1 parent bd5ac5f commit 697e3f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ascii-bg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
const FLASH_CHANCE = 0.0004; // probability per cell per frame of triggering a flash
1414
const FLASH_PEAK = 1; // peak alpha of a flash
1515
const FLASH_DECAY = 0.02; // alpha lost per frame during flash decay
16-
const FPS = 90;
16+
const FPS = 60;
1717
const FRAME_MS = 1000 / FPS;
1818

1919
// GoL tunables

0 commit comments

Comments
 (0)