Processing to p5.js auto conversion?

Is there any tool to convert Processing Code to p5.js code? I know about processing-p5-convert, but it hasn’t been working for me. There was also another library, but it’s been archived. Is there some option in the software I’ve missed?

There’s nothing for now, I think.
Maybe in the future it will be possible to have an export in webassembly. A few people are beginning to look at this.
(N.B. I switched my Processing project to P5js because of this! The new mode in the Processing editor for P5js will work with Node, which will also allow us to export applications. It should work maybe in windows and mac but not yet for linux :frowning: )

I consider some of the current AI tools to be useful for this.

Just ask them:
“Are AI tools useful for converting Processing Java code into p5.js?”

They can provide guidance on best practices, limitations, syntax translation, function mapping, debugging, refactoring, and more.

That said, there is still significant work required on your part to complete the migration successfully.

:)