Releases: frangins/led_effects
Releases · frangins/led_effects
0.2.0
Added
- [sequence] Add a
ConfigWithMainColorandConfigWithSecondaryColortraits,
in order to set configuration capabilities to sequences. This replaces the old
OneParameterSequenceandTwoParameterSequencetraits. - [sequence] Add
GradientConfig,RainbowConfigandUnicolorConfigto work
with the newSequencetrait. - [sequence] Add a
Symmetrysequence that transforms a sequence to a symmetry. - [sequence] Add a
Duplicatesequence that repeats a sequence multiple times. - [sequence::Rainbow] Add the ability to control the color range of the rainbow.
- [chaser::RandomUnicolor] Add a
set_temperaturemethod to set the color
temperature.
Changed
- BREAKING: [sequence::Sequence] Add a
Configassociated type. - BREAKING: [sequence::Sequence] Add a
newassociated function to create a
sequence from a givenSelf::Config. - BREAKING: [sequence::Sequence] Add a
configmethod to get the
configuration of the sequence. - BREAKING: [sequence::Gradient] Implement
Sequence::newinstead of
TwoParameterSequence::new - BREAKING: [sequence::Rainbow] Implement
Sequence::newinstead of
OneParameterSequence::new - BREAKING: [sequence::Unicolor] Implement
Sequence::newinstead of
OneParameterSequence::new - BREAKING: [chaser::RandomUnicolor] Do not implement the
SimpleRandomChasertrait, because this is a constraining and not really
useful abstraction. - BREAKING: [chaser::RandomUnicolor] Require a hue distribution in the
constructor. - [chaser::RandomUnicolor] Update the ongoing transition time config in
set_time_config.
Fixed
- [chaser::UnicolorTransition] Fix an issue where they could be a division by
zero when the transition time is very low.
0.1.0
superframe-1.0.0
Added
- Initial version, part of superframe, featuring:
- an abstraction over sequences of LEDs, representing the static state of a set of LEDs,
- an abstraction over chasers, representing an iterable succession of LED sequences,
- unicolor, gradient and rainbow sequences,
- unicolor transition, randow unicolor, and cyclic rainbow chasers.