openpatch / hyperbook

Hyperbook is a quick and easy way to build interactive workbooks, that support modern standards and runs superfast.
https://hyperbook.openpatch.org
MIT License
33 stars 7 forks source link

Add an P5js element #858

Open jneug opened 7 months ago

jneug commented 7 months ago

I would like a native P5js element to easily embed a P5js canvas into a hyberbook.

This can be done with the embed element, but I assume this could be fairly easy to add and should be in the spirit of other elements like the online ide and mermaid.

mikebarkmin commented 7 months ago

I also think that a P5js editor would also be a worthwhile addition. This should behave similar to the onlineide-element (https://hyperbook.openpatch.org/elements/online-ide).

So maybe we need a p5js player and a p5js editor element.

jneug commented 7 months ago

It seems like P5js will move to https://openprocessing.org. Maybe it would make sense to support the new site as well (or maybe only the new one).