Color Jitter / Color Cycling etc

We currently have several features that overlap in functionality:
2 Replies
andybak
andybak7mo ago
1. The existing "jitter" settings that randomly change the brush color for each new stroke 2. The color cycling settings on multimirror that change the stroke color for each of the multiple strokes in the current mirror symmetry. 3. The "Symmetry.AddColor" command in the plugin scripting branch where you can manually set the colors for Symmetry Plugins. I feel we can merge all of these into a single feature. Firstly - "picking a color for each brush stroke" should work the same way whether the new strokes are manually drawn or the result of a multimirror or symmetry plugin. Secondly - the current "Jitter color" feature can be reproduced by the multimirror color settings by picking a noise function with a high frequency There's a few outstanding things to think about - The existing "jitter" functionality also encompasses "jitter size" and "jitter position". How would these fit in? Plugin scripts should be allowed to tap into this system - but also they should be allowed to override it. For plugins this is fine - but how can a plugin interact with regular drawings when you're not using a script? Should be have a new type of plugin "Jitter Plugin"? Or a new event method "OnNewStroke"? or just leave it up to background scripts to do this manually in their update loop? (simpler but has a performance overhead)
AncientWorlds
AncientWorlds7mo ago
Not really sure, although it may be worth considering any way in which overrides from plugin scripting might affect existing scenes that are opened with something that has this functionality.