18 lines
324 B
C++
18 lines
324 B
C++
#ifndef effect_twirl_H
|
|
#define effect_twirl_H
|
|
|
|
#include "Effect.h"
|
|
#include <Arduino.h>
|
|
|
|
class TwirlEffect : public Effect {
|
|
private:
|
|
uint8_t angleOffset = 0;
|
|
uint8_t _center_offset_angle = 0;
|
|
double _real_center_x = LED_WIDTH / 2;
|
|
double _real_center_y = LED_HEIGHT / 2;
|
|
public:
|
|
void loop();
|
|
};
|
|
|
|
#endif
|