Mapgen4
redblobgames.com
- Free plan
- Web
- Self-hosted
What Mapgen4 is
Mapgen4 is a free procedural wilderness map generator from Red Blob Games. Choose a seed, paint mountains, valleys, and oceans, then let its simulation shape biomes and rivers. The model considers evaporation, wind, and rainfall, while sliders let you adjust simulation and visual settings such as rainfall and river flow. Terrain renders in 3D through a custom projection and outline intended to create a hand-drawn-inspired appearance. The web page provides a high-resolution PNG download, and the maker says you may use created maps as you wish; credit is appreciated but not required. Source code is available for local browser use, with npm or pnpm build instructions and Apache v2 licensing for Mapgen4 and helper libraries, including commercial projects. Rendering is designed to look best around 25,000 Voronoi cells, although the code supports more than one million. The maker describes the project as finished and mostly inactive.
Who it suits
Mapgen4 suits independent, student, and hobbyist developers who want procedural maps in a browser or local setup. It also fits creators needing downloadable maps with permissive usage rights.
Good to know, and what to watch
- Paint terrain and simulate biomes
- Adjust rainfall and river-flow settings
- High-resolution PNG download
- Apache v2 commercial-use license
- Source available for local browser use
- Finished project is mostly inactive
- Rendering does not work on all platforms
- Best appearance targets about 25,000 cells
- Several planned features remain unbuilt
The verdict
Its free web tool, downloadable PNGs, and Apache v2 source make it practical for map experiments and projects, with the noted platform and project-status limits.
What the maker publishes
- Audience
- Red Blob Games says its main audience is independent, student, and hobbyist software developers. source
- Code license
- Mapgen4 and its helper libraries are licensed under Apache v2, and the maker says they can be used in commercial projects. source
- Controls
- Users can adjust simulation and style sliders, including rainfall and river-flow settings. source
- Controls
- Sliders let you change the simulation and map style. source
- Download and local use
- The repository provides the source code and instructions to build it with npm or pnpm and run it locally in a browser. source
- Export
- The page offers a high resolution image download and says it does not work on all platforms. source
- Export and usage
- The page offers a high-resolution image download and says users may do as they please with maps they create; credit is appreciated but not required. source
- Founded
- 2018 source
- Limits
- The maker says rendering parameters are designed to look best around 25,000 Voronoi cells, although the underlying code can support more than one million. source
- Limits
- The README says the code can support over one million Voronoi cells, while rendering and other parameters are designed to look best around 25,000 cells. source
- Local use
- The README gives build instructions and says to run a local HTTP server and visit embed.html in a browser. source
- Maker
- Red Blob Games identifies Amit Patel as its maker and says he makes interactive visual explanations of math and algorithms. source
- Planned omissions
- The maker lists drawing rivers, sphere output, natural resources, towns, forests, names, roads, and nations as features left for a future project. source
- Project status
- The maker describes the project as finished and mostly inactive, with code changes made in April 2023. source
- Project status
- The maker describes the project as finished and mostly inactive. source
- Purpose
- Mapgen4 is a procedural wilderness map generator where users paint mountains, valleys, and oceans and the simulation generates biomes and rivers. source
- Purpose
- Mapgen4 is a procedural wilderness map generator. source
- Security and compliance
- The opened Mapgen4 page and repository do not state any security or compliance certifications. source
- Simulation
- The generator simulates evaporation, wind, and rainfall to determine biomes and rivers. source
- Source code
- The source is available on GitHub, and the README says Mapgen4 and the maker's helper libraries are licensed under Apache v2 for use in commercial projects. source
- Style
- Its 3D rendering uses a custom projection and outline intended to give the map a hand-drawn look. source
- Support
- The Mapgen4 page provides the maker’s email address and invites interested people to email about extending the project. source
- Support
- The Mapgen4 page invites users to email the maker or comment on the page. source
- Terrain editing
- You choose a starting seed and paint mountains, valleys, and oceans on the map. source
Checked against the maker's pages on 3 Oct 2026.