Skip to content

Use RequestAnimationFrame instead of setTimeout #1

@mostlygeek

Description

@mostlygeek

Using RAF would make drawing more efficient and sync up the draw with the refresh of the screen (60hz).

Since cross browser support sucks, use the HTML5 RAF polyfill:

https://gist.github.com/1579671

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions