apca-introduction

The missing introduction to APCA  https://p.ce9e.org/apca-introduction/
git clone https://git.ce9e.org/apca-introduction.git

commit
f902d58b5fcf58e7da70a79b4c78bebfd3d4d061
parent
7290347bc5e132032462156f3d04f85df103e34b
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-07-29 06:07
term: monotonic

Diffstat

M analysis.md 4 ++--

1 files changed, 2 insertions, 2 deletions


diff --git a/analysis.md b/analysis.md

@@ -177,7 +177,7 @@ APCA to WCAG 2.x, I will make some modifications:
  177   177     will look at the `exp()` of that difference. Since
  178   178     `exp(a - b) == exp(a) / exp(b)`, this allows us to convert the APCA formula
  179   179     from a difference to a ratio. Again I user the same trick: Since `exp()` is
  180    -1     monotonous, it does not change the results other than moving the
   -1   180     monotonic, it does not change the results other than moving the
  181   181     thresholds.
  182   182 
  183   183 With those changes. All other differences between APCA and WCAG 2.x can be
@@ -215,7 +215,7 @@ of `sRGBtoY()`. In order to reduce colors to a single dimension, I used gray
  215   215 
  216   216 I also normalized the values so they are in the same range as WCAG 2.x. I used
  217   217 factors (because they do not change the contrast ratio) and powers (because
  218    -1 they are monotonous on the contrast ratio).
   -1   218 they are monotonic on the contrast ratio).
  219   219 
  220   220 ```js
  221   221 var average_exponent = 0.6;