# amitp/mapgen2

Map generator for games written in Flash. *There's an HTML5 version* on github/redblobgames/mapgen2 . Generates island maps with a focus on mountains, rivers, coastlines.

Repository: https://github.com/amitp/mapgen2
Canonical: https://ross.abutalabs.com/products/mapgen2
Homepage: http://www-cs-students.stanford.edu/~amitp/game-programming/polygon-map-generation/
Language: ActionScript
License: NOASSERTION
License Family: other
Topics: procedural, procgen, maps
Last push: 2025-05-07T23:38:10+00:00

## Health v2 (maintenance only)
Score: 41/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 20, release rhythm 35, longevity 100
- inputs: {"age_days": 5916, "days_push": 483, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1371, forks 212 (observed 2026-08-28T04:04:32.023223+00:00)

## What it is
A procedural map generator for games, written in ActionScript (Flash), that creates island/continent maps with coastlines, mountains, and rivers using a polygon (Voronoi) graph structure rather than tile grids. It generates roughly 1,000 polygons usable as distinct gameplay areas, with rivers, roads, and named terrain types, and has an HTML5 successor at redblobgames/mapgen2.

## Use cases
- generate island maps for a game
- create continent maps with rivers and mountains
- generate polygon-based game world maps
- procgen for fantasy game terrain
- generate maps with towns and quest locations
- learn polygon map generation techniques

## When to avoid
- you need a maintained or actively supported tool (the project is explicitly unmaintained)
- you need realistic heightmap-based terrain generation
- you cannot use ActionScript/Flash code (prefer the HTML5 version at redblobgames/mapgen2)
- you need tile/grid-based map generation

## Facets
- artifact type: library
- maturity: abandoned
- function: simulation, graphics, data-generation
- domain: graphics, simulation
- platform: cross-platform
- tags: procedural-generation, map-generation, voronoi, actionscript, game-maps, rivers, coastlines, game-development

## Member repositories
- amitp/mapgen2 (main) score 41

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:32.023223+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:49.302241+00:00, confidence not recorded.
  - readme: https://github.com/amitp/mapgen2 (fetched 2026-08-28T04:04:32.023223+00:00, sha 3312dd3cd45c)
  - homepage: http://www-cs-students.stanford.edu/~amitp/game-programming/polygon-map-generation/ (fetched 2026-08-29T11:57:30.800439+00:00, sha 9ac314e8bfb4)
  - site_page: http://www-cs-students.stanford.edu/~amitp (fetched 2026-08-29T11:57:30.810962+00:00, sha 1e169666de6f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
