Expand description
A module containing various helper functions and structs
Functionsยง
- Returns the size of the terminal as a
Vec2D, usingterminal_size::terminal_size() - interpolate
Deprecated Draw a pseudo-line between the independent and dependent positions. - Returns true if the
Vec2Ds in the vector are arranged clockwise - Extract the positions from a vector of
Pixels - Combine a vector of
Vec2Ds and a singlefill_charinto a vector of(Vec2D, char)tuples, ready to return forViewElement::active_pixels. Useful if yourViewElementonly has one fill character across all of it