simple_animation/
simple_animation.rs

1use tinterm::*;
2
3fn main() {
4    println!("Simple Animation Test");
5    println!("===================");
6
7    // Test static rendering first
8    println!("\n1. Static shimmer rendering:");
9    println!("{}", "✨ Static Shimmer ✨".shimmer(Color::GOLD, None).static_render());
10
11    println!("\n2. Static shine rendering:");
12    println!("{}", "⭐ Static Shine ⭐".shine(Color::CYAN).static_render());
13
14    println!("\n3. Static glow rendering:");
15    println!("{}", "💫 Static Glow 💫".glow(Color::PURPLE, 200).static_render());
16
17    println!("\n4. Basic colors work:");
18    println!("{}", "Red Text".color(Color::RED));
19    println!("{}", "Blue Text".color(Color::BLUE));
20    println!("{}", "Green Text".color(Color::GREEN));
21
22    println!("\n5. Now testing short animation (2 seconds):");
23    print!("Animating: ");
24    "SHIMMER".shimmer(Color::RED, None).speed(300).animate(2);
25
26    println!("Test complete!");
27}