class Test {
static complex func f(complex z, complex c)
return z^3/(z+.3) + c
endfunc
}
Testbrot {
init:
z = 0
loop:
;z = z^3/(z+.3) + #pixel
z = Test.f(z,#pixel)
bailout:
|z| <= @bailout
default:
title = "TestBrot"
center = (0, 0)
float param bailout
caption = "Bailout value"
default = 1e16
endparam
}
Fractal1 {
fractal:
title="Fractal1" width=800 height=600 layers=1
credits="user;6/17/2018" antialiasing=yes
layer:
caption="Background" opacity=100
mapping:
center=-1.1116464547149054924890175/0.4896797411711562585172589
magn=1.9321599E16
formula:
maxiter=19811 adjust=yes filename="Test.ufm" entry="Testbrot"
p_bailout=1e16
inside:
transfer=none
outside:
transfer=linear filename="Standard.ucl" entry="Basic"
p_type=Iteration
gradient:
smooth=yes rotation=-63 index=0 color=13331232 index=104
color=16777197 index=193 color=43775 index=279 color=512 index=-64
color=6555392
opacity:
smooth=no index=0 opacity=255
}
````
class Test {
static complex func f(complex z, complex c)
return z^3/(z+.3) + c
endfunc
}
Testbrot {
init:
z = 0
loop:
;z = z^3/(z+.3) + #pixel
z = Test.f(z,#pixel)
bailout:
|z| <= @bailout
default:
title = "TestBrot"
center = (0, 0)
float param bailout
caption = "Bailout value"
default = 1e16
endparam
}
````
````
Fractal1 {
fractal:
title="Fractal1" width=800 height=600 layers=1
credits="user;6/17/2018" antialiasing=yes
layer:
caption="Background" opacity=100
mapping:
center=-1.1116464547149054924890175/0.4896797411711562585172589
magn=1.9321599E16
formula:
maxiter=19811 adjust=yes filename="Test.ufm" entry="Testbrot"
p_bailout=1e16
inside:
transfer=none
outside:
transfer=linear filename="Standard.ucl" entry="Basic"
p_type=Iteration
gradient:
smooth=yes rotation=-63 index=0 color=13331232 index=104
color=16777197 index=193 color=43775 index=279 color=512 index=-64
color=6555392
opacity:
smooth=no index=0 opacity=255
}
````