返回列表 回复 发帖
123# xiaongxp


难以扫动,因为它的运算太复杂了。由于与原图不一样也就没有在着色上花工夫。
120# 柳烟


做了几个后倒是对这组carr有点感兴趣了,注意这个分形中C也要参入迭代:

carr 1400.JPG (38 KB)

carr 1400.JPG

这个非常简单的代码今天做了三遍没有得到预想的效果,是asin(Z)函数的问题吗?
Carr1689S {

; A "Modified Carr" formula, based on the original with permission.
; Functionality added by Sharon S. Schultz, May, 2003.
; Updated for UF2 by Erik Reckase, Jan 2000
; Mandel

init:
  z = (1/(#pixel-asin(#pixel)))/@scale
  c = 1/(#pixel-asin(#pixel))

loop:
  z = fn1(fn2(fn3(z*z+c)))

bailout:
  |real(z)| <= @bailout

default:
  title = "Carr 1689S"
  method = multipass
  periodicity = 0
  maxiter = 100
  magn = .3
  center = (0,0)

heading
  caption = "Parameters"
endheading

param scale
  caption = "Scale"
  default = 1.0
  hint = "Select a value to scale the image elements."
endparam
param bailout
  caption = "Bailout"
  default = 4
  hint = "Select a bailout value for the formula."
endparam

heading
  caption = "Functions"
endheading

func fn1
  caption = "Change"
  default = ident()
  hint = "Select a function to change the formula."
endfunc
func fn2
  caption = "Change More"
  default = ident()
  hint = "Select a function to change the formula more."
endfunc
func fn3
  caption = "Total Change"
  default = ident()
  hint = "Select a function to totally change the formula."
endfunc
}

Fractal1.jpg (18.43 KB)

Fractal1.jpg

130# 柳烟


很漂亮,我也找到原因了。确为asin(Z)的问题造成的,谢谢。
132# 柳烟


与carr 1400一样:

carr 1407.JPG (46.28 KB)

carr 1407.JPG

135# 柳烟


你检查一下函数是否到位。

1407.gsp (63.13 KB)

carr 1407这个分形很是奇怪,说计算量也不是非常大,可是运行速度却慢地吓人啊。迭代次数才放到200就好象走不动了,到底是什么造成严重影响几何画板的速度呢?从这个分形来看并不是计算的多少,看来还可能与计算的复杂性有关。
139# 柳烟


这个地方有错,你改一下试试:
c=(0.5+flip(imag(sinh(sqrt(flip(c))))))*real(sqrt(conj(tan(c))))/7+z
这个Z应该是Z^2+C
你把问题文件传上来看看。还有一个可能就是sqrt函数。
奇怪了,我今天做这个ahm.ufm系列中的分形。
PerpendicularMSet {
;This produces slice of the second order Mandelbulb directly perpendicular to the regular Mandelbrot set.
init:
Cx=Real(#pixel+@Perturbation)
Cy=Imag(#pixel+@Perturbation)
x=0
y=0
loop:
xTemp=x^2 - y^2 + Cx
y=-2*y*Abs(x) + Cy
x=xTemp
z=x+y*1i
bailout:
|x+y*(1i)|<=@Bailout
default:
center=(-0.5,0)
title="Perpendicular Mandelbrot"
float param Bailout
  default=4
endparam
switch:
type="PerpendicularJulia"
Start=#pixel
}
怎么做都是空白了一大块,逃逸区的部分全部数据溢出,莫名其妙的:

Fractal1.jpg (30.49 KB)

Fractal1.jpg

捕获.JPG (12.81 KB)

捕获.JPG

返回列表