Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danieldidiobalsamo/island_map_generator

Island map editor using procedural generation, Rust and Bevy engine
https://github.com/danieldidiobalsamo/island_map_generator

bevy procedural-generation rust terrain terrain-editor terrain-generation

Last synced: 4 months ago
JSON representation

Island map editor using procedural generation, Rust and Bevy engine

Awesome Lists containing this project

README

        

https://github.com/danieldidiobalsamo/island_map_generator/assets/79797812/2b459ab1-3ea4-48ea-82f8-2b841ceacc25
# About

Island map procedural generation using Rust and Bevy engine.
The generator is based on Fractal Brownian motion.

The following parameters can be updated while the simulation is running:
- texture resolution.
- octaves: islands amount of details.
- frequency: higher values create more islands.
- lacunarity: how many details remains for each octave.
- persistence: octaves contribution in the general result. Higher values produce "rough" islands.
- scale: multiplier to amplify the result.
- bias: allows to shift the result.
- map seed.

Press 'Q' to leave.

# How to launch

## Using cargo (recommended)

Install [bevy dependencies](https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md) and then just launch:
~~~
cargo install island_map_generator_bevy
island_map_generator_bevy
~~~

## Build manually

Install [bevy dependencies](https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md)

Then clone this repository and launch :
~~~
cargo run --release
~~~

Note: if you want to launch as dev, make sure to add the following feature to decrease compilation time :
~~~
cargo run --features bevy/dynamic_linking
~~~