p5.js Jyve Kernel
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)
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 (https://github.com/jtpio/ipyp5/issues/4) or transcrypt directly to generate the p5 (JS) code and push it to the frontend via the widgets protocol.
:+1:
On Monday, October 28, 2019, Jeremy Tuloup [email protected] wrote:
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.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.