Space Apps Challenge 2022 PoC for the Team Moon Quaker
index.html contains the main layout and definitions
OrbitControls.js is grabbed from the THREE.js library and used for adding rotation and abstraction to function calls.
*.csv contains seismic activity on the moon in Lat/Long coordinates.
lroc_color_poles_16k/8k.jpeg is a RGB image which is used for providing the basic map/texture of the moons surface. It is achieved by creating a mesh, adding this image as a texture to the mesh and adding the entire mesh to the sphere representing the moon. Which automatically wraps the image around the moons surface. NB! this creates more severe distortion the further diagonally one moves from origo, (Lat/Long coordinates [0,0]). This is shown easily around the pole areas.
ldem_64_uint/_8k.jpeg is a DEM image which is used as a mask for adding height with bumpMap in the map mesh. This gives the texture layer (surface) some degree of height textures.
planet.js is the main software, it runs a simple spehere generator, adding a camera and light which is attached to the camera. Then it generates a mesh and adds the surface image as a texture layer onto the mesh. Further it adds the DEM image as a texture for the bumpMap providing height differentials on the surface. Lastly it adds the mesh onto the sphere, wrapping it around the sphere representing the moon, before rendering the sphere in the browser window as a 3D object while rotating it.
data.js contains the extracted data from csv. This data is used to represent lines in the locations of the quakes and others events
main.ipynb is a Jupyter notebook for generating images of seismic activity based on lat/long coordinates. It converts lat & long to X,Y in the image of Xm,Ym, and returns a binary mask of the image layout to be used on generating overlays / other image processing.
Explore our Web app: https://moon-quakers.github.io/MOON-QUAKE-PROJECT/
3d-moon-demo-in-webgl-and-javascript documentation
Paper - Improving the accessibility of the apollo seismic data: archiving at iris and the pds
Apollo Landing Site Coordinates
- HTML5
- CSS3
- Javascript
- JSthree
- Jupyter Notebook
To serve the web to localhost download this repository and run:
-
npm install -g http-server
-
http-server -c-1
โ #3Dmaps, #divulgation โ