Colorpicker Widget for Touchdesigner: v1.3
Vložit
- čas přidán 22. 07. 2024
- Herewith a simple but powerful colorpicker widget for Touchdesigner which you can use in your own user interfaces. This widget is build based on the color picker from Serif Affinity Designer, but people working with programs like GIMP, Illustrator, Photoshop will be quite familiar with this kind of colorpicking. Have fun!
The third update adds a couple of nifty features which makes this picker much more dynamic within your own UI building.
Free download at: / colorpicker-for-47031212
Please like and subscribe to stay up to date!
Instagram: / daily.typo
Facebook: / factory-sett. . - Krátké a kreslené filmy
Thank you so so much for releasing it for free. So handy!
One small thing, I've linked "clickthrough" par to "View", because otherwise it captures clicks in the UI even when hidden. You may want to consider this.
Thank you for your reply. It's an old TOX, I might have to take another look at it and update it. I was working on a GLSL version, would make sense to pick that up again...
Very nice tool. 2 standards tips. Don't use parent(3) and parent(2) - it works - but better to use Parent Shortcuts... parent.ColorPicker. Also you don't need the me. in me.parent(), just use parent().
Thank you Greg, much appreciated you've taken the time to have a look! Been a while since I've build this TOX. I'll take your tips into account on the next update!
Really loving this Tutorial. Thanks a lot!
It just happened that wanted to have second button with the same settings as yours to view the COLORPICKER_TOX. Instead I just want to clear the palette. So, I just changed the script in the Panelexecute accordingly:
def onOffToOn(panelValue):
parent(3).op('container2/COLORPICKER_TOX').par.Clearpalette = 1
return
Unfortunately, it's not doing it. Do you have any suggestion on how to access this parameter?
Thank you, glad you liked it! That parameter is not a boolean button, it's just a pulse, so if you'd change your script to:
parent(3).op('container2/COLORPICKER_TOX').par.Clearpalette.pulse()
it should work.
Thanks a lot. This works! Missed the brackets when I tried to pulse