MJW Posted December 2, 2008 Share Posted December 2, 2008 This probably isn't too useful, but I wrote it to generate test cases, and someone else might find it handy. It basically draws a HSV color wheel, centered in the current selection's bounding rectangle. The saturation and value are set on the disk's boundary and center. They're linearly interpolated on the disk. The starting values can be set outside the [0, 1] range. The interpolated values are clamped. This allows transitions to occur over part of the circle. For example, if the saturation is set to 2 on the boundary and 0 in the center, the saturation will be 1 on the outside half of the disk (where the interpolated values are greater than 1), and then transition from 1 to 0 on the inside half. I know it's kind of confusing. The defaults are the value at 1 and the saturation transitioning from 1 to 0 toward the center. It resides in the Render submenu. Here is the DLL: RenderColorWheel.ZIP Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted December 2, 2008 Share Posted December 2, 2008 Ok, I think I got that. How about posting a picture so we can see it in action? Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
MJW Posted December 2, 2008 Author Share Posted December 2, 2008 Here are a couple of examples. This is the default. This is rotated 45 degrees, the saturation set to 0 on the boundary and 3 in the center, and the value set to 2 on the boundary and 0.5 in the center. Quote Link to comment Share on other sites More sharing options...
salu Posted December 3, 2008 Share Posted December 3, 2008 This could come in handy for noodle's eye tut... good job Quote Deviant Art page of cookies I = She Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted December 3, 2008 Share Posted December 3, 2008 Thanks for the pictures MJW, and for the plugin! Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Possum Roadkill Posted May 16, 2009 Share Posted May 16, 2009 I like the looks of this. I'll let you know how it works out. Quote My Gallery SAC, WOTW and Photo Manip Competition Host To visit the Comps click HERE Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.