Mlle Bienvenu
The Childlike Empress
The Word Alchemist
Posts: 1,626
|
Post by Mlle Bienvenu on May 5, 2006 20:06:46 GMT -5
My calculations for a lunar based timetelling system that I made in astronomy once while I was bored , my original idea was to reckon the synodic period of the moon with the sidreal period of the earth, it seems its possible if you reckon by quarter days. synodic period of the moon - 29.5 days 59 half days 118 q. days sidreal period of the earth - 365.26 days 730.5 hd 1461 q. days 1 hour = 45 min 4 hours = quarter day waxing/waning = 3 hours 8 hours= 1 Quarter Day = 6 hours 32 hours = 1 Revolution = 24 hours 4 Q Days = 1 Revolution 29.5 q days = quarter lune = 7 days, 9 hours 59 Q Days = 1 Nolune = 14 days 18 hours 2 Nolunes = 1 Lunar Cycle = 29 days 12 hours 118 Q Days = 1 Lunar Cycle 487 Q Days = 1 Trinary Period = 121 days 18 hours 3 Trinaries = 1 Solar Rev = 365 days 6 hours 1 Solarev = 1461 Q Days The the sun and moon resynch every 172398 q. days or 86199 half days or 43099.5 days or approxomately 118 years (118.0 80821917 repeating )
|
|
Mlle Bienvenu
The Childlike Empress
The Word Alchemist
Posts: 1,626
|
Post by Mlle Bienvenu on May 6, 2006 13:18:01 GMT -5
original code for a metric clock:
onClipEvent (enterFrame) { totalmilliseconds=0 thetime = new Date(); realhour = thetime.getHours(); realminute = thetime.getMinutes(); realsecond = thetime.getSeconds(); realmillisecond = thetime.getMilliseconds(); totalmilliseconds=realmillisecond+(3600000*realhour)+(60000*realminute)+(1000*realsecond); totalb10seconds=int((2.31481481*totalmilliseconds)/1000); /:b10hours=int((totalb10seconds/10000)); totalb10seconds=totalb10seconds-(/:b10hours*10000); /:b10minutes=int((totalb10seconds/100)); totalb10seconds=totalb10seconds-(/:b10minutes*100); /:b10seconds=totalb10seconds; /:realb10hours=/:b10hours; if(/:b10hours>10){/:b10hours=/:b10hours-10}; /:b10hours=(/:b10hours*10)+int(/:b10minutes/10); _root.secondhand.gotoAndStop(/:b10seconds+1); _root.minutehand.gotoAndStop(/:b10minutes+1); _root.hourhand.gotoAndStop(/:b10hours+1); }
|
|