Expand description
This is a simple(ish) graphics library that runs in the terminal. Repository: https://github.com/Forged-Dyslexic/Trender Author: https://github.com/QuantumLoopHole
Traits§
- Center
Cell - A trait to provide center functionality for integer values.
- FCenter
Cell - A trait to provide center functionality for floating point values.
Functions§
- cell
- Draws a square pixel on the terminal.
- center
- Centers the given coordinates by adding offsets from the provided
array
. - clear
- Clears the terminal screen.
- d2_
map_ cell - Maps out 2D coordinates by converting floating-point values to terminal positions.
- d2_path
- Draws a 2D line (path) between pairs of points on the terminal.
- fill_
colum_ cell - Fills a column of the terminal with a specific color using square pixels.
- fill_
colum_ real_ cell - Fills a column of the terminal with a specific color using “real” cells.
- fill_
row_ cell - Fills an entire row of the terminal with a specific color.
- fill_
screen_ cell - Fills the entire terminal screen with a specific color.
- real_
cell - Draws a “real” pixel in the terminal.
- rgb
- Creates an RGB color.
- row_
test_ cell - Fills a specific row of the terminal with random colors.
- screen_
test_ cell - Fills the screen with random colors.
- show_
curser - Shows the cursor in the terminal.
- square
- Draws a square given bottom-left and top-right coordinates with specified line and fill colors.
- thread_
sleep_ mil - Sleeps the current thread for a specified number of milliseconds.