

UF代码
Nova {
; c=1/c
init:
complex zs = (0,0)
complex zc = (0,0)
complex z = (1,0)
complex zold = (0,0)
; complex c = (0,0)
c = #pixel
z = c
z = z - 1/z
loop:
zold = z
z = z - ([url]http://z^@power-1)/(@power*z^(@power-1))+c*0.12[/url]
bailout:
|z - zold| > @bailout
default:
title = "Nova (Mandelbrot)"
helpfile = "dmj-pub\dmj-pub-uf-hn.htm"
maxiter = 1000
periodicity = 0
center = (-0.5,0)
magn = 1.0
param power
caption = "Exponent"
default = (6,0)
hint = "Overall exponent for the equation. (6,0) gives \
the classic HalleyNovaM type."
endparam
param bailout
caption = "Bailout"
default = 0.00001
hint = "Bailout value; smaller values will cause more \
iterations to be done for each point."
endparam
switch:
type = "Nova "
seed = #pixel
power = @power
bailout = @bailout
}