User:PurpleKiwi/Under Construction

From Legacy Roblox Wiki
Jump to navigationJump to search

Working on a page explaining how to generate random terrain using Perlin noise. Feel free to give me ideas/suggestions/comments/concerns.



Perlin Noise

Perlin noise allows for the creation of more realistic random terrain. The main method to generate a Perlin noisemap is called the "Diamond-Square Algorithm". How does it work?

1. Start off with four corners, each with a random value from the minimum to the maximum.

2. Fill in the sides with the average of each of the corners.

3. Fill in the center with the average of each of the sides.

4. Randomize the new values slightly.

5. Repeat with the new boxes until you get the desired detail level.