https://github.com/redblobgames/1843-planet-generation
One week experiment: learn how to procedurally generate maps on a sphere. Code is messy but it runs.
https://github.com/redblobgames/1843-planet-generation
delaunay maps procedural-map-generator spheres voronoi
Last synced: 6 months ago
JSON representation
One week experiment: learn how to procedurally generate maps on a sphere. Code is messy but it runs.
- Host: GitHub
- URL: https://github.com/redblobgames/1843-planet-generation
- Owner: redblobgames
- License: apache-2.0
- Created: 2018-10-31T19:17:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-08T17:58:14.000Z (8 months ago)
- Last Synced: 2025-03-29T11:07:25.220Z (6 months ago)
- Topics: delaunay, maps, procedural-map-generator, spheres, voronoi
- Language: JavaScript
- Homepage: https://www.redblobgames.com/x/1843-planet-generation/
- Size: 43 KB
- Stars: 139
- Watchers: 12
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
[[http://unmaintained.tech/][http://unmaintained.tech/badge.svg]]
This was a 9 day (2.5hr/day) experiment to learn how to procedurally generate maps on a sphere. I hadn't worked with this type of sphere geometry before and wanted to learn.
** Geometry
[[https://www.redblobgames.com/x/1842-delaunay-voronoi-sphere/][Writeup]] - Fibonacci points, Delaunay triangles, Voronoi regions
[[https://www.redblobgames.com/x/1842-delaunay-voronoi-sphere/blog/fibonacci-sphere-voronoi.png]]
** Maps
[[https://www.redblobgames.com/x/1843-planet-generation/][Writeup]] - tectonic plates, mountains, oceans, biomes, rivers, rendering
[[https://www.redblobgames.com/x/1843-planet-generation/blog/continent-boundaries-5-small.jpg]]
[[https://www.redblobgames.com/x/1843-planet-generation/blog/planet-12-small.jpg]]
** Installation
To build, run =./build.sh= . Then visit embed.html .