Skip to content

Feuerswut/pythonapp-diamond-square

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diamond Square GUI

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.

Features

  • 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.

Installation

To install and run the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Feuerswut/diamond-square-gui.git
    cd diamond-square-gui
  2. Install dependencies: Ensure you have Python installed. Then, install the required Python packages using pip:

    pip install -r requirements.txt
  3. Run the application:

    python main.py

Usage

  1. 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.
  2. Viewing and Saving Terrain:

    • View the generated terrain in the GUI.
    • Click the "Save" button to save the terrain as an image file.

Contributing

  • 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...

License

This project is licensed for private use. See the LICENSE file for details.

Contact

For any questions or suggestions, please feel free to contact me.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors