Skip to content

Better frame rate control for animations - #79

Open
LazyCuteLion wants to merge 1 commit into
quicoli:developfrom
LazyCuteLion:develop
Open

Better frame rate control for animations#79
LazyCuteLion wants to merge 1 commit into
quicoli:developfrom
LazyCuteLion:develop

Conversation

@LazyCuteLion

Copy link
Copy Markdown

Use Storyboard to instead of DispatcherTimer,it is possible to obtain a more precise frame rate.
My rather rough test:
DispatcherTimer: timer.Interval = TimeSpan.FromSeconds(1 / 60.0)->actual 48+-; 30->actual 25+-
Storyboard:Timeline.SetDesiredFrameRate(storyboard, 60)->actual 59~60

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