TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class Mandelbrot in Tinman.Core.Math

Helper class for computing Mandelbrot samples.

sealed class Mandelbrot  

Remarks

This class is intended for debugging and testing. It can be used to generate highly detailed image content and simulate heavy CPU/IO work.

Public / Constants

PMax

public constant PMax = 0.5
type float64

PMin

public constant PMin = -2
type float64

PRange

public constant PRange = 2.5
type float64

QMax

public constant QMax = 1.25
type float64

QMin

public constant QMin = -1.25
type float64

QRange

public constant QRange = 2.5
type float64

Public / Attributes

Iterations

The maximum number of iterations to perform per sample.

public property Iterations { get set }
type int32
value [>0] The number of iterations.

Remarks:

The default value is 1024.

Public / Constructors

Mandelbrot

Creates a new instance of Mandelbrot.

public constructor Mandelbrot (int32 iterations = 1024)
params iterations [>0] The maximum number of iterations to perform per sample. Defaults to 1024.

Public / Methods

Compute

Computes the Mandelbrot sample at the given coordinates.

public method Compute (float64 p, float64 q)
type float64
params p The Mandelbrot P-coordinate.
  q The Mandelbrot Q-coordinate.
returns [0..1] The smooth Mandelbrot sample value.