thanks, c - that really works well. I'm trying to emulate the "hue jitter" in the brushes panel under color dynamics. Same for brightness, and also saturation. So whenever the script it executed, the hue jitters upwards or downwards just a little bit- this does the trick. The only catch is that when it shifts up or down, then the next time the code is run, it shifts again but not from the original color, but from the new color that was just shifted - I hope that makes sense. So in other words the "hue jitter" in the brushes panel keeps the original color in memory (ff0000, for example), and every time you draw a brush stroke, it jitters up or down from ff0000. This script however, jitters from ff0000 the first time you run the script, and now the color has shifted to, say, ff0202. Now, when you run the script a second time, it shifts the color from ff0202 instead of the original ff0000. This causes the jitter to eventually stray further away from ff0000 and shift through the entire color spectrum if you run it enough times. Is there a way to have it always shift from ff0000 no matter how many times you run the script?
... View more