Re: PPalette 7.50 (Mac/PC)
Posted: 22 Mar 2021, 03:00
Thanks so much for trying Lemec.
If the Devs are reading, please get Lemec an updated SDK. It would be greatly appreciated. I imagine other people would like to make plugins as well. I'd certainly be interesting in understanding how it is done.
I did end up creating a little george script that is an attempt at the weighted color picker.
All it does is find the color between the current APen and a pick that the user makes. You can change the 0.5 value to something like 0.2, to make the new pick have a lighter influence.
I've bound 2 weights of it to some hotkeys and can grab a bit, or a lot of a color, and quickly repeat the process. It doesn't have any of the "perceptual" color picking that I think was the secret sauce of the original plugin. It's certainly better than nothing.
If the Devs are reading, please get Lemec an updated SDK. It would be greatly appreciated. I imagine other people would like to make plugins as well. I'd certainly be interesting in understanding how it is done.
I did end up creating a little george script that is an attempt at the weighted color picker.
All it does is find the color between the current APen and a pick that the user makes. You can change the 0.5 value to something like 0.2, to make the new pick have a lighter influence.
I've bound 2 weights of it to some hotkeys and can grab a bit, or a lot of a color, and quickly repeat the process. It doesn't have any of the "perceptual" color picking that I think was the secret sauce of the original plugin. It's certainly better than nothing.
Code: Select all
tv_getapen "rgb"
Parse result s1 r1 g1 b1 a1
tv_piccolor "rgb"
Parse result s2 r2 g2 b2 a2
rA = r1 +(r2-r1)*0.5
gA = g1+ (g2-g1)*0.5
bA = b1+(b2-b1)*0.5
tv_setapen "rgb" rA gA bA