vlang / vsl

V library to develop Artificial Intelligence and High-Performance Scientific Computations
https://vlang.github.io/vsl
MIT License
354 stars 44 forks source link

noise: add simplex noise #206

Closed PottierLoic closed 3 months ago

PottierLoic commented 4 months ago

Describe the feature

Simplex noise is faster than perlin noise when dealing with more than 3 dimensions: O(2^N) versus O(N^2) and have no directional artefacts.

I think it would be a great thing to have (for me at least) 🙂

If it is ok, I can submit a PR with my implementations for 1/2/3/4d.

Use Case

I try to generate clouds and I think 4d noise can work well. Even if it doesn't, it will still be nice to have it on vsl.

Proposed Solution

No response

Other Information

No response

Acknowledgements

Version used

latest

Environment details (OS name and version, etc.)

everything

JalonSolov commented 4 months ago

PRs are always welcome. :-)