<p>I'm creating an app to visualize the southern area of the moon from a first-person perspective. I'm trying to determine if a point on the surface is a &quot;checkpoint,&quot; where the elevation angle to Earth is greater than the elevation angle to the horizon at the same azimuth angle (basically if the Earth if visible). However, I don't know how to calculate the elevation angle to the horizon. I initially thought of using the slope at the current point, but this doesn't work because there could be a point up ahead with a much larger slope, which would block the visibility of the Earth.</p>
<p>All help is appreciated!</p>

CC BY-SA 4.0
2020-11-13T16:27:42.213Z
@uhoh What communities do you recommend I post it to then?
gnaw
CC BY-SA 4.0
2020-11-14T03:28:14.883Z
@uhoh bruh I did
gnaw
CC BY-SA 4.0
2020-11-14T06:21:28.507Z
didn't mean to suggest otherwise
uhoh
<the-moon><earth><azimuth>
How do I calculate the elevation angle to the horizon?
gnaw
# How do I calculate the elevation angle to the horizon?

(Asked by: username_0 on 2020-11-13)

I'm creating an app to visualize the southern area of the moon from a first-person perspective. I'm trying to determine if a point on the surface is a "checkpoint," where the elevation angle to Earth is greater than the elevation angle to the horizon at the same azimuth angle (basically if the Earth if visible). However, I don't know how to calculate the elevation angle to the horizon. I initially thought of using the slope at the current point, but this doesn't work because there could be a point up ahead with a much larger slope, which would block the visibility of the Earth.

All help is appreciated!

**Tags:** the-moon, earth, azimuth
> **Comments:**
> **username_0**: @uhoh What communities do you recommend I post it to then?  
> **username_0**: @uhoh bruh I did  
> **username_1**: didn't mean to suggest otherwise  

---

## 0 answers

