mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
wiki: Move overdamped spring warning higher
This commit is contained in:
@@ -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.
|
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.
|
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.
|
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.
|
> Instead, change `stiffness` proportionally.
|
||||||
> E.g. increasing mass by 2× is the same as decreasing stiffness by 2×.
|
> 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
|
### Animations
|
||||||
|
|
||||||
Now let's go into more detail on the animations that you can configure.
|
Now let's go into more detail on the animations that you can configure.
|
||||||
|
|||||||
Reference in New Issue
Block a user