Tool for running Processing (Java) sketches in the browser, feedback welcome

Hi all,
I built p5forge, a small browser tool that converts Processing-style sketches to p5.js and runs them instantly.

The idea is simple:

  • paste Processing-like code
  • transpile to p5.js
  • run and iterate fast in one UI

This is still best-effort and intentionally lightweight, but I want to make it genuinely useful for creative coding archives and teaching material.

Here is the demo
Here is the repo

Feedback and suggestions are welcome

Hi @Meiller and thanks for sharing!

For anyone interested to dig further into that topic, here are two related projects also worth knowing about:

  • Processing.js: it’s unmaintained now, but it still runs a large fraction of older Processing sketches in the browser. Here’s an example of a recent processing.js sketch on openprocessing.org.
  • Darren Kessner’s processing-p5-convert: parses the sketch code into an Abstract Syntax Tree (AST) and translates from that, which makes it more robust than a simple regex approach.