https://github.com/mikeskydev/energy-globe
World electricity consumption split out per source, on a three.js globe.
https://github.com/mikeskydev/energy-globe
Last synced: 9 months ago
JSON representation
World electricity consumption split out per source, on a three.js globe.
- Host: GitHub
- URL: https://github.com/mikeskydev/energy-globe
- Owner: mikeskydev
- Created: 2025-05-13T14:13:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-19T21:57:44.000Z (about 1 year ago)
- Last Synced: 2025-06-18T00:38:39.362Z (12 months ago)
- Language: TypeScript
- Homepage: https://mikeskydev.github.io/energy-globe/
- Size: 27.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Energy Globe - Electricity
Powered by Energy Consumption from Our World in Data.
https://ourworldindata.org/energy

## Development
The project uses Vite for development and build.
```sh
npm i
npm run dev
```
Vite will open a live environment: `localhost:5173`
## Build
```
npm run build
```
Files will be saved to the `dist` folder.
## TODOs
- Day/Night globe cycle using a custom shader
- Atmosphere effect
- Slider to select different data years
- Country nametags and %ages on bars
- Move key to below bars
- Fix some missing outline/centroid data
- Resizable
- Accessibility study
## Resources
### Images
- [NightSkyHDRI003, CC0](https://ambientcg.com/view?id=NightSkyHDRI003)
- [World Map, CC0](commons.wikimedia.org/w/index.php?curid=50497070)
- [World at night By Solar System Scope, CC BY 4.0](https://commons.wikimedia.org/w/index.php?curid=95503408)
- [World Height Map By Avsa - Own work, CC BY-SA 4.0](https://commons.wikimedia.org/w/index.php?curid=135145446)
### Datasets
- [World Energy Consumption, Our World in Data, CC BY-SA 4.0](https://github.com/owid/energy-data)
- [World Countries - Centroids, Gavin Rehkemper, MIT](https://github.com/gavinr/world-countries-centroids)
- [Natural Earth Vector, CC0](https://github.com/nvkelso/natural-earth-vector)
### Tools
- [NormalMap Online](https://cpetry.github.io/NormalMap-Online/)