summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-09-11 14:59:32 -0700
committera1xd <[email protected]>2021-09-23 22:33:13 -0400
commitdf26bc2e9778cdc717aab362af2b876ba1a9b6a8 (patch)
tree880bce98b63ceeb885a5eb9a4acb7577a1dc4688
parentSupport infinite LP norm - any value greater than 64 (diff)
downloadrawaccel-df26bc2e9778cdc717aab362af2b876ba1a9b6a8.tar.xz
rawaccel-df26bc2e9778cdc717aab362af2b876ba1a9b6a8.zip
Add lp norm new info to doc
-rw-r--r--doc/Guide.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/Guide.md b/doc/Guide.md
index a0bc1ca..b5f4786 100644
--- a/doc/Guide.md
+++ b/doc/Guide.md
@@ -58,6 +58,7 @@ There are anisotropic settings for whole mode.
- **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.
+ - As p gets large, the above calculation approaches max(inx, iny). Raw Accel uses this formula when given any p > 64.
- We recommend almost everyone leave this at 2.
![AnisotropyExample](images/anisotropy_example.png)