I'm not really a fan of the [float, float, float] but if 'rgb(255, 255, 255)'; is supported I suppose that's ok (heck I could throw a function rgb(r, g, b) into code). However I don't really like the explicit $.color.parse call, I think these should already understand that if a string is passed the data should be parsed.
Is there an actual repository yet? If you don't have one yet then at least a small github repo for now would be good. Then I can fork (fork in git speak, nothing to do with project forking) and commit improvements you can pull. I'm very interested in that color picker to. Every other color picker I've run into has been a full fledged bloated color picker that defines the entire ui, or uses some crappy theming system. However that one you have basically just defines nothing but the standard UI pieces that are stuck inside of color pickers. That's the kind of thing minimalist enough for me to make use of inside our project at work. We're not using a stock color picker because as part of our UI we're also trying to improve the usability and try new things with the color picker. However at the same time while you have the hue bar and hue wheel, it doesn't have the classic wheel with internal triangle: http://www.qtsoftware.com/products/add-on-products/catalog/3/Widgets/colortriangle.png So considering our app is aimed at designers who use photoshop, I might still go ahead and experiment with a <canvas/> based color picker and try supporting one of photoshop's features: http://z.about.com/d/graphicssoft/1/0/i/D/1/psc5-043.gif Canvas should definitely be an interesting experiment, I believe gradients are supported, and there is more freedom to how to setup the ui. ~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) Mark Gibson wrote: > 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 -~----------~----~----~----~------~----~------~--~---
