Convert p5.js to processing

Is there any easy way to convert p5.js code to processing (java)?

1 Like

Ok it looks like I need to know some of both languages to work efficiently between the two

JavaScript is Java on the web. It means both languages got a lot in common! :coffee:
Even though you wanna go back to “offline” Java, it shouldn’t be that difficult at all: :innocent:

Just take a look at my Reddit post and compare how the same sketches are written in Java & JS syntaxes. :grinning:


I have found that this is true! But I have - as it is very easy to - gotten used to the whole var/auto data type

JavaScript and Java are actually completely different languages. The name JavaScript was chosen to ride the coattails of Java’s success.

1 Like