位于drd.ufm中:
pseudobrot_generalized {
init:
z = #pixel
v = #pixel
c = #pixel
loop:
d = v^2/c^2
z = fn1(fn2(1-d))
v = #pixel
c = d^z
bailout:
|z| <= 4
default:
title = "pseudobrot_generalized"
method = multipass
maxiter = 100
func fn2
caption = "Primary function"
hint = "This is the first function applied"
default = sqrt()
endfunc
func fn1
caption = "Secondary function"
hint = "This is the second function applied"
default = sqr()
endfunc
}
乍看代码不烦,可我干了大半天,弄出的图总是有众多白色块溢出。 |