You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm assuming that hue should be an int between 0-255 and distance a float between 0 and 1.
Given that, I've experienced the following error with various combinations of hue and distance:
TypeError: Cannot read property '0' of undefined
at mutablecolor.ColorScheme.mutablecolor.mutablecolor.set_hue (../color-scheme/lib/color-scheme.js:505:49)
at mutablecolor.ColorScheme.mutablecolor.mutablecolor.rotate (../color-scheme/lib/color-scheme.js:514:21)
at Object.dispatch.triade (../color-scheme/lib/color-scheme.js:107:31)
at ColorScheme.colors (../color-scheme/lib/color-scheme.js:134:31)
hue 170 and distance 0.16 will throw this error. This will list out some of the values:
Hi,
I'm assuming that hue should be an int between 0-255 and distance a float between 0 and 1.
Given that, I've experienced the following error with various combinations of hue and distance:
hue 170 and distance 0.16 will throw this error. This will list out some of the values:
Did I misunderstand something in the use of your library?
The text was updated successfully, but these errors were encountered: