CC-Fractal-Suite
Public Member Functions | Public Attributes | List of all members
CC::Lyapunov Class Reference

Lyapunov Fractal Class. More...

#include <Lyapunov.h>

Inheritance diagram for CC::Lyapunov:
CC::Fractal

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
 

Detailed Description

Lyapunov Fractal Class.

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.

Constructor & Destructor Documentation

§ Lyapunov()

CC::Lyapunov::Lyapunov ( LyapunovStashData lyaData)

Construct a Lyapunov Fractal with data from a LyapunovStashData.

Member Function Documentation

§ calculate()

CC::FractalCoordsInfo CC::Lyapunov::calculate ( COMPLEX  coords)
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.

§ generate_sequence()

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.


The documentation for this class was generated from the following files: