mirror of
https://github.com/acamarata/moon-sighting-dart.git
synced 2026-06-30 19:04:23 +00:00
style: replace em dashes with colons; add .editorconfig
This commit is contained in:
parent
90c4936427
commit
d2d6196c0b
3 changed files with 17 additions and 3 deletions
14
.editorconfig
Normal file
14
.editorconfig
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.{dart,yaml,yml,json,md}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
|
@ -20,5 +20,5 @@ print('Visible naked eye: ${vis.isVisibleNakedEye}');
|
|||
|
||||
## Pages
|
||||
|
||||
- [API Reference](API-Reference) — Full function and type reference
|
||||
- [Visibility Criteria](Visibility-Criteria) — Yallop and Odeh crescent visibility criteria
|
||||
- [API Reference](API-Reference): Full function and type reference
|
||||
- [Visibility Criteria](Visibility-Criteria): Yallop and Odeh crescent visibility criteria
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ The full-mode features (DE442S JPL ephemeris, sub-arcsecond accuracy, rise/set e
|
|||
|
||||
## Architecture
|
||||
|
||||
Two-mode design: lite mode uses Jean Meeus Chapters 47 and 48 for moon phase, position, and illumination — zero dependencies, no file I/O, works in any Dart environment. The GCRS-to-topocentric conversion applies ERA-only Earth rotation (no full nutation/precession), which introduces a ~1 degree systematic error acceptable for display and quick-estimate use cases.
|
||||
Two-mode design: lite mode uses Jean Meeus Chapters 47 and 48 for moon phase, position, and illumination: zero dependencies, no file I/O, works in any Dart environment. The GCRS-to-topocentric conversion applies ERA-only Earth rotation (no full nutation/precession), which introduces a ~1 degree systematic error acceptable for display and quick-estimate use cases.
|
||||
|
||||
Full-mode features (DE442S ephemeris, sub-arcsecond accuracy, rise/set event finding) are in the TypeScript [moon-sighting](https://github.com/acamarata/moon-sighting) package.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue