我有一个mandelbrot分形,我试图放大,但我不知道如何。我该怎么办?这就是绘制分形的方法。
vec4 mandelbrot (vec2 coord){
vec2 z0 = vec2(0.0, 0.0);
int number = fractal (z0, coord);
if (number == -1)
return vec4(0.0,0.0,0.0,1.0);
float v = float(number);
//float factor = -1.0;
return (paletize (v, factor));
}