- commit
- 0df253af9185d8cd99f1f537614c106c83503c25
- parent
- 7d4ff79088cab5c641b5668434018966f9833909
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2022-08-05 11:55
typo: reasonable flare is 0.0025, not 0.025 see https://github.com/xi/apca-introduction/issues/1#issuecomment-1197997302
Diffstat
| M | analysis.md | 4 | +--- |
| M | plots/lightness_comparison.png | 0 | |
| M | plots/lightness_comparison.py | 3 | +-- |
3 files changed, 2 insertions, 5 deletions
diff --git a/analysis.md b/analysis.md
@@ -325,11 +325,9 @@ I plotted curves for both the Weber-Fechner model (log) and the Stevens model 325 325 (pow) with different parameters. 326 326 327 327 - The log curve with a flare of 0.05 (WCAG 2) is closer to the pow curve with328 -1 an exponent of 1/3-1 328 an exponent of 1/3 and a flare of 0.0025 329 329 - The log curve with a flare of 0.4 is closer to the pow curves with 330 330 exponents 0.56 and 0.68 (similar to APCA)331 -1 - The pow curve with an exponent of 1/3 **and** a flare of 0.025 is somewhere332 -1 in the middle.333 331 334 332 This shows that a big part of the different results between WCAG 2.x and APCA 335 333 are caused by a different choice in parameters. If we were to change the flare
diff --git a/plots/lightness_comparison.png b/plots/lightness_comparison.png
Binary files differ.diff --git a/plots/lightness_comparison.py b/plots/lightness_comparison.py
@@ -23,8 +23,7 @@ if __name__ == '__main__': 23 23 24 24 weber(0.05) 25 25 weber(0.4)26 -1 stevens(0, 0.333)27 -1 stevens(0.025, 0.333)-1 26 stevens(0.0025, 0.333) 28 27 stevens(0, 0.56) 29 28 stevens(0, 0.68) 30 29