Giter VIP home page Giter VIP logo

moon-quake-project's Introduction

forthebadge forthebadge forthebadge forthebadge

Table of Contents

MOON QUAKER

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.

Demo

Explore our Web app: https://moon-quakers.github.io/MOON-QUAKE-PROJECT/

Demo

Authors

Documentation

3d-moon-demo-in-webgl-and-javascript documentation

Threejs documentation

GIS data

Paper - Improving the accessibility of the apollo seismic data: archiving at iris and the pds

XML - Data Documentation

Apollo 11 Seismic Experiment

Moon Landing Map

Apollo Landing Site Coordinates

๐Ÿ›  Tech Stack

  • HTML5
  • CSS3
  • Javascript
  • JSthree
  • Jupyter Notebook

Run Locally

To serve the web to localhost download this repository and run:

  • npm install -g http-server

  • http-server -c-1

Acknowledgements

Tags

โ€œ #3Dmaps, #divulgation โ€

moon-quake-project's People

Contributors

martamateu avatar kemeriano avatar anumerico avatar magnus1990p avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.