This project creates a 3d visualization of real-time earthquake data gathered from the U.S. Geological Survey website. The real-time data can be downloaded as CSV formatted data files from USGS website. A PHP file /static/js/quake/earthmap.php is used to download the earthquake data and to create a texture map from a template texture image file of the Earth’s surface. Opening /static/js/quake/quake-so.html shows a spinning globe using the created texture map with the 3D Javascript library Three.js. The globe can be manipulated by dragging with mouse or the finger when using a touch screen.
The files in this project can be copied directly to the root of a web server. The file /static/js/quake/quake-so.html shows a standalone full sized representation of the data. The file /static/js/quake/quake.html can be included in another web page as shown under d3v.one/3d-earthquake-data/.
Three.js - 3D Javascript Library
Michael Koch d3v.one
This project is licensed under the MIT License - see the LICENSE.md file for details