perlin-numpy icon indicating copy to clipboard operation
perlin-numpy copied to clipboard

Use a local RNG for reproduceable results

Open Permafacture opened this issue 1 year ago • 2 comments

This is the recommended practice for using numpy random numbers. Setting an RNG within the function means the results will always be reproduce-able regardless of what other functions in the main program are also consuming random numbers

Permafacture avatar Feb 10 '24 21:02 Permafacture

@pvigier Is it possible to merge this PR? There are no breaking changes involved therefore release should be smooth.

jaroslavknotek avatar Jun 17 '24 18:06 jaroslavknotek

For what it's worth, I added this in my fork, which is also published on PyPI :)

mcejp avatar Jul 21 '24 16:07 mcejp