dmj5
Class DMJ_TrapShapeEgg
Object
common:Generic
common:TrapShape
dmj5:DMJ_TrapShapeEgg
class
- TrapShape:DMJ_TrapShapeEgg
Ultra Fractal Source
Toggle UF Source Code Display
class DMJ_TrapShapeEgg(common.ulb:TrapShape) {
public:
import "common.ulb"
func DMJ_TrapShapeEgg(Generic pparent)
TrapShape.TrapShape(pparent)
endfunc
float func Iterate(complex pz)
TrapShape.Iterate(pz)
return cabs(pz) + cabs(pz-flip(@p_separation))*@p_egginess - @p_separation*@p_egginess
endfunc
default:
title = "Egg"
int param v_dmj_trapshapeegg
caption = "Version (DMJ_TrapShapeEgg)"
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_dmj_trapshapeegg < 100
endparam
float param p_separation
caption = "Separation"
default = 1.0
hint = "Indicates the distance between the focal points of the egg. Widening the distance will make the egg longer."
endparam
float param p_egginess
caption = "Egginess"
default = 0.6666667
hint = "Influences how pointy the egg should be. Use a value of 1.0 for a perfectly elliptical egg; use smaller values for an egg that is more pointed at one end."
endparam
}
Method Summary |
float |
Iterate(complex pz)
call this for each iteration being trapped |
Methods inherited from class Object |
|
DMJ_TrapShapeEgg
public DMJ_TrapShapeEgg(Generic pparent)
DMJ_TrapShapeEgg
public DMJ_TrapShapeEgg()
Iterate
public float Iterate(complex pz)
- Description copied from class:
TrapShape
- call this for each iteration being trapped
- Overrides:
Iterate
in class TrapShape