3 ms·
Did he just re-invent fractals? That's roughly how most terrain generators work.
by Animats 10y ago
Did he just re-invent fractals? That's roughly how most terrain generators work.
- smallnamespace 10y agoYes, he basically rediscovered a generalization of Brownian motion (for r=sqrt2), which is self similar. In fact his algorithm is one way to get a Brownian bridge.
- gus_massa 10y agoI think that midpoint displacement is a well known technique. If that is a fractal or not depends on the definition of fractal that you prefer. Anyway, it's a nice article. I like the graphs with the different values of the displacement decay powers. It's probably also well known, but the comparison is nice.
- joshkpeterson 10y agoIt's a tutorial, not a paper. Chill. Also, I see no indication that this human is a "he".
- DougBTX 10y agoYes, I think you could call it a fractal. The Wikipedia page linked to from the article says that this technique is also called a "random midpoint displacement fractal".
- DanBC 10y agoMidpoint displacement is mentioned in The Science of Fractal Images (and the Beauty of Fractal Images), and also in Mandelbrot's book Fractal Geometry of Nature. From a phone, sorry about upside down: http://m.imgur.com/JGCpnIu http://m.imgur.com/JGCpnIu A snippet from "Science of Fractal Images"
- zubat 10y agoDiamond square is often swapped out for Perlin noise in terrain generators. They give very similar effects, but Perlin's method is a little more flexible along certain parameters(e.g. arbitrary offsets, zoom-in) while diamond square has more control over the nature of features at different scales, which can be used to make terrain more or less noisy.
- cperciva 10y agoBetter terrain generators will use higher-order curves rather than straight lines (i.e., instead of picking an increment for the midpoint and adding a multiple of 1 - |x|, add a multiple of 1 + cos(x)) in order to avoid having visible "corners". And of course terrain generators usually work in two dimensions, which makes this slightly more complex. But yes, the "pick your dimensionality, randomly adjust the height in the middle, then recurse" approach is very standard.