Class PlasmaAnimation

Inheritance Relationships

Base Type

Class Documentation

class PlasmaAnimation : public PixelMaestro::Animation

Public Functions

PlasmaAnimation(Section &section)
~PlasmaAnimation()
float get_resolution() const

Returns the plasma resolution.

Return

Plasma resolution.

float get_size() const

Returns the plasma size.

Return

Plasma size.

void map()

Updates the plasma map. This occurs whenever we change the grid size, plasma size, or plasma resolution.

void set_resolution(float resolution)

Sets the resolution (sharpness) of each plasma.

Parameters
  • resolution: Plasma resolution.

void set_size(float size)

Sets the size of each plasma.

Parameters
  • size: Plasma size.

void update()