Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.11 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.11 KB

Wang Tiles

============

Implements a random map generator using Wang Tiles, in C#.

============ Wang Tiles are a very simple but useful concept that can be used to generate an infinite set of connecting tiles. This small project was implemented based on the information found here.

Note that is just a small proof of concept done in 1 hour, using C# and OpenTK for rendering the output (you can easily swap it out for any other rendering system, the algoritm only gives you a list of tile IDs).

When running the sample, you can change the tileset using the number keys.

A sample output, using a simple tileset with roads.

Sample Output

============ Same map, using a different tileset that shows tile IDs. Numbers Output