This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compound oscillation demo for ESP32 | |
// Loosely coded by tobozo (c+) apr 2022 - | |
// Inspired by this GIF | |
// - https://twitter.com/bayraitt/status/1514499189975134210 | |
#include <ESP32-Chimera-Core.h> // https://github.com/tobozo/ESP32-Chimera-Core | |
static LGFX &tft(M5.Lcd); | |
static LGFX_Sprite* spriteLines = new LGFX_Sprite( &tft ); | |
static LGFX_Sprite* spriteMix = new LGFX_Sprite( &tft ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#include<ESP32-Chimera-Core.h> | |
#include<LovyanGFX.hpp> | |
#include<algorithm> | |
static LGFX tft; | |
static LGFX_Sprite base(&tft); | |
static LGFX_Sprite sp1(&base); | |
static LGFX_Sprite sp2(&base); | |
static LGFX_Sprite sp3(&base); | |
static LGFX_Sprite sp4(&base); |