I coded some funny stuff for a paintop called spray. The idea behind it was that I wanted to add a “killer” feature to krita — spray that behaves like MS Paint spray. But then I added support for anti-aliased pixels, then I added support for shapes and it started to be fun, so I added more features. So here is what you can paint with it when you compile from trunk:
First two images are post-processed. The second one with deform brush and both are filtered with Filter->Enhance->Mean Removal filter in Krita.
Let me describe the spray brush a little. Default values are in braces.
First GUI dialog sets information about the area you will spray. So you setup the diameter (100 pixel) of the circle area where you are going to spray, you specify how much percent of the area should be sprayed (0,001 % of the circle volume) This attribute will be probably changed to exact number of objects you want to spray probably, so far it is adaptive to the diameter of the circle.
Then you can turn on jitter of the movement. So when you spray, spray brush shake with your position. You can specify how far he will shake.
Spacing is feature known from others brush engines, so you probably know it. It sets spacing for the your spray area. And you can scale the area with scale. It scales positions of sprayed objects towards centre of your spray area.
Next GUI screen is Spray Object. Here you can specify what will be sprayed. You can select Pixel (do you remember MS Paint spray, this is how it looks in krita 😉 ), Particle (anti-aliased pixel) and Shape (default). So far there are 3 shapes (circle, pixel, anti-aliased pixel – particle). You can specify shape size and jitter size means that object will be sprayed with random size from 1 to dimensions you specify. Objects are rotated according the centre of you spray brush.
I added rate option for freehand tool, so you can specify how fast the spray sprays, but it works for now just when you don’t generate events, which means when you just press your left mouse button and you don’t move. You specify milliseconds.
I hope you enjoy pictures and now go and make some own and you are welcome to share them in comments 😉