Skip to content
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

Okb.random.blue does not apply the global seed #5

Open
wayfu opened this issue Jun 9, 2021 · 1 comment
Open

Okb.random.blue does not apply the global seed #5

wayfu opened this issue Jun 9, 2021 · 1 comment

Comments

@wayfu
Copy link

wayfu commented Jun 9, 2021

It uses Math.random instead of Okb's seeded random in the default sampler function (if I change the sampler to use Okb.random.random instead, it works as expected)

@wayfu wayfu changed the title Okb.random.blue does apply the global seed Okb.random.blue does not apply the global seed Jun 9, 2021
@LingDong-
Copy link
Owner

Hi @wayfu , thanks for the issue! The blue noise seed can now be set with Okb.random.seed (or with blueSeed to set for blue noise specifically). 7c44f66

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

2 participants