Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

https://en.wikipedia.org/wiki/Fractal_landscape

Name: Anonymous 2018-12-30 16:28

How do I program this in C or C++?

Name: Anonymous 2018-12-31 8:21

>>3
ackchyually, it's a quite straightforward thing to do in any language, at least if you do it the most basic way. diamond-square algorithm is a classic, here are some basic implementations:
http://stevelosh.com/blog/2016/06/diamond-square/ - lithp
https://medium.com/@nickobrien/diamond-square-algorithm-explanation-and-c-implementation-5efa891e486f - C/old-school sepples

also, while fractal is good for 3D, simplex noise is better for 2D maps:
https://www.redblobgames.com/maps/terrain-from-noise/

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List