diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-19 10:50:30 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-19 10:50:30 +0400 |
| commit | 0477986a0d5aed5cf9ee676b3369f9c0ed697cc1 (patch) | |
| tree | cc1bb0d400c9e9604b48d4c9bfbd7776e6733bb8 | |
| parent | 914237fa1149a022d8e012ce5a0aa1107c4906fc (diff) | |
| download | niri-0477986a0d5aed5cf9ee676b3369f9c0ed697cc1.tar.gz niri-0477986a0d5aed5cf9ee676b3369f9c0ed697cc1.tar.bz2 niri-0477986a0d5aed5cf9ee676b3369f9c0ed697cc1.zip | |
wiki: Move overdamped spring warning higher
| -rw-r--r-- | wiki/Configuration:-Animations.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wiki/Configuration:-Animations.md b/wiki/Configuration:-Animations.md index e26c00a2..39ad6ebf 100644 --- a/wiki/Configuration:-Animations.md +++ b/wiki/Configuration:-Animations.md @@ -107,6 +107,10 @@ The `damping-ratio` goes from 0.1 to 10.0 and has the following properties: However, even with damping ratio = 1.0, the spring animation may oscillate if "launched" with enough velocity from a touchpad swipe. +> [!WARNING] +> Overdamped springs currently have some numerical stability issues and may cause graphical glitches. +> Therefore, setting `damping-ratio` above `1.0` is not recommended. + Lower `stiffness` will result in a slower animation more prone to oscillation. Set `epsilon` to a lower value if the animation "jumps" at the end. @@ -116,10 +120,6 @@ Set `epsilon` to a lower value if the animation "jumps" at the end. > Instead, change `stiffness` proportionally. > E.g. increasing mass by 2× is the same as decreasing stiffness by 2×. -> [!WARNING] -> Overdamped springs currently have some numerical stability issues and may cause graphical glitches. -> Therefore, setting `damping-ratio` above `1.0` is not recommended. - ### Animations Now let's go into more detail on the animations that you can configure. |
