Skip to content
/ pyfdf Public

An isometric topographic visualisation and generation toy project, written in python

License

Notifications You must be signed in to change notification settings

mongin/pyfdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyfdf

An isometric topographic visualisation and generation toy project, written in python.

a small mountain over lakes

a small mountain over lakes

This project offer a vizualizer, pyfdf.py, taking as input json-formatted map files, and render them inside a graphical window. The rendering can also be saved to images files, in jpeg, bmp or png format. Map files are generated by a different script, map_generator.py, using the improved perlin noise algorithm.

The vizualizer depends on the pygame package for image rendering. pip install pygame should be all that is needed. The map generator use numpy. If your distribution of python doesn't have it by default, you should install it too.

Usage for the vizualizer:

./pyfdf.py -m <map>

A few maps are available in the maps folder. Note that hill.json was done using a bugged version of perlin noise during development.

Usage for the map generator:

./map_generator.py > map_file.json

There is many more options for the generator and the vizualizer, and a configuration file. Full doc is coming :)

About

An isometric topographic visualisation and generation toy project, written in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages