Neocities.org

The Cidoku Network

cidoku.neocities.org

3,849 views
40 followers
182 updates
0 tips
As requested, the Attic converter code. https://satyrs.eu/source/for/app/attic.js Bit of a bodge, but it was one of those projects where once you confirm it works you raise your hands to the sky in relief and swear solemnly never to look at it again.
3 likes
satyrwoud 1 month ago

The actual displaying of the dates is spread thin across my nightmare spaghetti of internationalisation code, so that’s a bring-your-own-beer affair for now! `signedDate` is positive for waxing, negative for waning, and 0 for the hene kai nea, month numbers are 0-indexed from Hecatombæon up, and years and olympiads are 1-indexed.

3 likes
satyrwoud 1 month ago

Living in the UK i have the luxury of always being pretty close to UTC so also this might break terribly if your time zone is far away from either Greenwich or Greece and will *definitely* break horribly if you are in the southern hemisphere.

3 likes
cidoku 1 month ago

This is awesome! It's one of those things that make programming worth it. I'll figure it out and maybe port it to C so I can have a nice companion for my planetary hours program. Thank you, divine Xanthe!

2 likes
cidoku 1 month ago

Oh, and don't worry about it breaking. Living in the southern hemisphere, I'm used to this kind of stuff breaking... but the indomitable human spirit always prevails.

2 likes
satyrwoud 1 month ago

Have fun with the moon calculations then! Last time i tried calculating astronomical positions myself (read: last week) i came to the conclusion that i should turn off the computer, give up, and back away slowly, lol

3 likes
capstasher 1 month ago

OOO what is this???

2 likes
satyrwoud 1 month ago

@capstasher Script to convert standard Gregorian dates into the Attic calendar, the moon-phase-based festival calendar used in ancient Athens

2 likes

Website Stats

Last updated 21 hours ago
CreatedFeb 19, 2022
Site Traffic Stats

Tags

flash art music links blog