ballin 0.1.2

A colorful interactive physics simulator with thousands of balls, but in your terminal.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Rendering module for ball visualization.
//!
//! This module provides Braille character rendering and density-based coloring
//! for visualizing thousands of balls in the terminal.

pub mod braille;
pub mod density;

pub use braille::{physics_to_subpixel, BrailleCanvas, CellData, NUM_BALL_COLORS};
pub use density::{density_to_color, density_to_foreground};