After few days of hard work, I'm happy to say that a new filter 'Patterns / Pack shape' has appeared in the G'MIC plug-in for GIMP (requires 126.96.36.199+).
What it does is take a generic 'shape' (a color image with an alpha-channel) as an input, and eventually a mask, and try to generate a random mosaic consisting of repeated versions of the shape at different scales.
There are two different modes that can be used : either masked or non-masked mode.
Here is a quick description on how it works :
- First, load a simple shape (a small image with transparency), like this :
gmic_packshape1.png [ 81.95 KiB | Viewed 2864 times ]
- Then, open the G'MIC plug-in, refresh your filters if you haven't done it yet, and go to 'Patterns / Pack shape' :
gmic_packshape2.png [ 64.31 KiB | Viewed 2864 times ]
- Let 'Masking' parameter to 'No masking', set your rendering width and height, the number of different scale, etc... then click OK. You'll get this (note that this filter has an accurate progress bar, as it takes some time to compute) :
gmic_packshape3.png [ 308.66 KiB | Viewed 2865 times ]
Now, let's add some masking. You just add a transparent bottom layer with a shape drawn on it. Note that in this case, the final rendering will have the same dimension as your mask image :
and call G'MIC again, but this time, select 'Masking = Mask as bottom layer', and 'Input Layers = All', then click 'OK'. Wait a little bit (more, as masking implies more constraints, and slow down the algorithm).
And this is what you get :
The shapes have been drawn only on the transparent area of the mask image.
Well that's it for this filter, I'm sure you will find a lot of nice uses of it
Just post your creative results here if you have some !
Next to come, a 'Shapism' filter, close to the current 'Circlism' filter but with more shapes.
Let's back to work