Repository navigation
Conversation
Collaborator
|
Hey, to what extent was Claude used in the development? |
Author
I wrote it mostly by and using autocomplete at first. Claude helped me catch some bugs and improve. |
Shows the zodiac sign the Sun is in and the local date it entered that sign. ALARM and LIGHT step through the other signs and their start dates. The sign and the dates are computed from the Sun's ecliptic longitude, so they follow the actual ingress each year. The calculation is in lib/zodiac, a small library with no hardware dependencies, and uses sunpos() from lib/sunriset, which is now exported. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
swamp-dev
force-pushed
the
up/zodiac-face
branch
from
November 16, 2026 22:49
a304387 to
e3c3ccf
Compare
Collaborator
Got it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a zodiac watch face: it shows the zodiac sign the Sun is in, and the local date the Sun entered it.
Scorpon the custom LCD,SCon the classic one).St(1023Stis 23 October).The sign and dates are computed from the Sun's ecliptic longitude, not from a fixed table, so they follow the actual ingress each year (it moves by a day between years). The calculation is in a new
lib/zodiac, which has no hardware dependencies. It usessunpos()fromlib/sunriset, so this PR makes that function non-static and declares it insunriset.h.sunpos()is a low-precision model: ingress times come out within about 15 minutes, so an ingress that close to local midnight can show the neighbouring date.The face is registered in
movement_faces.handwatch-faces.mkbut not added tomovement_config.h.Testing
DISPLAY=classicandDISPLAY=custom.sensorwatch_red, both displays, with the face added tomovement_config.hlocally), on 12 November 2026: the face opens onScorp/1023St; ALARM showsSagit/1122St; LIGHT goes back, and again toLibra/0922St. On the classic LCD the same steps showSCandSA.lib/zodiachas host unit tests in my fork (https://github.com/swamp-dev/second-movement/blob/main/test/test_zodiac.c): the sign changes at the published 2026 and 2028 equinox and solstice times, start dates are the local date in several time zones, and a day-by-day walk of 2026-2030. They pass against the files in this PR.Prepared with Claude Code.