这个奇怪的UF中的范例,我做了两遍都与结果相去甚远:
Critper3 {
; Generic Mandelbrot set
init:
complex s = #pixel
;s=1-1/s
;s=1-1/s
complex a3 = 0.3333333333333333333
complex pp = (1/(s - s*s) - s)*3/s
complex a0 = sqrt(pp)
complex a2 = a0*((s - 1)/pp - a3)
z = -2*a2
loop:
z = (a3*z + a2)*sqr(z) + a0
bailout:
|z| <= @bailout
default:
title = "Critper3"
center = (0, 0)
param start
caption = "Starting point"
default = (1,0)
hint = "Perturbation. Use (1,0) for the standard Mandelbrot set."
endparam
param power
caption = "Power"
default = (1,0)
hint = "This defines the power of the Mandelbrot set. Use (1,0) \
for the standard Mandelbrot set."
endparam
param bailout
caption = "Bailout value"
default = 128.0
min = 1.0
hint = "Defines how soon an orbit bails out, i.e. doesn't belong \
to the Mandelbrot set anymore."
endparam
switch:
type = "Jritper3"
seed = #pixel
power = power
bailout = bailout
}