Closed rumblesan closed 10 years ago
The reason why there are so many is that processing allows to do all of these:
fill 255 fill 255, 10 fill r,g,b fill r,g,b,a fill color(255) fill color(255, a) fill color(r,g,b) fill color(r,g,b,a) fill color(r,g,b), a
plus allows for different color spaces as well.
So there are a number of functions covering all the cases...
It's kind oh handy and we got those done already from processing.js...
fair enough, just seemed like there were quite a few of the functions in the colour-functions file that weren't being used. having another dig i see that more of them are used internally so to speak.
just seeing if there was code we could get rid of hehe
There's a lot of colour functions, some of which are pretty esoteric. Ate they all needed?