TannerRogalsky / punchdrunk

An attempt to replicate the LÖVE API in the browser using moonshine.
http://tannerrogalsky.com/punchdrunk/
MIT License
81 stars 10 forks source link

Figure out why the simplex noise function doesn't pass all its tests #32

Closed TannerRogalsky closed 10 years ago

TannerRogalsky commented 10 years ago

The 3D and very rarely the 2D implementations for simplex noise fail the when called with two arguments should return a different value for a different input test case, returning 0 for both inputs. I don't think that this is valid simplex noise behaviour but I'm not an expert.

TannerRogalsky commented 10 years ago

This has been resolved by #46! JavaScript's native random isn't the best.