A toy particle system written in Rust with crossterm
, maybe useful for TUI applications.
Uses ParticleBoundsHandling::Stop
and displays particle based on its velocity. Particles hit the floor and appear to flatten.
cargo run --example fall_to_floor
Uses ParticleBoundsHandling::Wrap
and displays particle based on its velocity. Raindrops moving faster look "thinner" and raindrops moving slower are more rounded.
cargo run --example rainfall
Uses ParticleBoundsHandling::Wrap
and ParticleMovement::RandomSomeDirection
to simulate bugs crawling.
cargo run --example bugs_crawl
Uses ParticleBoundsHandling::Wrap
and varying ParticleMovement::ConstantVelocity
to simulate smoothly passing objects in space, some near and some far in the distance.
cargo run --example spaceflight
Date | Version | Description |
---|---|---|
2024-07-08 | 0.0.1 | Supports minimal animation examples. |