- UID
- 22171
- 帖子
- 418
- 精华
- 1
- 积分
- 1185
|
柳老师,次分形对于阀值和次数十分敏感,稍有不同便大相径庭
这是根据您的程序做的,这是UF代码及其参数,您看看
Mandelbrot5 {
init:
z = #pixel
c = @start
z2 = 10
z1 = 20
loop:
z1 = z
z2= (1 - z1^@power)/(z1 - z1^@power*cos(z1))+ c
z =(1 - z2^@power)/(z2 - z2^@power*cos(z2))+ c
bailout:
;|z| < @bailout1
|z-z1| > @bailout && |z| < @bailout1
default:
title = "Mandelbrot5"
center = (0, 0)
param start
caption = "Starting point"
default = (-1.05445654699195010595,0)
endparam
param power
caption = "Power"
default = (2,0)
endparam
float param bailout
caption = "Bailout value"
default = 1E-6
endparam
param bailout1
caption = "Bailout1"
default = 1200000.0
endparam
} |
|