Merge Python Categories

I did some research on Python syntax for Processing and I think they can be split in 3 categories:

  1. Java Mode API based flavors (lowerCamelCase):

  2. Pythonic API based flavors (snake_case):

  3. p5js API based flavors (also lowerCamelCase, runs online):


1st group is about flavors that most resemble the API from the original Processing’s Java Mode:

Among those 3, Python Mode (Processing.py) is the most important, b/c it’s 1 of the 4 official project flavors from Processing Foundation:

And b/c it’s Jython-based, it has limited access to actual Python libraries, relying on Java libs instead:

A category renaming suggestion for it: “Python Mode & Trinket (Java/Jython libraries)”.


Next group is about flavors that chose a more pythonic snake_case naming for its API.
And integration w/ actual Python libraries in place of Java 1s.
A category renaming suggestion for it: “p5py & p5 (Python 3 libraries)”.


Last group can access both Python & JS libraries and runs on a browser, powered by the p5js flavor.

We could create a p5js subcategory for it: “Python Syntax (pyp5js & PyScript)”.


BtW, PyScript isn’t a Processing/p5js flavor, but a cool way to run Python code on the browser.

PyScript can use both Python & JS libraries, including p5js, q5js, pjs, etc.

Here’s a sketch version I did for PyScript:


1 Like