diff options
| author | julian laplace <julescarbon@gmail.com> | 2025-07-07 19:54:02 +0200 |
|---|---|---|
| committer | julian laplace <julescarbon@gmail.com> | 2025-07-07 19:54:02 +0200 |
| commit | dfbd36be4341f633cb51d187d3245efbc9d500a8 (patch) | |
| tree | 15a1006ba51a9c4b2773161bae888cc0522fcdff /client/lib/color.js | |
| parent | 95a494a5570ba7933943cfe2093f1357c5f087f4 (diff) | |
transitions, fix colors, add help
Diffstat (limited to 'client/lib/color.js')
| -rw-r--r-- | client/lib/color.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/lib/color.js b/client/lib/color.js index bea0330..bbc137e 100644 --- a/client/lib/color.js +++ b/client/lib/color.js @@ -62,7 +62,7 @@ function color(t, add, mul) { b = palette[1][i]; c = palette[2][i]; d = palette[3][i]; - rgb[i] = Math.round(channel(t, a, b, c, d, add, mul) * 255); + rgb[i] = Math.round(channel(-t, a, b, c, d, add, mul) * 255); } return "rgb(" + rgb + ")"; } |
