In theory, a call to
turbulenceis a call to
turbulence 32,6,3,0,0. But a call to
turbulencewithout any trailing parameters only works (for me, because I don't really know what I am doing) if I stop my code short and output to an implicit call to
displayinstead of saving the lot to a file.
For the above image (in PowerShell), I used:
gmic ` input 1000,250,1,3,0 ` turbulence 32,6,3,0,0 ` output image.jpg
- Calls G'MIC.
- Creates a 1000x250 all-black three-color image.
- These are the default values.
- And finally, I save the file.
turbulence radius, octaves, alpha, difference, mode
I am a fan of G'MIC, but the documentation sucks. I mean, it really sucks. For instance, the last parameter is
mode. I assume (as I have not found the place in the documentation where it says) that
moderepresents the different algorithms which have been implemented for
turbulence. And if it is indeed the case that
modeis a listing of algorithms (is it), it would make sense to at least (at the very least) give a name to the different algorithms.
Anyway, in the absence of documentation, the best (in my ever so freakin' increasingly humble opinion) way to figure out what the different parameters do is via experimentation.