Skip to content

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

@0x5066

Description

@0x5066

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions