Julia Trap
From Ultrafractal Wiki
Julia Trap is a Coloring Algorithm in sam.ucl.
Contents |
What is it?
The Julia Trap Coloring works exactly like a standard orbit trap, except that it uses a Julia set (or a M-set) as trap.
Parameters
Trap Mode
- Closest : Computes the smallest distance between the point and the Julia set and use it to determine the final color.
- Mean : Computes the mean distance between the point and the Julia set and use it to determine the final color.
Julia Set
Determines which Julia set will be used as trap. You can choose between nine "ready to use" Julia sets (1,2,...,9), the M-set and a "custom" Julia set which will use as seed what you enter in the "seed" parameter.
Trap Frequency
It enables you to make the trap "repeat" periodically (if not 0).
Examples
Copyright 2000 Samuel Monnier
juliatrap {
; Copyrights 2000 S. Monnier
; http://www.crosswinds.net/~s31415/index/index.htm
fractal:
title="juliatrap" width=600 height=600 author="Samuel"
created="January 13, 2000" numlayers=9
layer:
caption="New Layer 9" opacity=100 visible=yes alpha=no mergemode=addition
mapping:
center=3.46717315858152341/-1.13398908266963218 magn=0.258666974943782933
angle=25.6154940858251845
formula:
filename="mt.ufm" entry="mt-pixel" maxiter=100 percheck=normal
p_inside=no
inside:
transfer=none repeat=yes
outside:
filename="Standard.ucl" entry="Gradient" transfer=linear repeat=no
p_type="Radial"
gradient:
smooth=yes position=-113 numnodes=6 index=0 color=16777215 index=94
color=4671303 index=97 color=7895160 index=99 color=4671303 index=366
color=0 index=399 color=0
layer:
caption="New Layer 8" opacity=58 visible=yes alpha=no mergemode=overlay
mapping:
center=-0.992170775022562636/-1.30768831319091514
magn=0.483521570861663206 angle=295.615494085825185
formula:
filename="mt.ufm" entry="mt-pixel" maxiter=100 percheck=normal
p_inside=no
inside:
transfer=none repeat=yes
outside:
filename="dmj.ucl" entry="dmj-fBm" transfer=linear repeat=yes p_scale=0.5
p_angle=0 p_step=0.5 p_anglestep=37 p_octaves=7 p_power=2
gradient:
smooth=no position=-13 numnodes=2 index=100 color=16777215 index=254
color=0
layer:
caption="New Layer 6" opacity=100 visible=yes alpha=no mergemode=overlay
mapping:
center=0.176651528722036628/0.802659023836359063 magn=1.07391778483713432
angle=115.615494085825184
formula:
filename="mt.ufm" entry="mt-pixel" maxiter=100 percheck=normal
p_inside=no
inside:
transfer=none repeat=yes
outside:
filename="dmj.ucl" entry="dmj-fBm" transfer=linear repeat=yes p_scale=0.5
p_angle=0 p_step=0.5 p_anglestep=37 p_octaves=7 p_power=2
gradient:
smooth=no position=-13 numnodes=2 index=100 color=16777215 index=254
color=0
layer:
caption="New Layer 7" opacity=100 visible=yes alpha=no
mergemode=difference
mapping:
center=0.802659023836359063/-0.176651528722036628
magn=1.07391778483713432 angle=25.6154940858251845
formula:
filename="mt.ufm" entry="mt-pixel" maxiter=100 percheck=normal
p_inside=no
inside:
transfer=none repeat=yes
outside:
filename="dmj.ucl" entry="dmj-fBm" transfer=linear repeat=yes p_scale=1
p_angle=0 p_step=0.5 p_anglestep=37 p_octaves=7 p_power=2
gradient:
smooth=no numnodes=4 index=5 color=4095306 index=46 color=16107769
index=148 color=1124167 index=300 color=16634854
layer:
caption="New Layer 5" opacity=100 visible=yes alpha=no
mergemode=difference
mapping:
center=-0.265955267850802877/0.404359123896103497
magn=9.63609030562194003 angle=25.6154940858251845
formula:
filename="Standard.ufm" entry="Julia" maxiter=100 percheck=normal
p_seed=-0.3/0.726666666666666667 p_power=2/0 p_bailout=1E20
inside:
transfer=none repeat=yes
outside:
filename="sam.ucl" entry="juliatrap" density=0.1 transfer=arctan
repeat=yes p_mode="Closest" p_jul="Custom Julia" p_seed=-1.7/0.001
p_center=0/0 p_rot=0 p_size=1 p_r=1 p_niter=100 p_freq=0
gradient:
smooth=no position=158 numnodes=4 index=50 color=12160882 index=51
color=0 index=249 color=0 index=357 color=4671303
layer:
caption="New Layer 4" opacity=100 visible=yes alpha=no
mergemode=difference
mapping:
center=-0.265955267850802877/0.404359123896103497
magn=9.63609030562194003 angle=25.6154940858251845
formula:
filename="Standard.ufm" entry="Julia" maxiter=100 percheck=normal
p_seed=-0.3/0.726666666666666667 p_power=2/0 p_bailout=1E20
inside:
transfer=none repeat=yes
outside:
filename="sam.ucl" entry="juliatrap" density=0.1 transfer=arctan
repeat=yes p_mode="Closest" p_jul="Custom Julia" p_seed=-1.7/0.001
p_center=0/0 p_rot=0 p_size=1 p_r=1 p_niter=100 p_freq=0
gradient:
smooth=no position=169 numnodes=4 index=60 color=10395333 index=61
color=14672374 index=259 color=16777215 index=368 color=4671303
layer:
caption="New Layer 3" opacity=100 visible=yes alpha=no mergemode=overlay
mapping:
center=-0.265955267850802877/0.404359123896103497
magn=9.63609030562194003 angle=25.6154940858251845
formula:
filename="Standard.ufm" entry="Julia" maxiter=100 percheck=normal
p_seed=-0.3/0.726666666666666667 p_power=2/0 p_bailout=1E20
inside:
transfer=none repeat=yes
outside:
filename="sam.ucl" entry="juliatrap" density=0.1 transfer=arctan
repeat=yes p_mode="Closest" p_jul="Custom Julia" p_seed=-1.7/0.001
p_center=0/0 p_rot=0 p_size=1 p_r=1 p_niter=100 p_freq=0
gradient:
smooth=no position=174 numnodes=3 index=66 color=8355711 index=119
color=16777215 index=373 color=0
layer:
caption="New Layer 2" opacity=100 visible=yes alpha=no
mergemode=difference
mapping:
center=-0.264955267850802877/0.404359123896103497
magn=9.63609030562194003 angle=25.6154940858251845
formula:
filename="Standard.ufm" entry="Julia" maxiter=100 percheck=normal
p_seed=-0.3/0.726666666666666667 p_power=2/0 p_bailout=1E20
inside:
transfer=none repeat=yes
outside:
filename="sam.ucl" entry="juliatrap" density=0.1 transfer=arctan
repeat=yes p_mode="Closest" p_jul="Custom Julia" p_seed=-1.7/0.001
p_center=0/0 p_rot=0 p_size=1 p_r=1 p_niter=100 p_freq=0
gradient:
smooth=no position=38 numnodes=2 index=37 color=16777215 index=169
color=0
layer:
caption="New Layer 1" opacity=100 visible=yes alpha=no mergemode=multiply
mapping:
center=-0.265955267850802877/0.404359123896103497
magn=9.63609030562194003 angle=25.6154940858251845
formula:
filename="Standard.ufm" entry="Julia" maxiter=100 percheck=normal
p_seed=-0.3/0.726666666666666667 p_power=2/0 p_bailout=1E20
inside:
transfer=none repeat=yes
outside:
filename="sam.ucl" entry="juliatrap" density=0.1 transfer=arctan
repeat=yes p_mode="Closest" p_jul="Custom Julia" p_seed=-1.7/0.001
p_center=0/0 p_rot=0 p_size=1 p_r=1 p_niter=100 p_freq=0
gradient:
smooth=no numnodes=2 index=131 color=0 index=399 color=16777215
}
Copyright 2000 Samuel Monnier
(look at the layers separately}
juliatrap {
fractal:
title="juliatrap" width=600 height=600 author="Samuel"
created="March 24, 2000" numlayers=5
layer:
mapalpha=0 caption="5" opacity=100 visible=yes alpha=no
mapping:
center=-0.527836787641229165/0.232391119853395194 magn=15.559417727368622
angle=90.8343510927302413
formula:
filename="Standard.ufm" entry="FastJulia" maxiter=100 percheck=normal
p_Seed=0.313333333333333333/0.0133333333333333333 p_Bailout=10000000000
inside:
transfer=none repeat=yes
outside:
filename="sam.ucl" entry="juliatrap" density=0.100000000000000006
transfer=arctan repeat=yes p_mode="Closest" p_jul="7" p_seed=0/0
p_center=1/2 p_rot=0 p_size=1 p_r=1 p_niter=100 p_freq=0
gradient:
smooth=no numnodes=3 index=14 color=16777215 index=175 color=0 index=399
color=0
layer:
mapalpha=0 caption="4" opacity=100 visible=yes alpha=no
mapping:
center=-0.527836787641229165/0.232391119853395194 magn=15.559417727368622
angle=90.8343510927302413
formula:
filename="Standard.ufm" entry="FastJulia" maxiter=100 percheck=normal
p_Seed=0.313333333333333333/0.0133333333333333333 p_Bailout=4
inside:
transfer=none repeat=yes
outside:
filename="sam.ucl" entry="juliatrap" density=0.100000000000000006
transfer=arctan repeat=yes p_mode="Closest" p_jul="M-set" p_seed=0/0
p_center=0/0 p_rot=150 p_size=0.2 p_r=1 p_niter=100 p_freq=0.1
gradient:
smooth=yes numnodes=5 index=14 color=16777215 index=126 color=0 index=320
color=0 index=329 color=16777215 index=399 color=0
layer:
mapalpha=0 caption="3" opacity=100 visible=yes alpha=no
mapping:
center=-0.527836787641229165/0.232391119853395194 magn=15.559417727368622
angle=90.8343510927302413
formula:
filename="Standard.ufm" entry="FastJulia" maxiter=100 percheck=normal
p_Seed=0.313333333333333333/0.0133333333333333333 p_Bailout=4
inside:
transfer=none repeat=yes
outside:
filename="sam.ucl" entry="juliatrap" density=0.100000000000000006
transfer=arctan repeat=yes p_mode="Closest" p_jul="M-set" p_seed=0/0
p_center=0/0 p_rot=150 p_size=0.2 p_r=1 p_niter=100 p_freq=0
gradient:
smooth=yes numnodes=5 index=14 color=16777215 index=126 color=0 index=320
color=0 index=329 color=16777215 index=399 color=0
layer:
mapalpha=0 caption="2" opacity=100 visible=yes alpha=no
mapping:
center=-0.527836787641229165/0.232391119853395194 magn=15.559417727368622
angle=90.8343510927302413
formula:
filename="Standard.ufm" entry="FastJulia" maxiter=100 percheck=normal
p_Seed=0.313333333333333333/0.0133333333333333333 p_Bailout=4
inside:
transfer=none repeat=yes
outside:
filename="sam.ucl" entry="juliatrap" density=0.100000000000000006
transfer=arctan repeat=yes p_mode="Closest" p_jul="9" p_seed=0/0
p_center=0/0 p_rot=0 p_size=0.3 p_r=1 p_niter=100 p_freq=0
gradient:
smooth=no numnodes=3 index=14 color=16777215 index=175 color=0 index=399
color=0
layer:
mapalpha=0 caption="1" visible=yes alpha=yes
mapping:
center=-0.527836787641229165/0.232391119853395194 magn=15.559417727368622
angle=90.8343510927302413
formula:
filename="Standard.ufm" entry="FastJulia" maxiter=100 percheck=normal
p_Seed=0.313333333333333333/0.0133333333333333333 p_Bailout=4
inside:
transfer=none repeat=yes
outside:
filename="sam.ucl" entry="juliatrap" density=0.100000000000000006
transfer=arctan repeat=yes p_mode="Closest" p_jul="6" p_seed=0/0
p_center=0/0 p_rot=0 p_size=0.23 p_r=1 p_niter=100 p_freq=0
gradient:
smooth=no numnodes=3 index=14 color=16777215 index=219 color=0 index=399
color=0
}


