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

Add Bouncy Bubbles p5.js demo #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tildebyte
Copy link
Collaborator

@tildebyte tildebyte commented Jul 4, 2022

I'm not thrilled about the hacky pytest workaround, but I don't know of a way to test purely graphical web pages...

There's a weird issue with all p5.js examples which use the

    <script>
      function setup() {}
    </script>

workaround, to wit: a number is printed in the browser window, above the sketch canvas.

It seems to be specifically related to using js.window.requestAnimationFrame(create_proxy(draw)) in the sketch, as it doesn't show up for "static" sketches (e.g. #14)

Signed-off-by: Ben Alkov ben.alkov@gmail.com

This was referenced Jul 4, 2022
Signed-off-by: Ben Alkov <ben.alkov@gmail.com>
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

Successfully merging this pull request may close these issues.

None yet

1 participant