static float colorDiff(Color a, Color b) { //ret rgbDiff(RGB(a), RGB(b)); ret rgbDiff(a.getRGB(), b.getRGB()); }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020251 |
Snippet name: | colorDiff - distance between two colors (0 to 1) |
Eternal ID of this version: | #1020251/3 |
Text MD5: | db7497c6b5c50fa207a36f1830f6a422 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-18 13:01:37 |
Source code size: | 119 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 278 / 336 |
Version history: | 2 change(s) |
Referenced in: | [show references] |