1
0
Fork 0
BangleApps/apps/sunrise
pancake 84bde38d89 Call setUI before loadWidgets 2023-06-09 16:58:51 +02:00
..
ChangeLog Release sunrise 0.02, faster sinus and fix menu button 2023-06-09 16:41:11 +02:00
README.md Initial import of the sunrise watchface 2023-06-09 15:26:29 +02:00
app-icon.js Initial import of the sunrise watchface 2023-06-09 15:26:29 +02:00
app.js Call setUI before loadWidgets 2023-06-09 16:58:51 +02:00
app.png Initial import of the sunrise watchface 2023-06-09 15:26:29 +02:00
metadata.json Release sunrise 0.02, faster sinus and fix menu button 2023-06-09 16:41:11 +02:00
screenshot.png Initial import of the sunrise watchface 2023-06-09 15:26:29 +02:00

README.md

sunrise watchface

This app mimics the Apple Watch watchface that shows the sunrise and sunset time.

This is a work-in-progress app, so you may expect missfeatures, bugs and heavy battery draining. There's still a lot of things to optimize and improve, so take this into account before complaining :-)

  • Lat/Lon hardcoded to Barcelona, but it's configurable if you install the "mylocation app"
  • Shows sea level and make the sun/moon glow depending on the x position
  • The sinus is fixed, so the sea level is curved to match the sunrise/sunset positions)

TODO

  • Access GPS on first start to cache lat+lon to compute sunrise/sunset times
  • Cache constant values once
  • Show month and day too?
  • Improved gradients
  • Faster rendering, by reducing sinus stepsize, only refreshing whats needed, etc

Author

Written by pancake in 2023

Screenshots

sunrise