You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With type level integers it'd be quite easy to do an N dimensional implementation for perlin and simplex at least, probably all the cellular stuff too. They wouldn't be as efficient as the hardcoded ones but you could use specialization for that. Perhaps look in to using typenum or waiting to see what happens with the pi types RFC.
While looking in to this quite some time ago I wrote https://gist.github.com/amaranth/a9ed8fff9a3c029aa743 (in Python) to prove it was possible to generate the perlin gradient tables procedurally although this does not include normalizing them.
Functions such as
perlin5
would be very welcome.The text was updated successfully, but these errors were encountered: