Closed nbriz closed 8 years ago
ok, so now that the color schemes generated new color objects that was fixed... but there's a new bug when generating random values ( using createScheme('random') ) where if u specify a hue like this:
color.createScheme('random',{ hue: 200 });
sometimes ( not often ) u get a random color not with that hue?
ok scratch that... not xactly sure what the issue is... i have a funky feeling about the .hsv2rgb() method, the random schemes still occasionally spit out werd stuff ( though i have a commented hack/fix in there for that now )... still getting strange behavior when u adjust saturation ( or value ) at certain values it seems to effec the other hsv vals ???
fixed ^___^ all done
sometimes the hex strings of the scheme colors doesn't generate correctly ( returns 5 hex values instead of 6 )... for now use .rgb or .rgba values