- UID
- 7
- 帖子
- 2888
- 精华
- 10
- 积分
- 2836
|
再一个Uf难题,如何把两种分形合并在一个画面上(两个分形的空白逃逸区内分别画另一个分形):
JD-SG-04 {
; Sylvie Gallet [101324,3444], 1996
; use p1 and p2 to adjust the inverted Mandel
; modified for UF multi-layer capability by
; Erik Reckase, March 2000
init:
IF (@p3==1)
z=c = pixel
ELSEIF (@p3==0)
z=c = @p1/(pixel + @p2)
ELSE
IF (whitesq)
z=c = pixel
ELSE
z=c = @p1/(pixel + @p2)
ENDIF
ENDIF
loop:
z = z*z + c
bailout:
|z| < 4
default:
title = "JD-SG-04"
periodicity = 0
maxiter = 500
magn = 1
center = (0,0)
method = multipass
param p1
caption = "2nd Mandel Scalar"
default = (-1,0)
hint = "Controls the rotation and scale of the second \
mandel. If multi-layer ,only affects Layer Option '1'"
endparam
param p2
caption = "2nd Mandel Const"
default = (0,0)
hint = "Controls the X/Y position of the second mandel. \
If multi-layer, only affects Layer Option '1'"
endparam
param p3
caption = "Layer Option"
enum = "Option 1" "Option 2" "Original"
default = 2
hint = "Options 1 and 2 are the two separate layers of this \
formula. The 'Original' option uses the original \
PHC formula."
endparam
} |
|