kcc5
Class KCC_BallsTrap

Object
  extended by common:Generic
      extended by common:TrapShape
          extended by kcc5:KCC_BallsTrap

class 
TrapShape:KCC_BallsTrap

The Balls trap.

When this trap is used with the Orbit Traps Direct (UF5) coloring in dmj5.ucl, the Trap Threshold value needs to be greater than or equal to the Balls size parameter to produce a result similar to the Balls mode in Carlson Orbit Traps in kcc3.ucl.

For an example of what this trap looks like, click here.


Ultra Fractal Source

Toggle UF Source Code Display


Constructor Summary
KCC_BallsTrap()
           
KCC_BallsTrap(Generic pparent)
          constructor
 
Method Summary
 float GetTextureValue()
          Get texture value.
 void Init(complex pz)
          call this before each sequence of values to be trapped
 float Iterate(complex pz)
          call this for each iteration being trapped
 
Methods inherited from class common:TrapShape
GetColorChannel, GetTransformedPoint, IterateSilent, SetThreshold
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

KCC_BallsTrap

public KCC_BallsTrap(Generic pparent)
constructor


KCC_BallsTrap

public KCC_BallsTrap()
Method Detail

Init

public void Init(complex pz)
call this before each sequence of values to be trapped

Overrides:
Init in class TrapShape

Iterate

public float Iterate(complex pz)
call this for each iteration being trapped

Overrides:
Iterate in class TrapShape

GetTextureValue

public float GetTextureValue()
Description copied from class: TrapShape
Get texture value.

Ordinarily, a trap shape does not have a native texture (it is flat). Some formulas may pair trap shapes with trap textures, and may need more information about trap textures when trap shapes are nested via TrapShapeMerge. This function provides support for accessing texture information.

Overrides:
GetTextureValue in class TrapShape
Returns:
the texture value for the last point used (i.e. call GetTextureValue() after calling Iterate(), not before)