NavList:
A Community Devoted to the Preservation and Practice of Celestial Navigation and Other Methods of Traditional Wayfinding
Bangle.js watch / Javascript ephemeris
From: Bill Lionheart
Date: 2023 Apr 10, 10:48 +0100
From: Bill Lionheart
Date: 2023 Apr 10, 10:48 +0100
I just aquired a "hackable smart watch" A bangle.js 2
It is a wrist worn computer with gps/glonass and barometer. It is designed to execute user written programs written in javascript.
It is many years since I wrote any javascript and I understand it has improved a lot. My first reaction to the device (of course!) was to look for an ephemeris. Perhaps to display altitude and azimuth of the sun, like a baby version of Frank's GPS Antispoof for smart phones.
Not wanting to reinvent the wheel I looked for javascript ephemerides (is that the plural?).
Since Steve Mishier's original there have been many forks of his code. This looks like the most recent.
https://github.com/0xStarcat/Moshier-Ephemeris-JS
I wonder if any NavList members have any thoughts or recent experience..
The device only has 256kB RAM, 1MB on-chip flash, 8MB external flash. So my aim is modest. But I want to draw on an open source code that is used by others and I am happy for the device to run only one app.
By the way Frank told me his app uses tables and interpolation, and I am a happy antispoof user, but I wanted to see if this device could do the calculation... thinking it should as one can do it on a programable calculator!
Bill Lionheart
(Ps I use "hackable" in the sense it is user programable, rather than you can stop it to set the time. That said I WOULD want the app to freeze all the values displayed when the button is pressed. That part is easy.)