BoltBait Posted March 24, 2019 Share Posted March 24, 2019 I was playing with the Complementary Colors Calculator at https://www.sessions.edu/color-calculator/ I made a plugin to simulate the algorithm... Not an official release yet as I may need to tweak the algorithm I wrote. I could not find a good source for the code, so I cobbled together something that kinda works. Here's how it looks: (It lives in the Effects > Fill menu.) It fills your selection with the selected color. Use it to build a palette for your design project. The help file (?) contains more information. And, here's the download: complement.zip Enjoy. 2 2 Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
Pixey Posted March 24, 2019 Share Posted March 24, 2019 This could be very useful indeed when painting Many thanks @BoltBait 🍺 Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
xod Posted March 24, 2019 Share Posted March 24, 2019 Thank you BB. There is a plugin called Color Harmonies. Is it different from what you offer us? Quote Link to comment Share on other sites More sharing options...
BoltBait Posted March 24, 2019 Author Share Posted March 24, 2019 2 hours ago, xod said: There is a plugin called Color Harmonies. Is it different from what you offer us? Honestly, I have no idea. I never downloaded that plugin. But, I'll take a guess and say that it is probably using the RGB colorwheel instead of the RYB colorwheel I'm using. Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
Reptillian Posted March 24, 2019 Share Posted March 24, 2019 http://nishitalab.org/user/UEI/publication/Sugita_SIG2015.pdf Would the above be of any help? Just found it when searching for an answer to color space. Quote G'MIC Filter Developer Link to comment Share on other sites More sharing options...
BoltBait Posted March 24, 2019 Author Share Posted March 24, 2019 Thanks, but converting between the two color spaces was not necessary. And, I had actually found code for that anyway. https://github.com/sanjayatpilcrow/SharpSnippets/blob/master/POCs/POCs/Sanjay/SharpSnippets/Drawing/ColorExtensions.cs What I found difficult was measuring distances around the RYB colorwheel since the hue between each color is a different distance. This can be seen in the colorwheel shown in the help file (if you calculate the distances between each color). I ended up just hard coding a 360 byte array. Here is what I used for RYB P S P S P S P (P=Primary, S=Secondary) Compare that to RGB The colors are in the same order, just some areas are stretched and some are compressed in the RYB model. In the RGB model, all hue's are equally spaced. (I had to write a CodeLab script to create that RYB image. BTW, it doesn't matter that the green is dark, I'm only looking at the Hue.) Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
Seerose Posted March 24, 2019 Share Posted March 24, 2019 Sir @BoltBait! I really appreciate this and all your hard work. Thank you for sharing this with us! Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
Reptillian Posted March 25, 2019 Share Posted March 25, 2019 (edited) From what I found, the RYB bar doesn't seem very accurate. Here's what I got with my own g'mic command, looks more like the reference you posted in the original link. This is more based on painting, and the only downfall is the blue is terrible. EDIT: Never mind. Just making this more saturated alone the desaturation issue. Edited March 25, 2019 by Reptillian Quote G'MIC Filter Developer 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.