This project demonstrates an interactive 3D globe visualization using React and Globe.gl. It creates a visually appealing header with a customizable globe, points, and arcs. Check (https://globe.gl/) for the basis of this.
- Interactive 3D globe header
- Customizable globe image
- Add points of interest on the globe
- Display arcs between points
- Responsive design
- Node.js (v12 or later recommended)
- npm (comes with Node.js)
-
Clone the repository: git clone https://github.com/your-username/globe-rendering-experiments.git
-
Navigate to the project directory: cd globe-rendering-experiments
-
Install dependencies: npm install
To start the development server: npm start
Open http://localhost:3000 to view it in your browser.
src/App.js
: Main application componentsrc/GlobeHeaderDesign.js
: Globe visualization component, there are several, check App.js to change the globe you are viewing by changing the number of the referenced designsrc/index.js
: Entry point of the React applicationpublic/index.html
: HTML template
You can customize the globe by modifying the points
and arcs
data in App.js
. Adjust the globe's appearance and behavior by changing the properties in GlobeHeader.js
.
- React - A JavaScript library for building user interfaces
- Globe.gl - A WebGL-powered 3D globe visualization library
To learn more about React, check out the React documentation.
For more information about Globe.gl, visit the Globe.gl documentation.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.