captbaritone / captbaritone/webamp

requestAnimationFrame() ticks faster than intended on displays with above 60hz

Open
#1,294 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.3k
Forks
796
PR merge metrics
No merged PRs in 30d

Description

The visualizer depends on requestAnimationFrame() which does not allow to specify a set tickrate to avoid potentially running too fast than is really intended.

https://stackoverflow.com/questions/19764018/controlling-fps-with-requestanimationframe

The answer provides a way to control this and should not exceed the maximum framerate the device is able to produce (such as when in low power mode)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.