Skip to content

Conversation

@almarklein
Copy link
Member

@almarklein almarklein commented Dec 15, 2021

This puts most of the logic regarding limiting FPS into the base canvas class. The GUI implementations only have to take care of delaying the request for a new draw in the gui-specific way.

This PR also implements this for Jupyter.

@Korijn
Copy link
Collaborator

Korijn commented Dec 16, 2021

LGTM! Tidies up nicely.

@almarklein almarklein merged commit fdd6c28 into main Dec 16, 2021
@almarklein almarklein deleted the max_fps branch December 16, 2021 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants