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 a pyp5js kernel backed by pyodide #52

Closed
wants to merge 6 commits into from
Closed

Add a pyp5js kernel backed by pyodide #52

wants to merge 6 commits into from

Conversation

jtpio
Copy link
Owner

@jtpio jtpio commented Nov 7, 2020

First steps towards #50 and #5.

TODO

  • Load pyodide
  • Handle basic python code (code evaluation, stdout / stderr)
  • Add the pyp5js layer to setup the canvas
  • Make kernel selection more generic (while keeping kernel specs hard-coded for now)
  • Define a common interface for the two kernels. Most of the message handling can be shared, while keeping the "interpreter" specific to the kernel
  • Layout a plan for a better integration with other custom kernels (for example as plugins)

@vercel
Copy link

vercel bot commented Nov 7, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/jtpx/p5-notebook/3v8dksqg8
✅ Preview: https://p5-notebook-git-pyp5js.jtpx.vercel.app

@jtpio jtpio mentioned this pull request Nov 8, 2020
12 tasks
@vercel vercel bot temporarily deployed to Preview November 9, 2020 19:48 Inactive
@jtpio
Copy link
Owner Author

jtpio commented Nov 9, 2020

Progress:

image

@vercel vercel bot temporarily deployed to Preview November 9, 2020 21:00 Inactive
@vercel vercel bot temporarily deployed to Preview November 9, 2020 21:13 Inactive
@jtpio
Copy link
Owner Author

jtpio commented Oct 2, 2021

Closing as this can be done by reusing the upstream Pyodide based kernel, as a follow-up to #72

@jtpio jtpio closed this Oct 2, 2021
@jtpio jtpio deleted the pyp5js branch October 2, 2021 11:46
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.

1 participant