Class SparkleAnimation

Inheritance Relationships

Base Type

Class Documentation

class SparkleAnimation : public PixelMaestro::Animation

Public Functions

SparkleAnimation(Section &section)
~SparkleAnimation()
uint8_t get_threshold() const

Returns the threshold for activating a Pixel.

Return

Activation threshold.

void set_threshold(uint8_t threshold)

Sets the chances of a Pixel turning on.

Parameters
  • threshold: Chance that an individual Pixel will turn on (0 - 255).

void map()
void update()