|
|
float | level |
| | average level of beer
|
| |
|
float | ampl |
| | accel amplitude factor
|
| |
|
float | accmax |
| | clamp accel to avoid too large changes
|
| |
|
float | fall_ampl |
| | height a wave will go down at each step
|
| |
|
float | wave_ampl |
| | wave speed
|
| |
|
float | decay |
| | speed decay factor
|
| |
|
float | bounce_ratio |
| | if ratio > 0.5 a wave dropping can increase. Its neighbours height over its new height, thus produce a new wave
|
| |
|
uint32_t | beer_color |
| | color of the beer :)
|
| |
|
uint32_t | foam_color |
| | color of the foam of the beer
|
| |
|
uint32_t | background_color |
| | color background
|
| |
|
std::array< float, LampTy::maxWidth > | levels |
| | level of every matrix columns
|
| |
|
std::array< float, LampTy::maxWidth > | speeds |
| | spped of every matric columns
|
| |
|
std::array< BubbleTy, nbubbles > | bubbles |
| | store the bubbles
|
| |
|
imu::ImuEventTy | imuEvent |
| | Handle imu events.
|
| |
|
|
static constexpr uint32_t | nbubbles = 30 |
| | number of bubbles
|
| |
The documentation for this struct was generated from the following file: