I made a sidescrolling 2D terrain generator using Perlin noise. This is the second version of the generator, which generates better-looking terrain while having full customizability. The generator works by generating the gradients used for the noise generator. Then it gets the remainder from Seed/7, and uses that while changing the X to generate the noise. Controls: --Flag to change seed. --[V] to toggle variable visibility. --[Space] to redraw with new rules. --Variables ----Flatness Constant: How flat the world is. The greater the value, the flatter the terrain. ----Layers: How many layers of noise are added. The greater the value, the more layers are added. ----Round: Changes the type of rounding, or whether there's rounding at all. ------0: No rounding ------1: Floor rounding ------2: Normal rounding ------3: Ceiling rounding --Notes ----A 50/180 Flat/Terra constant ratio seems to have a great balance between terrain variability and playability. Use the following link to calculate. https://www.desmos.com/calculator/dvokjsp2yf ----This does not include features, such as dirt, caves, and ores. I may add those and more in the future. --Credits Almost none of this is by me. Original tutorial made by @FindingPepper3 on YT (FindingPepper).
FEATURED SEEDS: Thumbnail: 0 Pi: 3141592653 Euler's Number (e): 2718281828 Golden Ratio (Phi): 1618033988