Running Processing code on-site?

I’m a big fan of stackoverflow, and I think it’s really awesome that they’ve implemented runnable JS snippets on site.

Now, I understand that we’re comparing the capabilities of a major site against our humble forum, but I figure it’s worth asking if implementing something similar is even possible.

I’m not saying we don’t have other options like Openprocessing, but I just want to know if runnable-snippets are even feasible.

1 Like

One thing to consider is that not all Processing is compatible with embedding in the web, but it is possible to embed Processing.js or P5.js sketches.

You can already embed them using CodePen:

You can also use repl.it.

Wow, didn’t know we could embed Codepens! Thanks for sharing this info.