Expand description
Complex numbers, quaternions, and iterative fractal evaluation.
Provides:
Complex— fully-featured complex number arithmeticQuaternion— 3D rotation quaternion with SLERP and expmap- Fractal samplers: Mandelbrot, Julia, BurningShip, Newton, Lyapunov
- Color mapping utilities for escape-time fractals
Structs§
- Burning
Ship - Complex
- A complex number z = re + im·i.
- Escape
Result - Result of an escape-time fractal iteration.
- Julia
Params - Julia set: z → z^power + c where c is fixed.
- Lyapunov
Fractal - Computes the Lyapunov exponent for a logistic-map-like system. The sequence string alternates between two parameter values A and B.
- Mandelbrot
Params - Parameters for the generalized Mandelbrot set: z → z^power + c.
- Newton
Fractal - Newton’s method fractal for a polynomial p(z)/p’(z). Converges to roots; color by which root was reached.
- Quaternion
- Unit quaternion for 3D rotation: q = w + xi + yj + zk.
Enums§
- Fractal
Palette - Maps an EscapeResult to RGBA color.