Python-Map-Generator | Generates procedural maps using perlin noise
kandi X-RAY | Python-Map-Generator Summary
kandi X-RAY | Python-Map-Generator Summary
Generates procedural maps using perlin noise. My first python project
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Generate the map
- Generate a tile at a given location
- Compute the distance between two points
- Set color
- Calculates the distance between two points
- Generates a smart image
- Generate a single pixel
- Retrieves a tuple
- Set white color
- Make the color black
- Set color from grayscale
Python-Map-Generator Key Features
Python-Map-Generator Examples and Code Snippets
Community Discussions
Trending Discussions on Python-Map-Generator
QUESTION
So i found a certain procedural map generator in Python and I understand parts of it but i'm having a very hard time piecing it together to be able to modify it to suite my needs so I was wondering if it is possible for someone to explain step by step what exactly the generator does. Overall I understand the concept but the way it is written makes it very hard for me to follow the math involved.
The generator is here and some explanations would be welcomed and probably help anyone else trying to learn procedural generation as this example honestly yields beautiful results.
...ANSWER
Answered 2018-Mar-13 at 10:12First you must understand how Perlin Noise works. I recommend you write your own Perlin Noise code, something minimal, then play a bit with it and see the results. Then move on to more advanced techniques and variants.
Here for example the user has some settings which more or less control the output:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Python-Map-Generator
You can use Python-Map-Generator like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page