|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object common:Generic common:TrapShape mt:MT_TrapShapeSine
class
Mark Townsend, May 2008
class MT_TrapShapeSine(common.ulb:TrapShape) { ; ; Mark Townsend, May 2008 ; public: float func Iterate(complex pz) x = @ha * real(sin(@ht * imag(@fn1(pz)))) y = @va * real(sin(@vt * real(@fn2(pz))) ) m_LastZ = x + flip(y) return cabs(pz - m_LastZ) endfunc default: title = "Sine" param ht caption = "Frequency #1" default = 10.0 endparam param ha caption = "Amplitude #1" default = 0.5 endparam param vt caption = "Frequency #2" default = 10.0 endparam param va caption = "Amplitude #2" default = 0.5 endparam func fn1 caption = "First Function" default = ident() endfunc func fn2 caption = "Second Function" default = ident() endfunc }
Constructor Summary | |
---|---|
MT_TrapShapeSine()
|
Method Summary | |
---|---|
float |
Iterate(complex pz)
call this for each iteration being trapped |
Methods inherited from class common:TrapShape |
---|
GetColorChannel, GetTextureValue, GetTransformedPoint, Init, IterateSilent, SetThreshold |
Methods inherited from class common:Generic |
---|
GetParent |
Methods inherited from class Object |
---|
|
Constructor Detail |
---|
public MT_TrapShapeSine()
Method Detail |
---|
public float Iterate(complex pz)
TrapShape
Iterate
in class TrapShape
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |