Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Attributes | List of all members
lampda::modes::custom::nudz::NudzBeerGlassMode::StateTy Struct Reference

Public Attributes

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::vector< float > levels
 level of every matrix columns
 
std::vector< float > speeds
 spped of every matric columns
 
uint32_t nbubbles
 number of bubbles
 
std::vector< BubbleTybubbles
 store the bubbles
 
imu::ImuEventTy imuEvent
 Handle imu events.
 

The documentation for this struct was generated from the following file: