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

Jupyter Configuration #179

Open
lmerritt47 opened this issue Sep 30, 2021 · 4 comments
Open

Jupyter Configuration #179

lmerritt47 opened this issue Sep 30, 2021 · 4 comments

Comments

@lmerritt47
Copy link

Is there anyway to configure this plugin so that it can run in a jupyter notebook?

@berinhard
Copy link
Owner

Hi @lmerritt47! Thanks for opening this discussion.

I'm not very familiar with jupyter notebook and I didn't spend any time trying to port pyp5js to it yet. Although I highly recommend people to do so =)

Recently, @ranoya, a professor from Brazil was able to port it over ObservableHQ, so I think that maybe you run it in a jupyter notebook.

@jtpio
Copy link

jtpio commented Oct 5, 2021

@lmerritt47 just a quick heads-up that you might be interested in this project: https://github.com/jtpio/p5-notebook

Which is based on the in-browser version of JupyterLab called JupyterLite: https://github.com/jupyterlite/jupyterlite/

JupyterLite has support for p5.js kernels running in the browser (in JavaScript), but also a Python kernel backed by Pyodide. It would be great to find a way to use pyp5js with the Python kernel and reuse the existing architecture (tracked in jtpio/p5-notebook#52 and linked issues)

@nickmcintyre
Copy link

I made a very basic package called jupy5 that uses Skulpt for this task. It works OK in JupyterLab and on CoCalc -- the biggest limitation at the moment is that you have to open the browser console to view error messages 🤦🏽‍♂️

@berinhard
Copy link
Owner

Thanks for sharing this @nickmcintyre! Yesterday I've met with Tamir and he showed me this cool experiment as well!

The issue about the errors messages in the console is indeed a problem. We have this issue #130 to document this requirement of improving error/exception log messages.

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

4 participants