A Stroll Across Procedural Terrain! (Java)

Опубликовано: 01 Июль 2026
на канале: sirrandalot
2,651
76

All information is in the description!

Haven't programmed in a while so I thought I'd bust out netbeans and try working on something I've been wanting to have a go at, procedural terrain!

The terrain was generated using a kind of fractal noise algorithm, except instead of having static amplitudes for each frequency, there are several amplitude multipliers which themselves vary in order to create a more interesting and less random looking terrain. I used cosine interpo

The biomes are determined by precipitation and temperature (which both vary according to a similar but less complicated noise function). If you google "biome graph" you'll find a bunch of images which is pretty much how I measured where the biomes should be layed out in terms of numbers.

Intro sound effects from: http://www.freesound.org/
Music: "Bluebird" by E's Jammy Jams from: https://www.youtube.com/audiolibrary/...