Standard
Class Standard_Inverse
Object
common:Generic
common:Transform
common:UserTransform
Standard:Standard_Inverse
class
- UserTransform:Standard_Inverse
Object version of Inverse in Standard.uxf.
Inverts the complex plane before calculating the fractal. Essentially turns
the fractal "inside out".
Ultra Fractal Source
Toggle UF Source Code Display
class Standard_Inverse(common.ulb:UserTransform) {
;
; Object version of Inverse in Standard.uxf.
;
; Inverts the complex plane before calculating the fractal. Essentially turns
; the fractal "inside out".
;
public:
complex func Iterate(complex pz)
if @usescreen
return #center + @radius / (pz - #center)
else
return @center + @radius / (pz - @center)
endif
endfunc
default:
title = "Inverse"
helpfile = "Uf*.chm"
helptopic = "Html/transformations/standard/inverse.html"
param radius
caption = "Radius"
default = 1.0
exponential = true
hint = "This is the radius of the inversion circle. Larger values \
magnify the fractal."
min = 0
endparam
complex param center
caption = "Center"
default = (0, 0)
hint = "This is the center of the inversion circle."
enabled = !@usescreen
endparam
param usescreen
caption = "Use Screen Center"
default = false
hint = "If enabled, the Center parameter is ignored and the \
center set on the Location tab is used instead. \
Don't enable this while zooming, or the results may be \
confusing."
endparam
}
Methods inherited from class Object |
|
Standard_Inverse
public Standard_Inverse()
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
- the complex value to be transformed
- Returns:
- the transformed value