I've added parsing (taken from effects.core.js in jQuery-UI) and HTML4/ SVG colour names, and support for a Color object which allow easy conversion between colour spaces (ie. RGB -> HSV, etc). I restructured the library to support both functional and oo paradigms.
Latest code can be found here: http://test3.internal.adaptavist.net/~mgibson/color/ Examples: $.color.HSV.toRGB([0.5,0.2,0.4]); $.color.RGB.toHSV($.color.parse('#fcc')); or, oo style: $.Color([0.5,0.2,0.4], 'HSV').toRGB(); $.Color('#fcc').toHSV(); $.Color('#fcc', 'HSV'); It's all broken up into small modules so users can pick and choose if they wish, eventually I'm hoping it can be integrated with the jQuery- UI build system. My colour picker widget demonstrates it in use: http://test3.internal.adaptavist.net/~mgibson/colorpicker/ On Mar 3, 8:29 am, Daniel Friesen <[email protected]> wrote: > Any more development on this topic? > > It'll only be a day or two till our private beta is out at work, so > we'll be moving into the next phase soon which is partially adding a > number of effects and ui improvements including the custom color picker > which I'd be helping out with the color library to work on. > > ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://nadir-seen-fire.com] > -Nadir-Point & Wiki-Tools (http://nadir-point.com) (http://wiki-tools.com) > -MonkeyScript (http://monkeyscript.org) > -Animepedia (http://anime.wikia.com) > -Narutopedia (http://naruto.wikia.com) > -Soul Eater Wiki (http://souleater.wikia.com) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
