This crate borrows heavily from fastLED and tweaking4all.
Currently only works for strips/loops. But someday the plan is to extend it.
- Breathe
- Bounce
- Cylon
- Fire
- Meteor
- ProgressBar
- Rainbow
- RunningLights
- Timer
- Twinkle
- SnowSparkle
- Wipe
```toml [dependencies] smartledeffects = 0.1.0
```
```rust
use smartledeffects::{ strip::{self, Effect}, Srgb, };
//...
const COUNT: usize = 55;
let effect = strip::Rainbow::new(COUNT, None);
loop {
let pixels = effect.next().unwrap();
// show pixels
thread::sleep(Duration::from_millis(10));
}
```