A script for randomised gradient brush ?

Talk about Pixelmator Pro, share tips & tricks, tutorials, and other resources.
User avatar

2022-02-20 22:37:46

Hello, i was wondering whether it's possible to draw with a brush that with each, let's say 5px, gradually randomly changes its colour. If so, could anyone please, share the code to tweak?

Also I was thinking of creating pre-defined in terms of "colour set direction" randomised brushes. Like one brush, for instance, could use colours around white, bright pink, bright yellow-green and set up in such way that it doesn't go into dark areas. Whether another one could be more like space, cosmos dark purple, deep black, some random small spots of "stars" like gradients from bright-white-yellow-transparency mixing with the dark colours around it.
User avatar

2022-02-21 11:39:23

Hey Keihol! There are Scatter sliders under the advanced brush settings you can tweak to change the hue, opacity, saturation, or lightness of each brush mark. However, if you're looking for a smooth, gradient-like transition of colors, it would have to be done in some different way, for instance, using clipping masks:
Image