Skip to content

Commit

Permalink
版本回退
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshi1993 authored Nov 6, 2024
1 parent d24bf4b commit 4446aa7
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# StarLocator

<a href="https://qm.qq.com/q/lmRhILlX0e">加入【StarLocator交流群】</a>

> StarLocator 是什么 | WHAT IS STARLOCATOR
StarLocator是一款天文定位应用,主要基于一种已经应用了数个世纪的航海导航技术。该应用使用夜空照片及其精确拍摄时间为源数据,计算照片拍摄地在地球上的大致位置。该过程类似以相机对图中的天体高度角进行测量代替17世纪以来的水手使用六分仪的测量,与占星术、玄学和心灵感应无关。
Expand All @@ -12,25 +10,21 @@ calculate the rough position of the photo taker was on the earth. The process is
sextant to measure the elevation of celestial bodies in the image just as sailors did since 17th century, and there is
NOTHING to do with astrology, metaphysics and telepathy.

> 特点 | FEATURES
## 特点 | FEATURES

- **交互简单**:标星、标铅垂线、设置拍摄时间,然后就是点击按钮的事了,熟练掌握后整个过程不到**5分钟**。原本的耗时步骤,如查询天体天文数据,已被API和按钮所实现。
- **隐私友好**:项目仅用前端技术实现,核心步骤均在本地运行,可自行部署。
- **精度良好**:我们在各个模块中采用了强稳健性的算法,对环境噪声、标记误差有良好的抗噪能力,误差通常可稳定在**30km**以下。
- **完全开源**:我们使用AGPL v3开源,目的是为尽可能地使该方法透明,同时欢迎社区共建。
- **Simple interaction**: Marking stars and plumblines, setting the time and then simply click a button. Can finish within **5 minutes** when familiar. All time-consuming steps, like searching for data of celestial bodies, have been achieved with API and buttons.
- **Privacy friendly**: Front-end based and self-deployable, all key steps running locally.
- **Good accuracy**: We applied robust algorithms in modules, making it resilient to environmental noises and marking errors. The error can usually be limited to **30km**.
- **Fully open sourced**: AGPL v3 open source protocol adopted. Aiming to make the approach as transparent as possible and to welcome community contributions.

> 构建 | BUILD
## 构建 | BUILD

1. 安装Node.js和pnpm。
2. 在项目根目录下运行`pnpm install`
3. 运行`pnpm build`
4.`dist`目录下找到生成的文件,点击`index.html`即可使用。

> 使用方法 | HOW TO USE
## 使用方法 | HOW TO USE

*注:详细帮助请点击网页的问号按钮。*

Expand All @@ -40,8 +34,8 @@ NOTHING to do with astrology, metaphysics and telepathy.
- 需要包括恒星和行星在内的至少5个天体。太阳和月亮不可以,因为它们不清真(bushi)。*在最初版本中,您需要自行识别天体,但别担心,我们正在制作自动天体识别功能,并计划在宇宙达到热寂之前更新。
- 需要多条铅垂线用于天顶计算。铅垂线越多或者地平线越完整,定位结果将会越准确。
- 需要知道该照片拍摄的准确时间(年月日时分,若知道秒数则更好)。
2. 点击那个看起来像手里剑的按钮开始选星(需5颗)。选取的星星最好是水平分布的,或者如果您熟悉这个概念的话,最好不要让它们与天顶的连线之间形成过小的夹角。*您可以在表格中修改星星的图中坐标,并同步让图中的标记移动。
3. 在底部的表格中输入正确的时间和标准的星名后,点击“获取天体坐标”按钮获取天体的赤纬和参考时角。*可以点击标记左上角的“×”来删除标记。
2. 点击那个看起来像手里剑的按钮开始选星(需5颗)。选取的星星最好是水平分布的,或者如果您熟悉这个概念的话,最好不要让它们与天顶的连线之间形成过小的夹角。
3. 在底部的表格中输入正确的时间和标准的星名后,点击“获取天体坐标”按钮获取天体的赤纬和参考时角。
4. 点击那个看起来像翘屁末影人的按钮开始绘制铅垂线。越多越好。
5. **猛猛拍打**“计算”按钮然后就能在右侧的结果栏中看到结果了。

Expand All @@ -59,14 +53,13 @@ NOTHING to do with astrology, metaphysics and telepathy.
- You know the exact time (year, date, hour, minute, and better with second) when the photo was taken.
2. Click the shining shuriken icon to start to pick stars (totally 5 stars are needed). The picked stars are better
distributed horizontally, or if you know what exactly I'm talking, don't form too small an angle relative to the
zenith. * You can revise the coordination data of stars in the table below, and the marker on the picture will move
accordingly.
zenith.
3. Enter exact time and standard name of celestial bodies in the bottom table, and click the clock button to acquire
reference hour angles and declinations. * You can click the “x” on the top-left of a marker to delete it.
reference hour angles and declinations.
4. Click the long limb alien(Enderman or sth) icon to draw lines along plumb lines on the image. More is better.
5. **SMASH** the “Calculate” button and you'll see the result in result column on the right.
5. **SMASH** the “给我算!” button and you'll see the result in result column on the right.

> 开发团队 | DEVELOPERS
## 开发团队 | DEVELOPERS

按加入时间排序

Expand Down

0 comments on commit 4446aa7

Please sign in to comment.