Octagonal Gradient

From Ultrafractal Wiki

Jump to: navigation, search

What is it ? :

Octagonal Gradient is a Coloring Algorithm in sam.ucl.


This coloring was primarily designed to be used with the Octagon Limit transformation, but can be of use in other situation. It displays a gradient that has an octagonal shape. The default parameter is such that the octagon is exactly the same as the one of Octagon Limit. It can be used to frame the whole octagon, or to make the edge smoother. Note that you can get a square by setting the "Angle" parameter to either 0 or 45. Use it with "Pixel" in mt.ufm.


Example :

Image:Octlim2.jpg

Copyright 2000 Samuel Monnier


octlim2 {
; Copyrights 2000 S. Monnier
; http://www.crosswinds.net/~s31415/index/index.htm
fractal:
  title="octlim2" width=400 height=400 author="Samuel"
  created="January 16, 2000" numlayers=5
layer:
  method=multipass caption="New Layer 4" opacity=100 visible=yes alpha=no
  mergemode=overlay
mapping:
  center=0.0123961772727272736/-0.00217272727272727264
  magn=0.916666666666666624 angle=0
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_offset=0/0 p_scale=0.3 p_angle=0 p_step=0.5 p_anglestep=37 p_octaves=7
  p_power=2
gradient:
  smooth=no numnodes=2 index=98 color=16777215 index=290 color=0
layer:
  method=multipass caption="New Layer 3" opacity=100 visible=yes alpha=yes
mapping:
  center=0.0123961772727272736/-0.00217272727272727264
  magn=0.916666666666666624 angle=0
formula:
  filename="mt.ufm" entry="mt-pixel" maxiter=100 percheck=normal
  p_inside=no
inside:
  transfer=none repeat=yes
outside:
  filename="sam.ucl" entry="OctogonalGradient" density=0.200000000000000011
  transfer=linear repeat=yes p_angle=26.6
gradient:
  smooth=no numnodes=1 index=211 color=6052956
alpha:
  smooth=yes numnodes=4 index=34 alpha=0 index=49 alpha=255 index=232
  alpha=255 index=233 alpha=0
layer:
  method=multipass caption="New Layer 7" opacity=100 visible=yes alpha=no
  mergemode=hardlight
mapping:
  center=0.0123961772727272736/-0.00217272727272727264
  magn=0.916666666666666624 angle=0 numtransforms=1
transform:
  filename="sam.uxf" entry="OctogonLimitI" p_mode="Mapping" p_niter=30
  p_center=0/0 p_rot=0 p_magn=1
  p_colpoint1=-0.546666666666666688/1.17333333333333328 p_colpoint2=1/0
  p_colpoint3=2/0 p_p1=0.206666666666666656/0.4 p_p2=1/0 p_p3=1/0 p_p4=1/0
  p_p5=1/0 p_p6=1/0 p_p7=1/0 p_p8=1/0 p_p9=1/0 p_p10=1/0
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" density=2 transfer=linear
  repeat=yes p_type="Linear"
gradient:
  smooth=no numnodes=3 index=41 color=11184810 index=42 color=15395562
  index=206 color=1381653
layer:
  method=multipass caption="New Layer 2" opacity=100 visible=yes alpha=no
  mergemode=overlay
mapping:
  center=0.0123961772727272736/-0.00217272727272727264
  magn=0.916666666666666624 angle=0 numtransforms=1
transform:
  filename="sam.uxf" entry="OctogonLimitI" p_mode="Mapping" p_niter=30
  p_center=0/0 p_rot=0 p_magn=1
  p_colpoint1=-0.546666666666666688/1.17333333333333328 p_colpoint2=1/0
  p_colpoint3=2/0 p_p1=0.206666666666666656/0.4 p_p2=1/0 p_p3=1/0 p_p4=1/0
  p_p5=1/0 p_p6=1/0 p_p7=1/0 p_p8=1/0 p_p9=1/0 p_p10=1/0
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" density=2 transfer=linear repeat=yes
  p_offset=0/0 p_scale=0.3 p_angle=0 p_step=0.5 p_anglestep=37 p_octaves=7
  p_power=2
gradient:
  smooth=no numnodes=3 index=29 color=16777215 index=318 color=16777215
  index=353 color=0
layer:
  method=multipass caption="New Layer 1" opacity=100 visible=yes alpha=no
mapping:
  center=0.00739617727272727296/-0.00717272727272727296
  magn=0.916666666666666624 angle=0 numtransforms=1
transform:
  filename="sam.uxf" entry="OctogonLimitI" p_mode="Color" p_niter=30
  p_center=0/0 p_rot=0 p_magn=1
  p_colpoint1=-0.546666666666666688/1.17333333333333328 p_colpoint2=1/0
  p_colpoint3=2/0 p_p1=0.206666666666666656/0.4 p_p2=1/0 p_p3=1/0 p_p4=1/0
  p_p5=1/0 p_p6=1/0 p_p7=1/0 p_p8=1/0 p_p9=1/0 p_p10=1/0
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" density=2 transfer=linear
  repeat=yes p_type="Linear"
gradient:
  smooth=no numnodes=3 index=0 color=254 index=200 color=49150 index=268
  color=16673280
}
Personal tools