Generating 3D noise quickly in python

后端 未结 3 2095
太阳男子
太阳男子 2021-02-08 13:38

I need a method to generate 3D simplex noise in python rather quickly. What methods are there out there to solve this problem?

3条回答
  •  一向
    一向 (楼主)
    2021-02-08 14:18

    use a mod function with a suitable period. there are quite a few pages around the www explaining mod functions.

    just make sure it is also suitable for 3 dimensions, some mods that are suitable for 1 or 2 dimensions may not be suitable over 3.

提交回复
热议问题