Uniform distribution from a fractal Perlin noise function in C#

后端 未结 2 1114
[愿得一人]
[愿得一人] 2021-02-14 08:23

My Perlin noise function (which adds up 6 octaves of 3D simplex at 0.75 persistence) generates a 2D array array of doubles.

These numbers each come out norm

相关标签:
2条回答
  • 2021-02-14 09:07

    You will probably be interested in one of the following (related) techniques:

    • Probability integral transform

    • Histogram equalization

    0 讨论(0)
  • 2021-02-14 09:16

    Oddly enough I just wrote an article on your very question:

    http://ericlippert.com/2012/02/21/generating-random-non-uniform-data/

    There I discuss how to turn a uniform distribution into some other distribution, but of course you can use similar techniques to transform other distributions.

    0 讨论(0)
提交回复
热议问题