概要
Coloring
For definition of
see Visualising Julia sets and the helper functions.
is sufficient to show the Julia set.
stresses the bright parts.
serves to shade the Fatou set (green) and is "merged" with
to
, the brightness. The hue
is set according to the basin of attraction. There are two basins for this ƒ: one belonging to the attractor ∞.
int basin = getBasin (z);
K = EX+2.3*sigma;
X = log(ss) - K;
if (basin == 0 || X > 0)
v = hfunc(X, .6);
else
v = hfunc(X, .09);
v = 1-pow(1-v,2);
double x;
if (abstand2 (o, _0) < 10)
{
x = (bfunc (15, ss));
x = 0.7*(1-x);
v = 1-(1-v)*(1-x);
return hsv2rgb (0.3, 1-v, v);
}
else
{
return hsv2rgb (0.75, 1-v, v);
iv = (-.1+JCOLORS) * v;
}
color.index = iv;
return color;
}
}