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

Demo not working? #1

Open
lmiller1990 opened this issue Aug 1, 2018 · 1 comment
Open

Demo not working? #1

lmiller1990 opened this issue Aug 1, 2018 · 1 comment
Assignees
Labels

Comments

@lmiller1990
Copy link

Hi,

I opened the demo but it's just a black screen with two sliders and dropdown. Is something supposed to render?

@Sophia-Gold
Copy link
Owner

This took me a while to figure out, but I'm pretty sure it's due to changes in the implementation of performance.now() in order to mitigate its use in timing attacks that take advantage of Spectre. See the note at the top here: https://developer.mozilla.org/en-US/docs/Web/API/Performance/now

I can't promise I'll fix this anytime soon, but I would like to preserve this repo as a resource for basic GLSL in the browser. If I can't find an alternative to calling that function it may just make sense to keep the FPS static since that's not really the point of this code anyway.

Thanks for bringing my attention to this!

@Sophia-Gold Sophia-Gold added the bug label Aug 5, 2018
@Sophia-Gold Sophia-Gold self-assigned this Aug 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants