terminal_graphics_interactive 0.2.0

Keyboard and mouse input for terminal_graphics: build interactive terminal games, art and animations. Almost no unsafe.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use terminal_graphics_interactive::prelude::*;

fn main() -> std::io::Result<()> {
    // Bubbles float up (gravity is negative). The mouse pulls them. Click to add one.
    World::new()
        .balls(14)
        .size(1.6)
        .gravity(-0.004)
        .mouse_pulls()
        .trails()
        .palette(Palette::ocean())
        .run()
}