- UID
- 7
- 帖子
- 2888
- 精华
- 10
- 积分
- 2836
|
这个分形大家有兴趣一试吗:
volterra-lotka {
; Written by Luke Plant
; Modified by Frederik Slijkerman
init:
float x = real(pixel)
float y = imag(pixel)
float f = 0.0
float g = 0.0
float x2 = 0.0
float y2 = 0.0
z = pixel
loop:
f = x - x * y
g = -y + x * y
x2 = x + @p * f
y2 = y + @p * g
x = x + @h/2 * (f + ( x2 - x2*y2))
y = y + @h/2 * (g + (-y2 + x2*y2))
z = x + flip(y)
bailout:
|z| < @bailout
其中p,h为参数,可以变换出不同的分形图来。我试了一下得到捕获304的结果: |
-
-
捕获.JPG
(80.67 KB)
-
-
捕获304.JPG
(47.05 KB)
|