vlang / vsl

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

noise: add simplex noise #206

Closed PottierLoic closed 1 month ago

PottierLoic commented 3 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 3 months ago

PRs are always welcome. :-)