Adds rainbows over writers (inspired by lolcat)
Add the following to your Cargo.toml file
toml
[dependencies]
rainbowcoat = "0.1"
```rust extern crate rainbowcoat; use std::io::Write;
fn main() {
write!(
&mut rainbowcoat::Colors::configure(
io::stdout(), 2.0, 0.4, 0.0
),
" _
( |
|
,--./|.--,
.\ \ / /
.
.\ | /
.
/ / ^|^ \ \
/ / | |o | \ \
/===/ | | | \===\
// | |o | _\
| | |
| |o |
| | |
| |o |
| | |
| |o |
|/___|
"
)
}
```
Doug Tangren (softprops) 2017