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

p5.js Jyve Kernel #8

Open
westurner opened this issue Oct 28, 2019 · 2 comments
Open

p5.js Jyve Kernel #8

westurner opened this issue Oct 28, 2019 · 2 comments

Comments

@westurner
Copy link

There's a p5.js kernel for Jyve that may also be useful for this project? Jyve is JupyterLab compiled to run in a browser without any backend.
Src: https://github.com/deathbeds/jyve
Demo: https://deathbeds.github.io/jyve/lab/

p5.js JupyterLab NPM package: https://github.com/deathbeds/jyve/tree/master/packages/jyve-kyrnel-p5-unsafe

This seems to work in the demo:

// restart and run all
function setup() { createCanvas(100, 100) }
function draw() { rect(10, 20, 55, 55) }

A number of things are not yet implemented in Jyve; including:

  • Saving (e.g. to a cloud drive)
  • Exporting (nbconvert)
@jtpio
Copy link
Owner

jtpio commented Oct 28, 2019

Thanks @westurner for sharing that, it looks cool indeed!

I think the goal of ipyp5 would be to still write Python code and use the existing Python kernels (ipykernel or xeus-python), and write the p5.js code in Python too.

Using pyp5js (#4) or transcrypt directly to generate the p5 (JS) code and push it to the frontend via the widgets protocol.

@westurner
Copy link
Author

westurner commented Oct 29, 2019 via email

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

2 participants