|
|
1
2
Grant有一个随机数类和一个种子随机数类: 非种子的: http://www.gskinner.com/blog/archives/2008/01/source_code_ran.html 种子: http://www.gskinner.com/blog/archives/2008/01/source_code_see.html 此外,您还可以在这里找到一个不错的实现: http://lab.polygonal.de/?p=162/ 例子:
|
|
|
2
0
这里是:
|
|
|
3
0
这里描述了一个更快的解决方案-不使用位图数据和Perlin噪声 Seedable random number generator, actionscript |