- a random map generation tool, can generate new random map by using the existing map
first download project and unzip cd ./fastMapper
- with python
python3 setup.py install
python3 ./script demo.py
- python example
from fastMapper import fastMapper
module = fastMapper()
module.out_height = 50
module.out_width = 60
module.symmetry = 1
module.N = 2
module.channels = 3
module.log = 1
module.input_data = "../samples/o3.png"
module.output_data = "../output/done.png"
module.type = "img"
module.run()
- with shell
cd script
./demo.sh
with lua
./script/to_lua.lua