/C-Map-Generation

Repo containing different methods of procedurally generating maps in pure C (here represented as 2D arrays)

Primary LanguageCGNU General Public License v3.0GPL-3.0

Procedural map generation methods in C

Generating random maps is a cornerstone of many creative IT focused industries, like 3D animation, 3D modelling and especially game development. There are a lot of ready-made implementations on the web, but a lot of them are quite hard to understand. My implementations strive to be easy to understand and reimplement.

In depth explenations of the algorithms will be in each directory.

For now, I made four implementations of popular procedural generation methods.

These being:

Graphical examples made using the raylib graphics library

As time goes on, obviously more methods will be added.