Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples: webgl_multiple_elements_text fix animation speed on >60hz screens #24596

Merged
merged 3 commits into from
Sep 6, 2022

Conversation

CalebBabin
Copy link
Contributor

Related issue: none

Description

Example webgl_multiple_elements_text increased the time variable by a set amount per-frame causing unsettlingly fast animations on >60hz screens, this switches it over to use the time between frames instead of a constant increment.

@Mugen87 Mugen87 added this to the r145 milestone Sep 6, 2022
@Mugen87 Mugen87 merged commit 04d91e2 into mrdoob:dev Sep 6, 2022
@mrdoob
Copy link
Owner

mrdoob commented Sep 6, 2022

Thanks!

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
…creens (mrdoob#24596)

* fix animation speed on >60hz screens

* switch to THREE.Clock()

* Update webgl_multiple_elements_text.html

Co-authored-by: Michael Herzog <[email protected]>
snagy pushed a commit to snagy/three.js-1 that referenced this pull request Sep 21, 2022
…creens (mrdoob#24596)

* fix animation speed on >60hz screens

* switch to THREE.Clock()

* Update webgl_multiple_elements_text.html

Co-authored-by: Michael Herzog <[email protected]>
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.

4 participants