Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
5.21.0
metadata
title: MapGenerator
emoji: π
colorFrom: purple
colorTo: green
sdk: gradio
sdk_version: 5.5.0
app_file: app.py
pinned: false
license: mit
short_description: Generate procedural geographic maps from random fields
MapGenerator
Generate procedural geographic maps from random fields.
Map generation
The process of map generation is as follows:
- Generate a random field, choosing from the list of available random fields
- Normalize the field between 0 and 1
- Smooth the field with a gaussian filter
- Retain only the mainland above a certain threshold
Random fields
The available random fields are:
gauss
: Random gaussian field, with a given power spectrum, computed using the package powerboxperlin
: Perlin noise, computed using the package noisewarped_perlin
: Perlin noise with domain warping, computed using the package noisecos
: Sinusoidal noise (to be improved)fbm
: Fractional Brownian Field
See complete source code here
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference