A Windy plugin that shows sun and moon positions on the map and gives details about sunset and sunrise times as well as other sun and moon details. This is a full rewrite of version 1 to work with the new windy plugin api and includes a number of improvements.
To use it on desktop go to https://windy.com, then go to Menu
-> Install Windy Plugin
-> Sun and Moon position
-> Install plugin
. You can then access it by right-clicking on the map and selecting Sun Position
. The plugin will stay available even after a reload. (Mobile TBD)
The dial displays the current sun and moon azimuth on the map using a black line from the picker position. Additionally, dashed lines show the azimuth of sunrise and sunset and dotted lines show the azimuth of moonrise and moonset.
The detail pane on the right shows current azimuth and altitude of the sun and moon and their rise and set times. It also shows the current sunlight condition (such as golden hour), and moon phase. Optionally, a timeline can be activated, that shows the timing of astronomical and nautical twilight, and blue and golden hour.
The top of the pane shows a diagram of the sun and moon altitudes over the curse of the current day.
See https://github.com/jacobsjo/windy-plugin-sun-position for the changelog of version 1
- Completely rewritten plugin for windy plugin api v2.
- Using svelte to make plugin more modular
- more compact design
- the dial is no longer bound to the picker and can be moved independently
- added weather information to the timeline
- separate small mobile ui with 3 tabs
- removed the option to hide specific parts of the timeline
- support for radar and satellite timelines
- fix bug when clicking on nadir time in timeline
Contributions are welcome!
To develop, run:
npm i
npm run start
then accept the self-signed certificate by going to https://localhost:9999/plugin.js. Finally, go to https://www.windy.com/developer-mode to load the plugin.
See https://docs.windy-plugins.com/getting-started/ for how to develop a windy plugin.