PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
351B

  1. #ifndef FRAME_PARAMS_H__
  2. #define FRAME_PARAMS_H__
  3. struct FrameParams {
  4. uint_fast16_t audioPeak; // range: 0..512
  5. float audioMean; // range: 0..1
  6. float timeMult; // animations are expected to run at 60fps I guess? 1.0==exactly 60fps. 4.0==achieving 15fps, so move 4x faster.
  7. };
  8. struct Point {
  9. uint_fast16_t x;
  10. uint_fast16_t y;
  11. };
  12. #endif