<h3>Background</h3>
<p>I would like to create a website that shows an animation of the path of Sagittarius A* (or any other object in space) during one day for a specific location. So that the user can see where and when Sagittarius A* is rising, what path across the sky it takes and where and when it is setting.</p>
<p>Similar to this:
<div class="youtube-embed"><div>
                <iframe width="640px" height="395px" src="https://www.youtube.com/embed/adJPV-sz5AI?start=58"></iframe>
            </div></div></p>
<p>I know the animation in the YouTube video was made with &quot;Stellarium Web&quot; and I could make something like that with Stellarium for Sagittarius A*. But I would like to have it interactive on a website where the user only has to enter his current location and then would see the animation of the path for his location.</p>
<h3>Question</h3>
<p>Where can I find astronomical resources for getting the data necessary to make such a plot in a way useful for a website? It would have to be something I could call from, or incorporate into a website, not a stand-alone program.</p>

CC BY-SA 4.0
2020-12-21T05:53:44.937Z
I think there are several posts here and in [Space Exploration SE](https://space.stackexchange.com/) that will be helpful, and it might be worth searching yourself to see if anything suits your needs. There is one page of resources here [Where can I find the positions of the planets, stars, moons, artificial satellites, etc. and visualize them?](https://astronomy.stackexchange.com/q/13488/7982).
uhoh
CC BY-SA 4.0
2020-12-21T05:53:48.003Z
Making a website simulate spots on a blank screen is one thing, adding a horizon and foreground objects is another; it's a big project, so any more details you can add will be great. For example, what computer and website programming languages are you willing to use and/or learn?
uhoh
CC BY-SA 4.0
2020-12-21T07:37:28.380Z
How are you experienced in programming? Do you understand the concept of OOP? JavaScript is a language, specially designed for browsers. Consider using some popular JavaScript 3d libraries, for example three.js, babylon.js, or WebGL.
User123
CC BY-SA 4.0
2020-12-21T07:38:28.867Z
This question is duplicate to this one: https://stackoverflow.com/questions/65387952/how-to-create-a-web-animation-of-the-movements-of-an-object-in-space-over-time.
User123
CC BY-SA 4.0
2020-12-21T08:38:43.393Z
I’m voting to close this question because This is not an astronomy question, but a programming one.
StephenG - Help Ukraine
CC BY-SA 4.0
2020-12-21T08:41:42.757Z
@User123 Well spotted, although we call that a cross-post, not a duplicate, since the usual processes regarding duplicates (like duplicate flagging & close-voting, and the system software that links duplicates) don't apply to questions on other sites.
PM 2Ring
CC BY-SA 4.0
2020-12-21T08:46:46.853Z
Please do not cross-post. However, that question is far too broad for Stack Overflow, which is for answering questions about specific problems with your code.
PM 2Ring
CC BY-SA 4.0
2020-12-21T12:46:56.047Z
Plotting the movement of astronomical bodies in the sky is on-topic. We can simply constrain the question a little bit rather than insta-close it. **voting to keep open** and making a helpful edit.
uhoh
<black-hole>
Astronomical resources helpful for creating an animation in the browser of the movements of an astronomical object in the sky?
lukassteiner
# Astronomical resources helpful for creating an animation in the browser of the movements of an astronomical object in the sky?

(Asked by: username_0 on 2020-12-21)

### Background

I would like to create a website that shows an animation of the path of Sagittarius A\* (or any other object in space) during one day for a specific location. So that the user can see where and when Sagittarius A\* is rising, what path across the sky it takes and where and when it is setting.

Similar to this:

I know the animation in the YouTube video was made with "Stellarium Web" and I could make something like that with Stellarium for Sagittarius A\*. But I would like to have it interactive on a website where the user only has to enter his current location and then would see the animation of the path for his location.

### Question

Where can I find astronomical resources for getting the data necessary to make such a plot in a way useful for a website? It would have to be something I could call from, or incorporate into a website, not a stand-alone program.

**Tags:** black-hole
> **Comments:**
> **username_1**: I think there are several posts here and in [Space Exploration SE](https://space.stackexchange.com/) that will be helpful, and it might be worth searching yourself to see if anything suits your needs. There is one page of resources here [Where can I find the positions of the planets, stars, moons, artificial satellites, etc. and visualize them?](https://astronomy.stackexchange.com/q/13488/7982).  
> **username_1**: Making a website simulate spots on a blank screen is one thing, adding a horizon and foreground objects is another; it's a big project, so any more details you can add will be great. For example, what computer and website programming languages are you willing to use and/or learn?  
> **username_2**: How are you experienced in programming? Do you understand the concept of OOP? JavaScript is a language, specially designed for browsers. Consider using some popular JavaScript 3d libraries, for example three.js, babylon.js, or WebGL.  
> **username_2**: This question is duplicate to this one: https://stackoverflow.com/questions/65387952/how-to-create-a-web-animation-of-the-movements-of-an-object-in-space-over-time.  
> **username_3**: I’m voting to close this question because This is not an astronomy question, but a programming one.  
> **username_4**: @User123 Well spotted, although we call that a cross-post, not a duplicate, since the usual processes regarding duplicates (like duplicate flagging & close-voting, and the system software that links duplicates) don't apply to questions on other sites.  
> **username_4**: Please do not cross-post. However, that question is far too broad for Stack Overflow, which is for answering questions about specific problems with your code.  
> **username_1**: Plotting the movement of astronomical bodies in the sky is on-topic. We can simply constrain the question a little bit rather than insta-close it. **voting to keep open** and making a helpful edit.  

---

## 0 answers

