gled 2.6.2

gled is an application for creating animations and effects on artnet or wled light installations
1
2
3
4
5
6
7
8
9
10
11
/// One Artnet Universe can hold up to 512 Positions. As we only support RGB (for now), we can have up to 170 lamps in a universe (=510 Positions).
pub const TEXTURE_SIZE: u16 = 1024;
pub const PREVIEW_TEXTURE_SIZE: u16 = 2048;
pub const UNIVERSES: u64 = 128;
pub const LAMPS_PER_UNIVERSE: u64 = 170;
pub const LAMPS: u64 = UNIVERSES * LAMPS_PER_UNIVERSE;
pub const POSITIONS_BUFFER_SIZE: u64 = LAMPS * 8;
pub const UNIVERSE_BUFFER_SIZE: u64 = 512;
pub const OUTPUT_BUFFER_SIZE: u64 = UNIVERSES * UNIVERSE_BUFFER_SIZE;
pub const PREVIEW_INDICES_BUFFER_SIZE: u64 =
    PREVIEW_TEXTURE_SIZE as u64 * PREVIEW_TEXTURE_SIZE as u64 * 2;