But you need one finger less to type it
Thanks for the info, I’ll try to see if I can use it for something (masking?)
But you need one finger less to type it
Thanks for the info, I’ll try to see if I can use it for something (masking?)
Had some time today to experiment a way to recreate Apollonian gasket as a G’MIC script.
Here it is:
# Apollonian Gasket rendering in G'MIC.
# (see: https://en.wikipedia.org/wiki/Apollonian_gasket).
apollonian_gasket :
# Init.
siz=1280 rad:=$siz/2.2
$siz,$siz,1,2
circle {[$siz,$siz]/2},$rad,1,1
repeat 3 { circle {[$siz,$siz]/2+0.537*$rad*cexp([0,90°+$>*120°])},{0.464*$rad},1,0,{2+$>} }
# Iterate.
ind=4 e " > Computing"
do
sh 0 +distance. 0 x,y,r:="x = xM; y = yM; [ x,y,i(x,y) - 1 ]" rm[-2,-1]
circle $x,$y,$r,1,0,$ind ind+=1
e "\r > Computing "{`c=arg0(int($>/10)%4,124,47,45,92);[c,c==92?92:0]`}
while $r>3
# Decorate.
k. channels 100%
+n. 0,255 map. hot
l[0] { g xy,1 a c norm != 0 * 255 to_rgb }
max rs 80%
A bit slow, but at least it does something
Some results and variations: