#procedural-generation #terrain-generation #bevy #generation #procedural #terrain

app island_map_generator_bevy

Island map editor using procedural generation, Rust and Bevy engine

1 unstable release

0.1.0 Nov 18, 2023

#1674 in Game dev

GPL-3.0-or-later

34KB
347 lines

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

Install bevy dependencies and then just launch:

cargo install island_map_generator_bevy
island_map_generator_bevy

Build manually

Install bevy dependencies

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 

Dependencies

~41–75MB
~1.5M SLoC