Skip to content

Suggestion: Noise functions for @std/random #6694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ArmaanAS opened this issue May 28, 2025 · 0 comments
Open

Suggestion: Noise functions for @std/random #6694

ArmaanAS opened this issue May 28, 2025 · 0 comments

Comments

@ArmaanAS
Copy link
Contributor

Add the following noise functions to @std/random with function signatures like:

function perlin(x: number, y?: number, z?: number): number

function simplex(x: number, y?: number, z?: number, w?: number): number

I’ve been looking for a stable implementation of noise functions for some graphical use cases. It would be great if they supported seeding. There are more noise algorithms that are also useful for complex graphics but these two would be a good starting point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant