Skip to content

megdotdev/tiny-terra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🗺️ Tiny Terra

Tiny Terra is a Python tool for generating 2D tile-based maps using procedural terrain generation. It combines noise functions to create varied landscapes with rivers, hills, and snow-capped peaks. Each map is reproducible with a seed, making it easy to explore different worlds or share your creations.

🚀 Installation

  1. Clone the repository: git clone https://github.com/megdotdev/tiny-terra.git
  2. Enter the directory: cd tiny-terra
  3. Install the dependencies: pip install -r requirements.txt

🛠️ Usage

Run the map generator by typing: python tiny_terra.py

This will create a file called fun_tilemap.png in the same folder.

⚙️ Optional Parameters

Edit these variables directly in the tiny_terra.py file:

  • WIDTH and HEIGHT: dimensions of the map
  • ZOOM: scale factor for viewing the map
  • SEED: optional seed to reproduce the same map

🖼️ Sample Output

Sample Map

✍️ Author

Megan Martinez

About

Procedural 2D tilemap generator for Pocket Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages