https://github.com/arcticray/procedural-tilemap-generator
https://github.com/arcticray/procedural-tilemap-generator
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arcticray/procedural-tilemap-generator
- Owner: ArcticRay
- Created: 2025-07-26T20:42:00.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-26T21:26:33.000Z (12 months ago)
- Last Synced: 2025-07-27T01:17:27.741Z (12 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Procedural Tilemap Generator Service
**FastAPI** microservice for procedural generation of 2D tilemaps with configurable biome rulesets, live-reload development, and multiple export formats.
[](https://github.com/arcticray/procedural-tilemap-generator/actions/workflows/ci.yml)
---
## π Features
- **REST API Endpoints**
- `POST /generate_map/` β JSON tile grid
- `GET /generate_map/` β JSON via query params
- `GET /generate_map/png` β PNG image
- `GET /generate_map/svg` β SVG vector map
- `GET /generate_map/tmx` β TMX file for Tiled
- **Biome Ruleset**
- External `biomes.yaml` defines thresholds & variants
- Validates input, returns 422 on unknown biome
- **Variability**
- Randomized noise offsets β every request yields a fresh map
- **Playground UI**
- Interactive form, live PNG preview, download SVG/TMX buttons
- **Dockerized**
- **Dev** image: liveβreload (`uvicorn --reload`), mounted code & config
- **Prod** image: lean, excludes dev tools & tests
- **Testing & Linting**
- `pytest` for unit/integration tests
- `flake8`, `isort`, **Black** for style enforcement
- **CI/CD**
- GitHub Actions: tests β lint β build dev & prod images
---
## πΌοΈ Example Maps
**32Γ32 (forest)**

**32Γ32 (desert)**

---
## Application Preview
**Preview of Application**

---