Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to know the meanings of three colors, white, blue, and gray. #27

Open
fanybook opened this issue Mar 31, 2023 · 1 comment
Open

Comments

@fanybook
Copy link

fanybook commented Mar 31, 2023

When it comes to colors, each system may use different colors.

I want to know the meanings of three speeds of rx/tx values

@greenec
Copy link

greenec commented Jun 23, 2023

Based on this snippet:

speedometer/speedometer.py

Lines 243 to 265 in 43b25e8

palette = [
# name, 16-color fg, bg, mono fg, 88/256-color fg, bg
# main bar graph
('background', 'dark gray', '', '', 'g20', 'g70'),
('bar:top', 'dark cyan', '', '', '#488', ''),
('bar', '', 'dark cyan','standout', '', '#488'),
('bar:num', '', '', '', '#066', 'g70'),
# latest "curved" + average bar graph at right side
('ca:background', '', '', '', '', ''),
('ca:c:top', 'dark blue', '', '', '#66d', ''),
('ca:c', '', 'dark blue','standout', '', '#66d'),
('ca:c:num', 'light blue','', '', '#006', 'g70'),
('ca:a:top', 'light gray','', '', '#6b6', ''),
('ca:a', '', 'light gray','standout','', '#6b6'),
('ca:a:num', 'light gray','', 'bold', '#060', 'g70'),
# text headings and numeric values displayed
('title', '', '', 'underline,bold', '#fff,bold', '#488'),
('reading', '', '', '', '#886', 'g70'),
# progress bar
('pr:n', '', 'dark blue','', 'g11', '#bb6'),
('pr:c', '', 'dark green','standout','g11', '#fd0'),
('pr:cn', 'dark green','dark blue','', '#fd0', '#bb6'),
]

There's the latest sample in cyan on the chart. To the right of the chart is a light blue bar - a curved reading which tries to smooth out the speed reading, and a white bar on the right for a running average.

The same order holds for the simple output and the text output below the chart:

  • Current sample
  • Curved
  • Running average

Edit: See also: #3 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants