pub fn d2_path(points: &[((f64, f64), (f64, f64))], color: Color)Expand description
Draws a 2D line (path) between pairs of points on the terminal.
The function interpolates points between two endpoints and draws them using the
cell function.
ยงExamples
let points = &[((1.0, 1.0), (10.0, 10.0))];
trender::d2_path(points, trender::rgb(255, 0, 0));