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

Feature Request: Night Mode #239

Open
Rhumb-Runner opened this issue Feb 11, 2025 · 5 comments
Open

Feature Request: Night Mode #239

Rhumb-Runner opened this issue Feb 11, 2025 · 5 comments

Comments

@Rhumb-Runner
Copy link

Is it possible to invert the chart colors or substitute different colors on the charts to make them less blinding at night?

The attached images are of the same section of chart passed thru a Invert filter in Inkscape. The transformation matrix settings are included.
A simple invert like this would be great.

Thanks, Chuck

Image
Image

@panaaj
Copy link
Member

panaaj commented Feb 11, 2025

Technically yes, but this will be determined by the chart type more than anything.

Raster tiles are images and cannot be styled on the client.

Vector tiles can be styled and therefore could be displayed in day / night mode.

Freeboard-SK supports styled vector charts, the easiest way to do this is use a mapbox style json file.

That said there would be an enhancement required to use a different chart source when the environment changes from day to night.

This may also require updates to chart provider plugins.

If you have vector charts with day / night styles that you could provide that would help with developing a solution.

@Rhumb-Runner
Copy link
Author

Rhumb-Runner commented Feb 11, 2025 via email

@tkurki
Copy link
Member

tkurki commented Feb 12, 2025

@panaaj
Copy link
Member

panaaj commented Feb 12, 2025

If we are talking ENC charts (FSK supports tiles S-57 charts see README) the following color schemes are defined:

  • DAY_BRIGHT
  • DAY_BLACKBACK
  • DAY_WHITEBACK
  • DUSK
  • NIGHT

I can look to add support to change scheme based on day / night.

Examples:

DAY_BRIGHT:
Image

DAY_BLACKBACK:
Image

DAY_WHITEBACK:
Image

DUSK:
Image

NIGHT:
Image

@dirkwa
Copy link

dirkwa commented Feb 16, 2025

Especially in Night mode it would be nice if the FB buttons where "dimmed" too.

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

4 participants