Skip to content

Commit 27a023d

Browse files
committed
Switched back to 30fps for stability
1 parent e45ecc8 commit 27a023d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/P5Canvas.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const CAR_WIDTH = 100;
2929
const ROAD_WIDTH = 150;
3030
const ROAD_MARKER_WIDTH = 15;
3131
const SCALE_FACTOR = 0.9;
32-
export const FRAME_RATE = 60;
32+
export const FRAME_RATE = 30;
3333
export const VELOCITY_DELAY = FRAME_RATE / 6;
3434
const UPDATE_INTERVAL = 250;
3535
const FS = FRAME_RATE;

0 commit comments

Comments
 (0)