Skip to content

WIP: fix: chart periodically jumping one pixel back and forth#133

Draft
WofWca wants to merge 3 commits intojoewalnes:masterfrom
WofWca:fix-jumpiness-2
Draft

WIP: fix: chart periodically jumping one pixel back and forth#133
WofWca wants to merge 3 commits intojoewalnes:masterfrom
WofWca:fix-jumpiness-2

Conversation

@WofWca
Copy link
Copy Markdown
Collaborator

@WofWca WofWca commented Sep 10, 2021

Due to RAF period deviation.

https://www.testufo.com/animation-time-graph

The issue is noticeable at `millisPerPixel` being between ~ 0.5 & 2.0 the size
of `requestAnimationFrame` period. Canvas image update period would be
inconsistent - some would last longer, some less, some would get skipped
altogether.
At `millisPerPixel` slightly above `requestAnimationFrame` period
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.

1 participant