This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
Arial Bold.ttf | ||
| |
README.txt | ||
| |
images/ | ||
| |
map_temp.png | ||
| |
mapgen/ | ||
| |
test.py |
README.txt
PyWorldGen attempts to generate a moderately believable land mass. REQUIREMENTS PIL, aggdraw USAGE Drop mapgen into your project folder. Copy map_images and images into your project's root directory. (It is not hard to change the paths in the code.) Then... import mapgen gen = mapgen.ContinentGenerator() landmass = gen.generate() dest = mapgen.save_to_image(landmass) To run the demo interactively: python mapgen/__init__.py The demo script requires the Pyglet library. It generates a new map whenever you press Space. Further documentation forthcoming. Stephen Johnson srj15@case.edu








