GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ferdesmello/exoplanets-in-the-galaxy-3d: A 3D interactive map of the exoplanets discovered in our Galaxy.

BranchesTags
Open more actions menu

Latest commit

 

History

127 Commits
127 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
data
data
 
 
images
images
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
Exoplanets_in_the_Galaxy_3D.nb
Exoplanets_in_the_Galaxy_3D.nb
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
data_transformer.py
data_transformer.py
 
 
exoplanet_data.py
exoplanet_data.py
 
 
favicon.ico
favicon.ico
 
 
flat_maps.py
flat_maps.py
 
 
index.html
index.html
 
 
requirements.txt
requirements.txt
 
 
server.txt
server.txt
 
 

Repository files navigation

Exoplanets in the Galaxy

Overview

Thousands of exoplanets have been discovered, most of them not so far from the Sun considering the galactic scale. This distribution is mostly because the methods used for detection can more easily detect exoplanets close to us or exoplanets with certain characteristics, not because all exoplanets are really distributed close to us. Curious about what area of our Galaxy we were able to map for exoplanets, I made this interactive visualization. You may see that, until now, we just mapped a very small region of our Galaxy.

There have been 6451 exoplanets discovered around 4847 stars. But only 4819 of those stars have had their distances to us determined, totaling 6423 exoplanets in the visualization.

Access the interactive visualization in your browser going here or clicking on the image below.

Also, the files are being update monthly with the newly discovered exoplanets in the exoplanet archive.

Date of the last (automatic) update: 2026-11-01

Update Exoplanet Data

Interactive visualization

Repository structure

├──.github/
│  └──workflows/
│         update.yml               # Github actions to automatize deployments
├──data/                           # Where all the data donwloaded, reduced and transformed is stored
├──images/                         # Where the image assets used or created are stored
├──data_transformer.py             # Transforms the data to the format and coordinates to be used
├──exoplanets_in_the_galaxy_3d.nb  # The original notebook. Creates transparent asset image
├──exoplanet_data.py               # Connects to the API to donwload exoplanet data
├──favicon.ico
├──flat_maps.py                    # Makes simples face-on and edge-on maps of the exoplanets in the galaxy
├──index.html                      # The static page
├──LICENSE
├──README.md
└──requirements.txt

What the code does

1. Scraping the data

Run exoplanet_data.py to retrieve data from https://exoplanetarchive.ipac.caltech.edu and build (or update) Exoplanets_coordinates.txt and exoplanets_coordinates_methods.txt with distance, position, and method of detection of every exoplanet (with estimated distance to us) discovered till now.

2. Simple face-on and edge-on flat maps

Run flat_maps.py to retrieve data from exoplanets_coordinates.txt and Artist's_impression_of_the_Milky_Way_gna_small.jpg to make MW_fo_dots.jpg, 2D map of the distribution of exaplanets discovered in our Galaxy.

Representation of the positions of the exoplanets discovered in our Galaxy.

It also retrieves data from exoplanets_coordinates_l_b.txt and Milky_Way_edge_on.jpg to make MW_eo_dots.jpg, another 2D map of the distribution of exaplanets discovered in our Galaxy.

Representation of the positions of the exoplanets discovered in our Galaxy.

3. From TXT to JSON

Run data_transformer.py to retrieve data from exoplanets_coordinates.txt and exoplanets_coordinates_methods.txt and transform the data to JSON format in exoplanets_coordinates.json and exoplanets_coordinates_methods.json. This is used in the interactive visualization.

4. Semi-transparent PNGs

The images MW_transparent.png and MW_transparent_small.png may already be present. If not, you need to run exoplanets_in_the_galaxy_3d.nb (Mathematica notebook) to create them and have a 3D visualization of the exoplanets.

5. Local visualization

Now, to access the interactive visualization locally in your browser, you need to run index.html locally.

In your computer, open a terminal window and go to the project folder:

cd C:\Git\exoplanets-in-the-galaxy-3d

Create a server:

python -m http.server 8000

In your browser, go to:

http://127.0.0.1:8000/

Later, close the server in the terminal pressing "Ctrl+C" in it.

The Images of our Galaxy

The Illustration of our Galaxy comes from here. The annotated version can be found here. The edge on picture of our Galaxy comes from here. The extruded galaxy is built from a low-resolution black-and-white (also in the folder images) version of the illustration, where the height of the mesh is set in function of how bright a pixel is in the image.

For exoplanet archive information in retrieving data, see:

Some documentation

https://exoplanetarchive.ipac.caltech.edu/applications/DocSet/index.html?doctree=/docs/docmenu.xml&startdoc=item_1_01

How to use TAP and retrieve data

https://exoplanetarchive.ipac.caltech.edu/docs/TAP/usingTAP.html

And how to choose your table and data on TAP

https://exoplanetarchive.ipac.caltech.edu/docs/API_PS_columns.html

About

A 3D interactive map of the exoplanets discovered in our Galaxy.

ferdesmello.github.io/exoplanets-in-the-galaxy-3d/

Topics

astrobiologyastrophysicsexoplanetshtmlmathematica-notebookmilky-waypythonwolfram-language

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.