Fix typo
This commit is contained in:
parent
98d39621d4
commit
c52fd3e51f
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ Let's imagine we have several animations running simultaneously.
|
||||||
|
|
||||||
If we run them separately, then even though each one has `setInterval(..., 20)`, then the browser would have to repaint much more often than every `20ms`.
|
If we run them separately, then even though each one has `setInterval(..., 20)`, then the browser would have to repaint much more often than every `20ms`.
|
||||||
|
|
||||||
That's because they have different starting time, so "every 20ms" differs between different animations. The intervals are not alignned. So we'll have several independent runs within `20ms`.
|
That's because they have different starting time, so "every 20ms" differs between different animations. The intervals are not aligned. So we'll have several independent runs within `20ms`.
|
||||||
|
|
||||||
In other words, this:
|
In other words, this:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue