-
-
Notifications
You must be signed in to change notification settings - Fork 50
Jupyter canvas #178
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
Jupyter canvas #178
Conversation
|
Can you tell me a little bit about how this works if someone has multiple cells with rendered scenes in each cell? |
Good question. Each cell would probably create a new canvas with a new renderer. So the device would be shared (we should probably make that so), but each canvas comes with its own pipeline(s). I should make a notebook with multiple cells to get a better feel. Will do when we can use pygfx. |
|
BTW: you may see in the screenshots that the colors are a bit off. This has been fixed too by using the appopriate texture format. |
|
What happens if you leave out the animation loop and just render once? Does that work? |
|
Yes. Then a redraw is only requested when the canvas is resized (in the browser) like with normal windows. |

Closes #176
I'm going to leave this open until I've updated pygfx, so I can make sure that it works well for pygfx too.