jlb
Class JLB_BasicUserTransform
Object
common:Generic
common:Transform
common:UserTransform
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
}
Methods inherited from class Object |
|
JLB_BasicUserTransform
public JLB_BasicUserTransform()
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