File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -186,9 +186,7 @@ function tToRad(date) {
186186}
187187
188188function draw ( date ) {
189- d = date !== undefined ? date : new Date ( ) ;
190-
191- //var d = new Date(),
189+ var d = date !== undefined ? date : new Date ( ) ;
192190 var a = tToRad ( d ) ,
193191 shape = moonShade ( M_POS , SunCalc . getMoonIllumination ( d ) ) ,
194192 sTimes = SunCalc . getTimes ( d , location . lat , location . lon ) ,
@@ -205,15 +203,16 @@ function draw(date) {
205203 } ) ;
206204
207205}
206+ /*
208207const shotTimes = [1720626960000, 1729184400000, 1738298880000, 1717575420000];
209- /* first quarter -2 days moon at 10:20 in the summer
208+ let desc =` first quarter -2 days moon at 10:20 in the summer
210209 jun 10 2024 10:56
211210full moon at 12 noon near fall equinox
212211 Sep 17 2024 12:00
213212new moon at 11pm in winter
214213 dec 30 2024 23:48
2152143rd quarter moon at 03:17 am
216- May 5 2024 03:17*/
215+ May 5 2024 03:17`
217216
218217function screenshots(times) {
219218 let d = new Date();
@@ -223,7 +222,7 @@ function screenshots(times) {
223222 g.dump();
224223 }
225224}
226-
225+ */
227226// Clear the screen once, at startup
228227g . reset ( ) ;
229228// requires the myLocation app
You can’t perform that action at this time.
0 commit comments