#map #generation #procedural

omg_core

A library to generate maps with user-defined attributes like rainfall & temperature

1 unstable release

0.1.0 Jun 15, 2022

#325 in #procedural


Used in 2 crates

GPL-3.0 license

90KB
1.5K SLoC

Orchaldir's Map Generator

CI

This project allows the user to create maps with a number of user-defined steps. Some example steps are :

  • Creating user-defined attributes like rainfall or temperature.
  • Adding noise or a gradient to an attribute.
  • Transforming an attribute.
  • Combining multiple attributes.

The steps can be saved to & loaded from files with serde.

A very simple editor uses rocket to visualize the generated map.

How to run the editor?

With cargo:

> cd omg_editor
> cargo run

For Intellij set the working directory of the run configuration to omg_editor.

Afterwards you need to open the displayed link (e.g. http://127.0.0.1:8000) in a browser.

Dependencies

~12–21MB
~263K SLoC