CC-Fractal-Suite
|
Lyapunov Fractal Class. More...
#include <Lyapunov.h>
Public Member Functions | |
Lyapunov (LyapunovStashData &lyaData) | |
Construct a Lyapunov Fractal with data from a LyapunovStashData. More... | |
FractalCoordsInfo | calculate (COMPLEX coords) |
Returns Fractal Info for a particular set of coords. More... | |
std::vector< fpreal > | generate_sequence (fpreal x, fpreal y) |
Returns a sequence of values based on data.seq. More... | |
Public Attributes | |
LyapunovStashData | data |
Lyapunovs are fundamentally distinct from the other Mandelbrot-based fractals in the CCFS. They are not self similar, and are optically fairly primitive. However, they don't require deep zooms, require few iterations to achieve a 'final' looking quality, and have many different ways of being animated.
CC::Lyapunov::Lyapunov | ( | LyapunovStashData & | lyaData | ) |
Construct a Lyapunov Fractal with data from a LyapunovStashData.
|
virtual |
Returns Fractal Info for a particular set of coords.
This is the only 'legal' way to calculate a fractal. This is because while a Fractal Node may have different cooking schemes, this enforces a uniformity with mathematically how the fractals cook. In other words, any COP2 node cooking type can theoretically cook any Fractal.
Implements CC::Fractal.
std::vector< fpreal > CC::Lyapunov::generate_sequence | ( | fpreal | x, |
fpreal | y | ||
) |
Returns a sequence of values based on data.seq.
When seq is equal to zero, 'X' is returned, and when seq is equal to one 'Y' returned. All other values are linearly interpretpreted between 'X' and 'Y'. 'X' and 'Y' symbolize cartesian coordinates. Lerping these values has the effect of 'rotating' a spike in the Lyapunov image.