Processing JS, HTML and PHP issue

If we use Pjs as a JS library, we can use any vanilla JS libraries on it as well. :partying_face:

For example, this is a Pjs sketch written in CoffeeScript transpiled to JS: :coffee:

And now that same Pjs sketch written in Processing’s Java Mode: :coffee:

But if we end up converting a Java Mode sketch to use the JS syntax (or another JS transpilable language), there’s little reason to target the old Pjs instead of the current p5js library though. :roll_eyes:

1 Like