https://github.com/aakashsharma7/github-globe
The Globe from Github's homepage implemented in ThreeJS with beautiful shading.
https://github.com/aakashsharma7/github-globe
3d github globe javascript three-globe threejs
Last synced: 5 months ago
JSON representation
The Globe from Github's homepage implemented in ThreeJS with beautiful shading.
- Host: GitHub
- URL: https://github.com/aakashsharma7/github-globe
- Owner: aakashsharma7
- License: mit
- Created: 2024-11-09T17:32:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-09T17:37:53.000Z (over 1 year ago)
- Last Synced: 2025-04-13T06:26:23.625Z (about 1 year ago)
- Topics: 3d, github, globe, javascript, three-globe, threejs
- Language: JavaScript
- Homepage: https://aakashsharma7.github.io/github-globe/
- Size: 2.53 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github Globe

## Inspiration
This project was inspired by [Github's homepage](https://github.com/home), where they display real-time Github activity on a globe map.
## Implementation
The globe is constructed with [three-globe](https://github.com/vasturiano/three-globe), a ThreeJS data-visualization project made by [@vasturiano](https://github.com/vasturiano). Then, the scene is shaded with a dim ambient light and multiple directional lights to resemble a dreamy space environment. The globe's `MeshPhongMaterial` is also adjusted to fit the environment.
## [Live demo](https://janarosmonaliev.github.io/github-globe/)
All my attended/cancelled flights (2019-2020) are displayed on the globe. If you try to follow one arc, that would be the sequence of my travel destinations. Red arcs are cancelled flights.
## Documentation
Please visit [three-globe](https://github.com/vasturiano/three-globe) for detailed documentation if you want to edit the `Globe` object to add data visualization. Speaking of the Glow, `three-globe` does not let you access the glow mesh object yet, so the default glow was turned off and a separate `three-glow-mesh` is added to the scene instead.
## Usage
This project is bundled with [Webpack](https://webpack.js.org/):
```json
"build": "webpack --config=webpack.prod.js",
"build-dev": "webpack --config=webpack.dev.js",
"start": "webpack serve webpack-dev-server --open --config=webpack.dev.js"
```
Details:
```bash
npm start # development build in ./dist
npm run build # static production build in ./
```
## License
[MIT](https://choosealicense.com/licenses/mit/)