Skip to content

Latest commit

 

History

History
68 lines (56 loc) · 5.71 KB

README.md

File metadata and controls

68 lines (56 loc) · 5.71 KB

Biome Growth Machine

This was coded with C# initially for Unity3D and then adapted for C#.net. It can be compiled with .net sdk 5 using dotnet build or dotnet run in the my-app folder through the command line.

It builds a command line application that opens up a window showing the generation process if wanted (this causes it to run at a slower speed to be able to showcase the entire process).

example .gif files of generation process:

Biome Growth Process Biome Growth Process Biome Growth Process

This is one module of a series used on Unity3D to generate island meshes. Other modules adapted for C#.net can be seen in the following links:

The following modules use Unity

(more links will be added as soon as the modules are ported onto C#.net or made presentable in Unity).

The full Unity Project can be followed here


This module generates biomes through the RGB channels of a bitmap using the R channel as the key value as it is different for each node, where B and G values are just random (having a slight chance of having 2 nodes with same B or G value). The results can be seen in the following images:

Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes Example of grown biomes