Skip to content

Conversation

perey
Copy link
Contributor

@perey perey commented Jun 2, 2024

The "Color differences" page in the docs illustrates the Just Noticeable Difference (JND) with a pair of identical colours. This patch changes one of them slightly.

I don't know what the original intention was, although I assume that there being no difference isn't deliberate. So I went with a change that meant that ΔΕ > 2.3 for two of the three algorithms demonstrated. My thinking was that this gives the reader a chance to judge these algorithms (and/or the 2.3 threshold) against their own ability to see a difference.

@netlify
Copy link

netlify bot commented Jun 2, 2024

Deploy Preview for colorjs ready!

Name Link
🔨 Latest commit cdab710
🔍 Latest deploy log https://app.netlify.com/sites/colorjs/deploys/665c15f6aa93c400082618d2
😎 Deploy Preview https://deploy-preview-538--colorjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facelessuser
Copy link
Collaborator

It does seem silly to ask the reader if two identical colors look the same...because of course they do. It seems like a good idea to alter the colors to be slightly different, but visually hard to distinguish.

@LeaVerou LeaVerou requested a review from svgeesus July 2, 2024 15:42
@svgeesus
Copy link
Member

svgeesus commented Jul 4, 2024

I don't know what the original intention was,

Probably a "copy, paste, got distracted, thought I was done" operation. Thanks for fixing!!

@svgeesus svgeesus merged commit 3e97aa3 into color-js:main Jul 4, 2024
@perey perey deleted the jnd-fix branch July 4, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants