jlb
Class JLB_BasicUserTransform

Object
  extended by common:Generic
      extended by common:Transform
          extended by common:UserTransform
              extended by jlb:JLB_BasicUserTransform

class 
UserTransform:JLB_BasicUserTransform

A basic Transform, z = a1+a2*f(a3*z+a4) Can also be applied to c, of course.


Ultra Fractal Source

Toggle UF Source Code Display

 class JLB_BasicUserTransform(common.ulb:UserTransform) {
 ; A basic Transform, z = a1+a2*f(a3*z+a4)
 ; Can also be applied to c, of course.
  public:
 
   ; @param pz
   ; @return the new pz
   complex func Iterate(complex pz)
     return @a1 + @a2*@f(@a3*pz + @a4)
   endfunc
 
 default:
   title = "Basic"
   int param v_BasicUserTransform
      caption = "Version (Basic_UserTransform)"
      default = 100
      hint = "This version parameter is used to detect when a change has \
              been made to the formula that is incompatible with the \
              previous version. When that happens, this field will reflect \
              the old version number to alert you to the fact that an \
              alternate rendering is being used."
     visible = @v_BasicUserTransform < 100
   endparam
   func f
     caption = "f"
     default = sqr()
     hint = "New v = a1+a2*f(a3*v+a4)"
   endfunc
   complex param a1
     caption = "a1"
     default = (0,0)
     hint = "New v = a1+a2*f(a3*v+a4)"
   endparam
   complex param a2
     caption = "a2"
     default = (1,0)
     hint = "New v = a1+a2*f(a3*v+a4)"
   endparam
   complex param a3
     caption = "a3"
     default = (1,0)
     hint = "New v = a1+a2*f(a3*v+a4)"
   endparam
   complex param a4
     caption = "a4"
     default = (0,0)
     hint = "New v = a1+a2*f(a3*v+a4)"
   endparam
 }
 


Constructor Summary
JLB_BasicUserTransform()
           
 
Method Summary
 complex Iterate(complex pz)
          Transform a single point within a sequence
 
Methods inherited from class common:Transform
Init, IsSolid, IterateSilent
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

JLB_BasicUserTransform

public JLB_BasicUserTransform()
Method Detail

Iterate

public complex Iterate(complex pz)
Description copied from class: Transform
Transform a single point within a sequence

After a sequence has been set up with Init(), this function will be called once for each value in the sequence. Note that all values in the sequence must be processed in order (they cannot be processed out of order). If the sequence contains only one value, Init() will still be called and then Iterate() will be called just once.

Overrides:
Iterate in class Transform
Parameters:
pz -
Returns:
the new pz