bahmutov / bahmutov/draw-cycle
Use requestAnimationFrame instead of setTimeout for animation
Open
enhancement
question
- Dominant language
- HTML
- Stars
- 150
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
requestAnimationFrame should produce much smoother results! You might be able to make use of https://github.com/Widdershin/cycle-animation-driver or `Rx.Schedulers.requestAnimationFrame`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the animation code that currently uses setTimeout and inspect how its scheduling affects the DOM and event flow. Compare the suggested cycle-animation-driver and Rx.Schedulers.requestAnimationFrame options, then verify that animation behavior is smoother without changing the existing output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100