https://github.com/troglobit/plotty
Library for text terminal plotter
https://github.com/troglobit/plotty
library plotter terminal tty
Last synced: 4 months ago
JSON representation
Library for text terminal plotter
- Host: GitHub
- URL: https://github.com/troglobit/plotty
- Owner: troglobit
- License: isc
- Created: 2020-11-14T10:32:29.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-14T13:15:11.000Z (over 5 years ago)
- Last Synced: 2025-02-13T09:18:24.813Z (about 1 year ago)
- Topics: library, plotter, terminal, tty
- Language: C
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Plotty :: Library for text terminal plotter
===========================================
This is the basic building block for a text based plotter inspired by
mtr (My Traceroute).
Some text X [ ..... ] Number
\ \ \ `--- activity counter
\ \ `------------ activity
\ `---------------------------------- liveness spinner
`-------------------------------------- label
The activity `.....` are dots being inserted at the far right side `]`
bracket, moved one step left for each poll. No activity in a poll
interval inserts a white space.
See it in action in the [mcjoin](https://github.com/troglobit/mcjoin)
project.
Design Iterations
-----------------
While working on this, before landing on the resulting implementation, I
was playing around with several design ideas for the look and feel. The
below are just some of the variants.
```
°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸
°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°
°º¤ø,¸,ø¤°º¤ø,¸,ø¤°º¤ø,¸,ø¤°º¤ø,¸,ø¤°º¤ø,¸,ø¤°º¤ø,¸,ø¤°º¤ø,¸,ø¤°º¤ø,¸,ø¤
_.~"~._.~"~._.~"~._.~"~._.~"~._.~"~._.~"~._.~"~._.~"~._.~"~._.~"~._.~"~.
_.~"~._.~"~._.~"~._.~"~.
_.~"~.
----------------o--O-8--8ooo------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-__.-~"~._.~'~
[___________________________________________________________________________]
[---------------------------------------------------------------------------]
[ ... //O\\ ...... ]
[:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::]
.....:..:..:..::.....':':
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
[......-=o=-................................................................]
[-------=o=-----------------------------------------------------------------]
[======-o0o-================================================================]
```