This repository contains a graphical user interface (GUI) implementation of the Diamond-Square algorithm. The Diamond-Square algorithm is a procedural generation technique used to create realistic terrain and landscapes. This implementation allows users to visualize and interact with the algorithm through a simple and intuitive GUI.
- Generate Terrain: Create terrains using the Diamond-Square algorithm.
- Visualization: View the generated terrain.
- Parameter Adjustment: Modify parameters such as roughness to change the appearance of the terrain.
- Save Terrain: Save the generated terrain to an image file.
To install and run the project, follow these steps:
-
Clone the repository:
git clone https://github.com/Feuerswut/diamond-square-gui.git cd diamond-square-gui -
Install dependencies: Ensure you have Python installed. Then, install the required Python packages using pip:
pip install -r requirements.txt
-
Run the application:
python main.py
-
Generating Terrain:
- Open the GUI by running the application.
- Adjust the parameters such as the size of the terrain and roughness.
- Click the "Generate" button to create the terrain.
-
Viewing and Saving Terrain:
- View the generated terrain in the GUI.
- Click the "Save" button to save the terrain as an image file.
- Contributions are okay, if you want to pick up where I left off.
- Yes it has bugs, Pulls are welcome, though I dont expect anyone to use this productively.
- INFO: Please drop me a message, I might be inactive at times...
This project is licensed for private use. See the LICENSE file for details.
For any questions or suggestions, please feel free to contact me.