ascii-side-of-the-moon 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.cjs +143 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{index.js → index.mjs} +145 -35
- package/dist/index.mjs.map +1 -0
- package/package.json +1 -2
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
'use strict';var K=require('astronomy-engine');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var K__namespace=/*#__PURE__*/_interopNamespace(K);var c=K__namespace.default??K__namespace;function k($,t){let n=new Date($.getTime());return n.setDate(n.getDate()+t),n}function u($){let t=c.Illumination(c.Body.Moon,$).phase_fraction;return c.Illumination(c.Body.Moon,k($,1)).phase_fraction>t}function z($){let t=c.Illumination(c.Body.Moon,$),n=c.Libration($);return {date:$,phase:{phaseAngleDeg:t.phase_angle,illuminatedFraction:t.phase_fraction,isWaxing:u($)},size:{distanceKm:n.dist_km,angularDiameterDeg:n.diam_deg},libration:{elon:n.elon,elat:n.elat}}}var d={moons:[{index:0,distance_km:405493.5,libration_elat:-0.888,libration_elon:-0.412,ascii
|
|
1
|
+
'use strict';var K=require('astronomy-engine');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var K__namespace=/*#__PURE__*/_interopNamespace(K);var c=K__namespace.default??K__namespace;function k($,t){let n=new Date($.getTime());return n.setDate(n.getDate()+t),n}function u($){let t=c.Illumination(c.Body.Moon,$).phase_fraction;return c.Illumination(c.Body.Moon,k($,1)).phase_fraction>t}function z($){let t=c.Illumination(c.Body.Moon,$),n=c.Libration($);return {date:$,phase:{phaseAngleDeg:t.phase_angle,illuminatedFraction:t.phase_fraction,isWaxing:u($)},size:{distanceKm:n.dist_km,angularDiameterDeg:n.diam_deg},libration:{elon:n.elon,elat:n.elat}}}var d={moons:[{index:0,distance_km:405493.5,libration_elat:-0.888,libration_elon:-0.412,ascii:`
|
|
2
|
+
|
|
3
|
+
._ . - .
|
|
2
4
|
,_++> a, +. \`-.
|
|
3
5
|
zr' ^ ~")ssy_ss_. e__
|
|
4
6
|
^' w3$B$#R$2tBW&\`x.
|
|
@@ -21,7 +23,11 @@
|
|
|
21
23
|
\`^^T&~v$R$B@@$@BB$$y@$$E@$$@A&N0M"~~
|
|
22
24
|
'Nv?52EMJ!_@$5g@@$R@RA$@E@7nF"^
|
|
23
25
|
"^ 74~0~#<ERggkA=s3p4yyL. \`
|
|
24
|
-
\` \`\`^^ ^@n8m+"
|
|
26
|
+
\` \`\`^^ ^@n8m+"\`^
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
`},{index:1,distance_km:361882.7,libration_elat:5.044,libration_elon:.661,ascii:`
|
|
30
|
+
. -r..
|
|
25
31
|
_1{ *~ ML1W>u, _ . ^..,
|
|
26
32
|
y/ ^w@@$@sEgg_9u_{_
|
|
27
33
|
\` .yyB@$4@@@e#jmg\\Wk"*+.
|
|
@@ -47,7 +53,8 @@
|
|
|
47
53
|
\`!7RvsyJ_D$@~$0$$B@@@00%@$4AT2Ef7^<
|
|
48
54
|
T$('@KEWc54$2Z$M$R#@MUT@NK1 "
|
|
49
55
|
\`T^^+{$)$2a73I9;@%RcM\`"
|
|
50
|
-
~'"\`'
|
|
56
|
+
~'"\`'~
|
|
57
|
+
`},{index:2,distance_km:363474.7,libration_elat:-4.493,libration_elon:2.394,ascii:` _
|
|
51
58
|
. .- T - -,
|
|
52
59
|
-bZ?-aLrw*j_ : .
|
|
53
60
|
: _$Y^ ~ ^-XRyw|,, ~-
|
|
@@ -74,7 +81,9 @@
|
|
|
74
81
|
^@V%@5@Q5WXE@@@R2@@RWR$b@$4@$WXMW]
|
|
75
82
|
r'AF)[%st$@BEc$E@Bx?t5_@"T\`^
|
|
76
83
|
~^ !7iT5$Z@@R0HW~4!
|
|
77
|
-
~ ~~
|
|
84
|
+
~ ~~ \`
|
|
85
|
+
`},{index:3,distance_km:363808.5,libration_elat:-0.275,libration_elon:.915,ascii:`
|
|
86
|
+
\\ l.r
|
|
78
87
|
._u:UK4 ^v w_ ~ ^\\ .
|
|
79
88
|
. . v> \` \` \`^4@Rj_Qx__ MBm
|
|
80
89
|
.(~ 2g@$@@zgWi9%Qd|4
|
|
@@ -100,7 +109,9 @@
|
|
|
100
109
|
\` '}K$@g#R#0$15$@$Z@R@@BRz@$@V[Qe\\
|
|
101
110
|
\`f='^4ysMh$54T$W42@PE~FfW&9~~
|
|
102
111
|
'~=\\ <?^F0%~>BR$?)^T"\`
|
|
103
|
-
\` ~
|
|
112
|
+
\` ~ ~~
|
|
113
|
+
`},{index:4,distance_km:364350.7,libration_elat:-5.105,libration_elon:-1.866,ascii:`
|
|
114
|
+
. - \`\`\` e .
|
|
104
115
|
, -zq{^o{.1n, = ":"y .
|
|
105
116
|
. _Z0~ \` -ZAmLi,.. '_,
|
|
106
117
|
M" X@yygyw-x_2/Gk.
|
|
@@ -126,7 +137,9 @@
|
|
|
126
137
|
't"Y#$XM@_"55$$B@$@EgB$@$awR4MzG~|
|
|
127
138
|
!-\`z%T4@>ME&b~E9B$rT>4_-$4Y'
|
|
128
139
|
\` \`TWD13d~A2fK~Wv^=
|
|
129
|
-
\` ''
|
|
140
|
+
\` ''\`
|
|
141
|
+
`},{index:5,distance_km:366333.9,libration_elat:.278,libration_elon:-3.312,ascii:`
|
|
142
|
+
~' ^ _. .
|
|
130
143
|
__*^w<-xr=<w \` ' '?,
|
|
131
144
|
gf\` ''\\KAy@-_w__ _)Mg,
|
|
132
145
|
" u2$$$R$gn&w@sB_M~(_
|
|
@@ -152,7 +165,9 @@
|
|
|
152
165
|
<V=H@Z#$__3$bgA$Fe$RYR@R2Wy=%V\` ^
|
|
153
166
|
\`=L~YGT$6$49TEygg$gw1dse< '"
|
|
154
167
|
~'!"T~A4_EtR00>V~-~
|
|
155
|
-
\`
|
|
168
|
+
\` \`
|
|
169
|
+
`},{index:6,distance_km:366534.2,libration_elat:5.395,libration_elon:-3.121,ascii:`
|
|
170
|
+
. : ' 7 __.
|
|
156
171
|
+ : =c_ws_ . . "",>
|
|
157
172
|
|'\` ~NEmszz$_E_a2wcju.
|
|
158
173
|
/ ;$y$@%h$$0*R5j@#WwyYn
|
|
@@ -178,7 +193,9 @@
|
|
|
178
193
|
~-g8k#@59g_y$@$F$$RTaE@Enf~5H|~)< \`
|
|
179
194
|
''$'"Pys/4dRHbD2kKZWa@RMXH +
|
|
180
195
|
~^~YMa.5~$_yWTKBa4=r^\`
|
|
181
|
-
|
|
196
|
+
\`\`
|
|
197
|
+
`},{index:7,distance_km:368573.4,libration_elat:5.829,libration_elon:3.778,ascii:`
|
|
198
|
+
. T r
|
|
182
199
|
+_:X ={_r;_ , ~ -
|
|
183
200
|
_y^ \`\` ' \`^X@ygRBy=. ]ZC;
|
|
184
201
|
u'^ _w%$@Rp$g*=E#7Vy,,\\
|
|
@@ -203,7 +220,10 @@
|
|
|
203
220
|
'\\@PBKtYKTP@@M@g@@$@$gR$g$BWB$Bh3~8X' \`
|
|
204
221
|
'f?k>@ghg@MBT@8RE@fd$RnZs#?1w)[!:
|
|
205
222
|
'"~$J~m#?Bd$M4@gE@Z$0a3GGV1' ~
|
|
206
|
-
T^~^T\`^j4Zlu*M4T '
|
|
223
|
+
T^~^T\`^j4Zlu*M4T ' \`
|
|
224
|
+
|
|
225
|
+
`},{index:8,distance_km:368792.8,libration_elat:1.882,libration_elon:4.299,ascii:`
|
|
226
|
+
.: . -
|
|
207
227
|
,_*_q -/nvu\`. ' ' x
|
|
208
228
|
jj+~ '\` \`'^hUyygZl _1r.
|
|
209
229
|
<^~ w@B$M$$$g./5BY,
|
|
@@ -228,7 +248,10 @@
|
|
|
228
248
|
?X@W~YT{WT#@B$$@@@$@$g0B@@W$#@@#$$dWn
|
|
229
249
|
!8Hg@mE$EBVT&0y%$@0#sNEWAmpV*4M ~
|
|
230
250
|
~n'__@2#Ga-BE@$sglEE(NNZJZ
|
|
231
|
-
^ ^ {3'9i@V_zM
|
|
251
|
+
^ ^ {3'9i@V_zM+>-~~
|
|
252
|
+
|
|
253
|
+
`},{index:9,distance_km:370979.8,libration_elat:-5.57,libration_elon:4.616,ascii:`
|
|
254
|
+
. r F^. , ,.
|
|
232
255
|
7 , _mvpaW..,_.^ -r> ,
|
|
233
256
|
z$"\`\`~ \`r ~-zR9_ \` \` +.
|
|
234
257
|
' {Y~^ ~3Bwyak. .QU
|
|
@@ -253,7 +276,10 @@
|
|
|
253
276
|
'2[@g_{iE@$Z@@0BKEE0$R$@$$#@5@$$$@@MT
|
|
254
277
|
~<[F8g(EzaZM$#@yM$4yB$$@$d4MW4W~^
|
|
255
278
|
'R@/2Sy<MRg$W5D$^>OT'" ~
|
|
256
|
-
~r!7/4%E@@5vr*?^"
|
|
279
|
+
~r!7/4%E@@5vr*?^"
|
|
280
|
+
|
|
281
|
+
`},{index:10,distance_km:372936.5,libration_elat:-5.822,libration_elon:-5.197,ascii:`
|
|
282
|
+
; -: .
|
|
257
283
|
_, >c +___' ,\`i + ._
|
|
258
284
|
._Nw^~"~T~ ;\\ 9M_., "\`4o_
|
|
259
285
|
^>~ . ^$@$2%2Wiu zRzq
|
|
@@ -278,7 +304,10 @@
|
|
|
278
304
|
~^j._;4$Ta@s@@@5@ER$$2@$$@gBsyAH4@O-
|
|
279
305
|
\`"';tK/RyvR@Nq@@#$@$QE$@@E7$d\\J= +
|
|
280
306
|
~ Yg+F=9fP$12$F*+$)@~j~?\`
|
|
281
|
-
T~zE$45[~K="
|
|
307
|
+
T~zE$45[~K="~
|
|
308
|
+
|
|
309
|
+
`},{index:11,distance_km:376361.2,libration_elat:2,libration_elon:-5.764,ascii:`
|
|
310
|
+
; .. _
|
|
282
311
|
.- yxw__ \`'( \` n>
|
|
283
312
|
- ~"F M@g_-m\\_,, _W<x,
|
|
284
313
|
l\` . __$@$@@RK9>4$d$%,qn_
|
|
@@ -303,7 +332,10 @@
|
|
|
303
332
|
\`x\`.U +$$@B@W@@@@gM$$@$#g$40A#gF[~$"M
|
|
304
333
|
K@cm$M8wK@gG3g$R@g$s4@M7xH~4j^ ~
|
|
305
334
|
" -~~&CTp9=$$@9U$RE?kv7+ur
|
|
306
|
-
\`~\` \`T"-"<M5PT
|
|
335
|
+
\`~\` \`T"-"<M5PT
|
|
336
|
+
|
|
337
|
+
`},{index:12,distance_km:377700.5,libration_elat:5.801,libration_elon:-5.923,ascii:`
|
|
338
|
+
-
|
|
307
339
|
.,_ .. ~ ~ '" ^g:,
|
|
308
340
|
; ^~ ' \`$$WyzQLw: j8yG=-
|
|
309
341
|
" Ly@$$&@RM72g<@%$LYR_.
|
|
@@ -328,7 +360,10 @@
|
|
|
328
360
|
"V('x.~3@RRB@@$@RB@@@$$A$B@@jptW%~' "
|
|
329
361
|
\\T$/RRZBgp$ZGPRMg$$$@$E$X/'~W)
|
|
330
362
|
\` =""&*G]@wtB4E4$gg$4$4EP!^
|
|
331
|
-
"^ \`\`"+M= -T~^'
|
|
363
|
+
"^ \`\`"+M= -T~^'\`
|
|
364
|
+
|
|
365
|
+
`},{index:13,distance_km:378113.4,libration_elat:-2.581,libration_elon:-5.835,ascii:`
|
|
366
|
+
. . ..
|
|
332
367
|
. \`, ,_. -7\`".
|
|
333
368
|
/J^~T ~ " z4$_ ._ \`":-
|
|
334
369
|
4-' . . [@$@x@Wyy y@$iu.
|
|
@@ -353,7 +388,10 @@
|
|
|
353
388
|
>Un _{6$RA@$@RW$g@0$$@@ygWKMM$@@W^~
|
|
354
389
|
~n1M5&*#_a0@@@AR@$@$$$EXU7YMf^?
|
|
355
390
|
\` ~^~k[c5s%MAYqMFFM@"VZ '
|
|
356
|
-
^-^*F
|
|
391
|
+
^-^*F^~?~\`~\`
|
|
392
|
+
|
|
393
|
+
`},{index:14,distance_km:379658.1,libration_elat:5.491,libration_elon:6.128,ascii:`
|
|
394
|
+
, - ,.
|
|
357
395
|
, __ _x\` , ,
|
|
358
396
|
,+Y'=' .^?=PywwM__., _.-
|
|
359
397
|
-s- lE@@$@g@__L_$>. .
|
|
@@ -378,7 +416,10 @@
|
|
|
378
416
|
/@TEEE\`&A$#0y$@@Z$MM@$p$@0BtP5%@<l
|
|
379
417
|
'~XmT$E$W@MgyR$$aRs9gS4WW9/~
|
|
380
418
|
\` f=L"0EZW$@RPG%#$R{Rx{&''~
|
|
381
|
-
\`^\`^ '\`"\\"?~ '
|
|
419
|
+
\`^\`^ '\`"\\"?~ '
|
|
420
|
+
|
|
421
|
+
`},{index:15,distance_km:381331.9,libration_elat:.836,libration_elon:6.123,ascii:`
|
|
422
|
+
. _,
|
|
382
423
|
__ . _ " <
|
|
383
424
|
wz?^^\\^ \`r={*_, _. \` ,,
|
|
384
425
|
.4fT '80@Ma<w% <,).
|
|
@@ -403,7 +444,10 @@
|
|
|
403
444
|
\` J8MqG_3=AM$$a@@@W$@@@$@@$aR@R?Tx~'
|
|
404
445
|
"|QT4RARm4$*ARQsGW@EaRP7$TTP~\`
|
|
405
446
|
~- zMeeE65tsF0g12$Lb9X^
|
|
406
|
-
\` ' T~F~~
|
|
447
|
+
\` ' T~F~~ ~^\`\`
|
|
448
|
+
|
|
449
|
+
`},{index:16,distance_km:381859.3,libration_elat:-2.705,libration_elon:5.978,ascii:`
|
|
450
|
+
. .
|
|
407
451
|
. ___ L._ ^; - (
|
|
408
452
|
mze^^\`" '~~RX_ " .
|
|
409
453
|
.tv? \`B$@lglu- | .
|
|
@@ -428,7 +472,10 @@
|
|
|
428
472
|
~^k/1ayDgW$$#$00B@$@$2Kg@$$Eg$$$\\$' \`
|
|
429
473
|
^+K^YG#%gWa9Ra@@9MT$$EZ@@~wO="'
|
|
430
474
|
~ \`-%Hy~T@@M?a4%M$"^k( \`
|
|
431
|
-
~' \`~P!+^^
|
|
475
|
+
~' \`~P!+^^ ~\`
|
|
476
|
+
|
|
477
|
+
`},{index:17,distance_km:383889.6,libration_elat:-5.925,libration_elon:6.256,ascii:`
|
|
478
|
+
_ .
|
|
432
479
|
. ' _,._ ' .:_
|
|
433
480
|
.nzF'~-^\`Fnrj__ .
|
|
434
481
|
aF~ ~ \`!Hyw_g_ w.
|
|
@@ -453,7 +500,10 @@
|
|
|
453
500
|
&@R2$4yKBbAER@@R$$dW@@g@@@D$m@@XN\`"
|
|
454
501
|
~^u"?F4KPEz$$$Z$#@g0$&@@55M@v"~
|
|
455
502
|
\`~-Xw7PPe=TA4jzFW<_t^'
|
|
456
|
-
"^r-^^^ "
|
|
503
|
+
"^r-^^^ " \`
|
|
504
|
+
|
|
505
|
+
`},{index:18,distance_km:389306.6,libration_elat:-5.818,libration_elon:-6.036,ascii:`
|
|
506
|
+
. _
|
|
457
507
|
. ; \`\`( }.
|
|
458
508
|
w;MP|* =n>fsL ^ .
|
|
459
509
|
*|| \`^RE@_}y_ 4ym,
|
|
@@ -478,7 +528,10 @@
|
|
|
478
528
|
z~*gT6GfTA$H$@z5$Z$KREBa@3GW5#9"^'
|
|
479
529
|
" +?L$"3f@@@1$E5$5F5$=Dj?$>?"\`
|
|
480
530
|
~\` ?tJjg#E@gH@~W$:\`
|
|
481
|
-
'"\`\`"'
|
|
531
|
+
'"\`\`"'
|
|
532
|
+
|
|
533
|
+
`},{index:19,distance_km:390509.1,libration_elat:1.475,libration_elon:-5.963,ascii:`
|
|
534
|
+
_
|
|
482
535
|
- _ \` ... .
|
|
483
536
|
_r -- ~^<_)$w _,_ \` jy.
|
|
484
537
|
r 'g@$$$$x$yyMW_~:_
|
|
@@ -503,7 +556,11 @@
|
|
|
503
556
|
"(4w~2#$n#M0@HW@$@9@@Z@AB)EKfBF'. '
|
|
504
557
|
'\\D?^X0@$$g%4s7@RB4$9%Z_w~, '
|
|
505
558
|
~^^P&Y"r*?59P44M%J~5~ ^
|
|
506
|
-
\`T~'"\`"
|
|
559
|
+
\`T~'"\`"
|
|
560
|
+
|
|
561
|
+
`},{index:20,distance_km:391670,libration_elat:5.642,libration_elon:-5.869,ascii:`
|
|
562
|
+
|
|
563
|
+
x\`!
|
|
507
564
|
| ;! ^\\+e%*_,<- ,_ _pK+
|
|
508
565
|
..F ggg$Z%92kyBWWyC /.
|
|
509
566
|
wg@$E$$@@K@Rg$7QRvx$t,_
|
|
@@ -527,7 +584,11 @@
|
|
|
527
584
|
\`? <L. k45k~F@E#@@0$T@BE@#5@$?6m-,
|
|
528
585
|
4K?4Y($GE4zR@5g$$EEgBngK"_>-~
|
|
529
586
|
\`~>?^4 MMKqZR@Ds!=\`(' \`
|
|
530
|
-
\`' \`
|
|
587
|
+
\`' \` \`
|
|
588
|
+
|
|
589
|
+
`},{index:21,distance_km:393407.6,libration_elat:5.513,libration_elon:5.636,ascii:`
|
|
590
|
+
|
|
591
|
+
. ^
|
|
531
592
|
LNV' \`T~{$b_ -, " .
|
|
532
593
|
_j@' <R@$mW$wxt!mn
|
|
533
594
|
~ g@@@$@$@@'Yq\\as;'
|
|
@@ -551,7 +612,11 @@
|
|
|
551
612
|
~^@j@&_gm$@%4T$B@@@W$@@UK@#W7~7'
|
|
552
613
|
CtHP@$02WR@14@5Z2FA#3j\\J:
|
|
553
614
|
'"r'F5$~(G@7_$TM$4>^
|
|
554
|
-
'
|
|
615
|
+
'
|
|
616
|
+
|
|
617
|
+
`},{index:22,distance_km:395633.7,libration_elat:-2.548,libration_elon:-5.238,ascii:`
|
|
618
|
+
|
|
619
|
+
\`\` , ;/ >_,
|
|
555
620
|
,_ +,P> * y _ ~ 'u_
|
|
556
621
|
:{T\` \`~=$WWk_r, _#P+
|
|
557
622
|
~ _yD$@@g0Es&#ZB@'x.
|
|
@@ -575,7 +640,11 @@
|
|
|
575
640
|
uW&\\@m@ETRDH@Hg$sRgS@E&N@5@%6^X
|
|
576
641
|
' u3@#pME@RS@PQ4RWKRMkz@ \`.
|
|
577
642
|
r{^M=Fi@9#KEP(K7~/
|
|
578
|
-
|
|
643
|
+
\`~
|
|
644
|
+
|
|
645
|
+
`},{index:23,distance_km:396804,libration_elat:-5.205,libration_elon:5.066,ascii:`
|
|
646
|
+
|
|
647
|
+
T -
|
|
579
648
|
.x*zZTn>-- _ . .
|
|
580
649
|
.. a_0F ~\` n4M_;. ~u.
|
|
581
650
|
'~ ,^@g$$gw_;kw,
|
|
@@ -599,7 +668,11 @@
|
|
|
599
668
|
Ry$aG0$#MM45$$ZZR@$a3@@0@$R@2pM\`
|
|
600
669
|
\`'=4Kh5M$K4AN*@tSd$sT&C^~} '\`
|
|
601
670
|
" ~TF_75@RgmF4\`~
|
|
602
|
-
|
|
671
|
+
\`\`~\`\`\`
|
|
672
|
+
|
|
673
|
+
`},{index:24,distance_km:396918.3,libration_elat:1.016,libration_elon:4.987,ascii:`
|
|
674
|
+
|
|
675
|
+
~ r .:c .
|
|
603
676
|
. ju ]>_^*Y=yL ' \` .
|
|
604
677
|
.W> m@wy+l_ M~
|
|
605
678
|
\` ,ggm@Eg$WRwx_!_
|
|
@@ -623,7 +696,11 @@
|
|
|
623
696
|
~5@<X@$0j@$#~$B@ZE@$gR%RA0EM7?"~
|
|
624
697
|
'*TT3m4aH@2@RW$3M$P=BzR)^:
|
|
625
698
|
\` A<?X%f_WmPg@EM-\`"
|
|
626
|
-
|
|
699
|
+
\`
|
|
700
|
+
|
|
701
|
+
`},{index:25,distance_km:402200.1,libration_elat:.434,libration_elon:-3.119,ascii:`
|
|
702
|
+
|
|
703
|
+
\\ r
|
|
627
704
|
___< *r z_ ?
|
|
628
705
|
. ~ \`''P0wvzkyu _M:n.
|
|
629
706
|
v __$B$MRM#%e$XgZLn_
|
|
@@ -646,7 +723,12 @@
|
|
|
646
723
|
^~\`/\`^PW@@@@$@B$$E@$@$@$BBg@@WERKC,"
|
|
647
724
|
'V?hg$q#E2A@M42@g@GRMg@*wK@l~)'
|
|
648
725
|
{7$k$n5HMDA@wBF$%bwmyI + ~
|
|
649
|
-
'Y~~ *bv@4$$K'?~ '"
|
|
726
|
+
'Y~~ *bv@4$$K'?~ '"
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
`},{index:26,distance_km:402352.2,libration_elat:5.638,libration_elon:-2.986,ascii:`
|
|
730
|
+
|
|
731
|
+
. .
|
|
650
732
|
__| -;<pN__ _ ~ g..
|
|
651
733
|
xP' @R$@SpJV.$U4+^
|
|
652
734
|
r~ _@@@BBR@@Z@HeP$@yl^t.
|
|
@@ -669,7 +751,12 @@
|
|
|
669
751
|
~2@@~^TK$@#@@#@@@g@@ME$@$E$4#E@$4< ~
|
|
670
752
|
") u*yv2$2V5RW@W$RBW$g@RA[f(*\`:
|
|
671
753
|
/*_"<sd9t($5$$g$7RbJR*&7 ~
|
|
672
|
-
~~ #<\`+MLN%~DJM/^
|
|
754
|
+
~~ #<\`+MLN%~DJM/^ \`
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
`},{index:27,distance_km:402371.7,libration_elat:-5.458,libration_elon:-2.965,ascii:`
|
|
758
|
+
|
|
759
|
+
..~ . . y ,
|
|
673
760
|
._wIq;ws _._ !\`P- ,
|
|
674
761
|
,p4 ~ ^r*$_w... \`"5s.
|
|
675
762
|
^ ,X@@$gWWm_aEKv
|
|
@@ -692,7 +779,12 @@
|
|
|
692
779
|
^!w_'V@$@@Bg$$F@dM5$$@@@R$Z$@$@@@E/!'
|
|
693
780
|
=>fmMWEPSZM5RB5@A@B0$Ba$0$T\\A+(~
|
|
694
781
|
^ ^#~fAIf@@@h$M5p@JEkX^F''
|
|
695
|
-
\`' \`P^@degNB+M?P"
|
|
782
|
+
\`' \`P^@degNB+M?P"
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
`},{index:28,distance_km:403437.1,libration_elat:5.803,libration_elon:2.179,ascii:`
|
|
786
|
+
|
|
787
|
+
. ; . .
|
|
696
788
|
. , >; =_z/r_ \`^r-
|
|
697
789
|
.:=~ ~d@ywgyg_Ll]-1 ,
|
|
698
790
|
>^ yg$$@4@@JWTg$9Gx";
|
|
@@ -715,7 +807,12 @@
|
|
|
715
807
|
\`^?&$W@5Q0m@@@@$@$@@$$$3$k@@@$PGR$F~
|
|
716
808
|
\`]U_#x$2$@$Iy$@k0M5F@@kY@%mr~^~'
|
|
717
809
|
"k?RK@F4@$&Gg$RMF4C@XV?
|
|
718
|
-
\` '^-~'~'7MA*Z%T
|
|
810
|
+
\` '^-~'~'7MA*Z%T~~
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
`},{index:29,distance_km:403723.3,libration_elat:-1.613,libration_elon:1.645,ascii:`
|
|
814
|
+
|
|
815
|
+
.. : ;-.
|
|
719
816
|
+y__ Jv/ , {! ..
|
|
720
817
|
_W~ \` ''YIg>*g,.,,{<.
|
|
721
818
|
J" ug@@@@0@fvN2R_,
|
|
@@ -738,7 +835,12 @@
|
|
|
738
835
|
"V~15P{24@0$@$@@R$Q@mBm0@@@g%8@B6M^~\`
|
|
739
836
|
oFe$9Z52g$$$5EE#M$@@RKRVRmVY
|
|
740
837
|
' "Aw9@R4g$M$g$$$@9yjC~\`~
|
|
741
|
-
' ^!\`!~P%$%s-fr"
|
|
838
|
+
' ^!\`!~P%$%s-fr"\`~
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
`},{index:30,distance_km:404313.4,libration_elat:-5.652,libration_elon:1.402,ascii:`
|
|
842
|
+
|
|
843
|
+
+. - _
|
|
742
844
|
,-m1_yz_.l~ !]~J
|
|
743
845
|
_$#\` "\` "r|kz__L \` :
|
|
744
846
|
^ \` .X@@$mWgy.ym?.
|
|
@@ -761,7 +863,12 @@
|
|
|
761
863
|
\`0}3y_\`M$@$$@$$BPd@50@@@@@@@$@@@TWT'
|
|
762
864
|
^z"4R$JBR_$5aR?@@2$@$@HBMA0#BF^
|
|
763
865
|
\`^ FTT"$A#$RW$Z$y=Y%1@ ' '
|
|
764
|
-
'~~A'FZ7I0~7?^^'
|
|
866
|
+
'~~A'FZ7I0~7?^^'
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
`},{index:31,distance_km:404638.4,libration_elat:2.826,libration_elon:.232,ascii:`
|
|
870
|
+
|
|
871
|
+
. . >r -
|
|
765
872
|
._:z m;-y., = .
|
|
766
873
|
n\\F\` ^ \`'3ggLtg$ p w5,r
|
|
767
874
|
\` jygM@Ea@GWyYMZ$_ i
|
|
@@ -784,7 +891,10 @@
|
|
|
784
891
|
~4MR+e~Tb@@@@@@@$@@a@@R$@@9$m$Qm[Xn
|
|
785
892
|
\`!~E6$5gM5W_RW@@@R$ER@b0bCs"Q~
|
|
786
893
|
\`~-'UR?@9@-ER$@@5g2_wuhX -
|
|
787
|
-
'FFF'"Z"@MGR^^'
|
|
894
|
+
'FFF'"Z"@MGR^^'\`
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
`}]};var r=60,l=29;function L($){let t=$.split(`
|
|
788
898
|
`),n=1/0,s=-1/0,a=1/0,e=-1/0;if(t.forEach((B,y)=>{let E=B.search(/\S/);if(E!==-1){let o=B.search(/\s+$/);n=Math.min(n,E),s=Math.max(s,o===-1?B.length-1:o-1),a===1/0&&(a=y),e=y;}}),n===1/0)return {width:r,height:l,centerX:Math.floor(r/2),centerY:Math.floor(l/2)};let M=s-n+1,i=e-a+1;return {width:M,height:i,centerX:n+Math.floor(M/2),centerY:a+Math.floor(i/2)}}function P($,t,n){return Math.min(n,Math.max(t,$))}function x($){return $*Math.PI/180}function X($,t,n=0){let s=x($),a=x(n),M=(t?1:-1)*Math.sin(s),i=0,B=Math.cos(s),y=-B*Math.sin(a),E=B*Math.cos(a);i=y,B=E;let o=Math.sqrt(M*M+i*i+B*B);return {sx:M/o,sy:i/o,sz:B/o}}function N($,t,n,s,a){let e=1/r,M=1/l,i=[-0.5,-0.25,0,.25,.5],B=0,y=0;for(let E of i)for(let o of i){let A=$+E*e,w=t+o*M,F=A*A+w*w;if(F>1)continue;let g=Math.sqrt(Math.max(0,1-F)),_=A*n+w*s+g*a;B+=Math.max(0,_),y++;}return y===0?0:B/y}function h($){let s=0,a=1/0;for(let e=0;e<d.moons.length;e++){let M=d.moons[e],i=Math.abs(M.distance_km-$.size.distanceKm)*1,B=Math.abs(M.libration_elat-$.libration.elat)*1e4,y=Math.abs(M.libration_elon-$.libration.elon)*1e4,E=i+B+y;E<a&&(a=E,s=e);}return d.moons[s]}function Y($,t={}){let n=h($),s=n.ascii.split(`
|
|
789
899
|
`),a=L(n.ascii),{sx:e,sy:M,sz:i}=X($.phase.phaseAngleDeg,$.phase.isWaxing,$.libration.elat),B=Array.from({length:l},()=>Array(r).fill(0)),y=Array.from({length:l},()=>Array(r).fill(-1)),E=Array.from({length:l},()=>Array(r).fill(false)),o=0,A=0;for(let g=0;g<l;g++)for(let _=0;_<r;_++){let m=_-a.centerX,R=g-a.centerY,W=m/(a.width/2),b=R/(a.height/2),T=W*W+b*b;if(T>1){B[g][_]=0,y[g][_]=-1;continue}E[g][_]=true,o++;let Z=N(W,b,e,M,i);B[g][_]=Z,Z>0&&A++;let f=Math.sqrt(Math.max(0,1-T));y[g][_]=W*e+b*M+f*i;}let w=Array.from({length:l},()=>Array(r).fill(false));if(A>0)for(let g=0;g<l;g++)for(let _=0;_<r;_++)w[g][_]=B[g][_]>0;else {let g=P($.phase.illuminatedFraction??0,0,1),_=Math.max(1,Math.round(g*o)),m=[];for(let R=0;R<l;R++)for(let W=0;W<r;W++)E[R][W]&&m.push({ix:W,iy:R,v:y[R][W]});m.sort((R,W)=>W.v-R.v);for(let R=0;R<Math.min(_,m.length);R++){let{ix:W,iy:b}=m[R];w[b][W]=true;}}let F=[];for(let g=0;g<l;g++){let _="",m=s[g]??"";for(let R=0;R<r;R++)w[g][R]?_+=m[R]??" ":_+=" ";F.push(_);}return F.join(`
|
|
790
900
|
`)}exports.getMoonState=z;exports.renderMoon=Y;//# sourceMappingURL=index.cjs.map
|