Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kents00/projeckt_map
Create your custom 2D terrain in minutes
https://github.com/kents00/projeckt_map
noise-generator perlin-noise terrain-generation
Last synced: 24 days ago
JSON representation
Create your custom 2D terrain in minutes
- Host: GitHub
- URL: https://github.com/kents00/projeckt_map
- Owner: kents00
- License: gpl-3.0
- Created: 2021-12-08T14:22:21.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-11T13:02:31.000Z (about 3 years ago)
- Last Synced: 2024-05-02T04:11:36.108Z (8 months ago)
- Topics: noise-generator, perlin-noise, terrain-generation
- Language: Python
- Homepage:
- Size: 24.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Projeckt_Map
## About ##
Create your own custom terrain map in 2D## Setup ##
If you want to build up a virtual environment, [go here](https://virtualenv.pypa.io/en/latest/installation.html#via-pip). Alternatively, you may utilize my built-in environment by unzipping the **env** folder. Is there an issue installing tkinter in any operating system? [click here](https://tkdocs.com/tutorial/install.html#install-win-python)- Create your working environment and virtualenv:
```
$ virtualenv environment
```
- activating virtualenv:
```
$ source environment/bin/activate
$ cd src
```
- installing requirements:
```
$ pip install -r requirements.txt
```
- Run gui:
```
$ python gui.py
```- Run test:
This is inside the "lib" subdirectory
```
$ python test.py
```## How it works ##
**Seed** :
- Establishes the random number generator's initial state. You may alter it to generate a different random pattern in your image.**Color Range** :
- The Color Range picks a specific color or range of colors within an existing selection or a full picture.**Scale** :
- The number that specifies how far away the noisemap should be viewed.**Lacunarity** :
- The amount of information added or subtracted at each octave is determined by this number (adjusts frequency).**Persistence** :
- The number indicating how much each octave contributes to the overall structure (adjusts amplitude).**Octaves** :
- The amount of detail levels you desire in your noise.**Threshold** :
- It restricts the threshold per color, similar to a sea level.