diff options
| author | Jacob Palecki <[email protected]> | 2021-01-20 18:25:31 -0800 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-01-20 18:25:31 -0800 |
| commit | 6046120f67327411eafa9c6a9fa0601c2ea5c554 (patch) | |
| tree | 47723f0b6f0f0ffe32859133d1384b67dbbcb32d /doc | |
| parent | Update guide for anisotropy options (diff) | |
| download | rawaccel-6046120f67327411eafa9c6a9fa0601c2ea5c554.tar.xz rawaccel-6046120f67327411eafa9c6a9fa0601c2ea5c554.zip | |
Tweaks
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/Guide.md | 8 | ||||
| -rw-r--r-- | doc/images/anisotropy_example.png | bin | 62973 -> 62022 bytes |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/Guide.md b/doc/Guide.md index 421e482..df43e94 100644 --- a/doc/Guide.md +++ b/doc/Guide.md @@ -56,9 +56,9 @@ There are anisotropic settings for whole mode. - **Domain**. This scales the domain of curve around 0 for the horizontal or vertical direction. - If a given curve has an offset at 5 count/ms and a cap that is hit at 15 counts/ms, then a domain_y of 2 would mean that vertical movements hit the offset at 2.5 counts/ms and the cap at 7.5 counts/ms instead. - **Lp Norm**. The distance calculation can be generalized to ((in_x)^p + (in_y)^p)^(1/p)), bringing the calculation into [Lp space](https://en.wikipedia.org/wiki/Lp_space). - - p = 2 is then the "real world" value, yielding the pythagorean theorem as the distance calculation. - - Increasing p makes distances for diagonal movements (where in_x and in_y are close) smaller, and increases the dominance of the larger of the two in determining the distance. - - We recommend almost everyone leave this at 2. + - p = 2 is then the "real world" value, yielding the pythagorean theorem as the distance calculation. + - Increasing p makes distances for diagonal movements (where in_x and in_y are close) smaller, and increases the dominance of the larger of the two in determining the distance. + - We recommend almost everyone leave this at 2.  @@ -68,7 +68,7 @@ With all anisotropic settings considered, the full formula looks like: This can be more easily understood as - (out_x, out_y) = (in_x\*sens_x, in_y\*sens_y) \* ((f( domain-weighted lp-space speed) - 1) \* (directional weight) + 1), where f(v) is our sensitivity function -This formula gaurantees the the smooth transition from the horizontal to vertical curve and vice versa as the user moves their hand diagonally. +This formula gaurantees the smooth transition from the horizontal to vertical curve and vice versa as the user moves their hand diagonally. #### ***By Component*** In this case, the horizontal components are separated and each is given as input to the sensitivity calculation to multiplied by itself before being recombined at output. diff --git a/doc/images/anisotropy_example.png b/doc/images/anisotropy_example.png Binary files differindex e8b9899..6425e68 100644 --- a/doc/images/anisotropy_example.png +++ b/doc/images/anisotropy_example.png |