Documentation ¶
Index ¶
- func JuliaContinuousValueHigh(z LargeComplex, maxiter int) (float64, bool)
- func JuliaContinuousValueLow(z complex128, maxiter int) (float64, bool)
- func JuliaOrbitValueLow(z complex128, maxiter int, orbits []params.Orbit) (float64, bool)
- func MandelbrotContinuousValueHigh(c *LargeComplex, maxiter int) (float64, bool)
- func MandelbrotContinuousValueLow(c complex128, maxiter int) (float64, bool)
- func MandelbrotOrbitValueLow(c complex128, maxiter int, orbits []params.Orbit) (float64, bool)
- func MultibrotContinuousValueLow(c complex128, maxiter int, power complex128) (float64, bool)
- type Computation
- type LargeComplex
- type ValueComputation
- func FernValueComputeLow(params params.ImageParams) ValueComputation
- func JuliaContinuousValueComputerHigh(params params.ImageParams) ValueComputation
- func JuliaContinuousValueComputerLow(params params.ImageParams) ValueComputation
- func JuliaOrbitValueComputerLow(params params.ImageParams, orbits []params.Orbit) ValueComputation
- func MandelbrotContinuousValueComputerHigh(params params.ImageParams) ValueComputation
- func MandelbrotContinuousValueComputerLow(params params.ImageParams) ValueComputation
- func MandelbrotOrbitValueComputerLow(params params.ImageParams, orbits []params.Orbit) ValueComputation
- func MultibrotContinuousValueComputerLow(params params.ImageParams) ValueComputation
- func SierpValueComputeLow(params params.ImageParams) ValueComputation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JuliaContinuousValueHigh ¶
func JuliaContinuousValueHigh(z LargeComplex, maxiter int) (float64, bool)
JuliaContinuousValueHigh returns the fractional number of iterations corresponding to a complex in the Julia set in high precision
func JuliaContinuousValueLow ¶
func JuliaContinuousValueLow(z complex128, maxiter int) (float64, bool)
JuliaContinuousValueLow returns the fractional number of iterations corresponding to a complex in the Julia set in low precision
func JuliaOrbitValueLow ¶
JuliaOrbitValueLow returns the distance to the closest orbit hit by the computation of iterations corresponding to a complex in the Julia set in low precision
func MandelbrotContinuousValueHigh ¶
func MandelbrotContinuousValueHigh(c *LargeComplex, maxiter int) (float64, bool)
MandelbrotContinuousValueHigh returns the number of iterations corresponding to a complex in the Mandelbrot set with high precision input
func MandelbrotContinuousValueLow ¶
func MandelbrotContinuousValueLow(c complex128, maxiter int) (float64, bool)
MandelbrotContinuousValueLow returns the fractional number of iterations corresponding to a complex in the Mandelbrot set with low precision input
func MandelbrotOrbitValueLow ¶
MandelbrotOrbitValueLow returns the distance to the closest orbit hit by the computation of iterations corresponding to a complex in the Mandelbrot set in low precision
func MultibrotContinuousValueLow ¶
func MultibrotContinuousValueLow(c complex128, maxiter int, power complex128) (float64, bool)
MultibrotContinuousValueLow returns the number of iterations corresponding to a complex in the Multibrot set (with d > 2)
Types ¶
type Computation ¶
Computation fills in image pixels according to parameters
func CreateComputer ¶
func CreateComputer(computeValue ValueComputation, colorPixel palettes.ColoringFunction, params params.ImageParams) Computation
func CreateFlameComputer ¶
func CreateFlameComputer(params params.ImageParams) Computation
type LargeComplex ¶
type LargeComplex struct {
// contains filtered or unexported fields
}
func (LargeComplex) Abs64 ¶
func (z LargeComplex) Abs64() float64
func (LargeComplex) Add ¶
func (z LargeComplex) Add(c *LargeComplex) LargeComplex
func (LargeComplex) Square ¶
func (z LargeComplex) Square() LargeComplex
type ValueComputation ¶
ValueComputation is a value computation function
func FernValueComputeLow ¶
func FernValueComputeLow(params params.ImageParams) ValueComputation
func JuliaContinuousValueComputerHigh ¶
func JuliaContinuousValueComputerHigh(params params.ImageParams) ValueComputation
JuliaContinuousValueComputerHigh returns a ValueComputation for the julia set with high precision input
func JuliaContinuousValueComputerLow ¶
func JuliaContinuousValueComputerLow(params params.ImageParams) ValueComputation
JuliaContinuousValueComputerLow returns a ValueComputation for the julia set with low precision input
func JuliaOrbitValueComputerLow ¶
func JuliaOrbitValueComputerLow(params params.ImageParams, orbits []params.Orbit) ValueComputation
JuliaOrbitValueComputerLow returns a ValueComputation for the julia set with orbit trapping
func MandelbrotContinuousValueComputerHigh ¶
func MandelbrotContinuousValueComputerHigh(params params.ImageParams) ValueComputation
MandelbrotContinuousValueComputerHigh returns a ValueComputation for the mandelbrot set with high precision input
func MandelbrotContinuousValueComputerLow ¶
func MandelbrotContinuousValueComputerLow(params params.ImageParams) ValueComputation
MandelbrotContinuousValueComputerLow returns a ValueComputation for the mandelbrot set with low precision input
func MandelbrotOrbitValueComputerLow ¶
func MandelbrotOrbitValueComputerLow(params params.ImageParams, orbits []params.Orbit) ValueComputation
MandelbrotOrbitValueComputerLow returns a ValueComputation for the julia set with orbit trapping
func MultibrotContinuousValueComputerLow ¶
func MultibrotContinuousValueComputerLow(params params.ImageParams) ValueComputation
MultibrotContinuousValueComputerLow returns a ValueComputation for the Multibrot set
func SierpValueComputeLow ¶
func SierpValueComputeLow(params params.ImageParams) ValueComputation