Is there an equivalent for Processing.js but for Python? I am looking to write Processing code in Python but have the output run on the web. I am pretty sure that I can’t do this, but thought I’d ask here just in case.
2 Likes
Not Pjs, but p5js in Python syntax!
AFAIK, there are currently 2 projects which transpile Python + Processing syntax to JS + p5js:
2 Likes
For a Pjs solution, given Pjs is just another JS library, we can use any language which transpiles to JS.
And among those, CoffeeScript is a mix of Ruby + Python syntax: CoffeeScript.org
Here’s a Pjs sketch I re-wrote in CoffeeScript syntax as an experiment:
GoSubRoutine.GitHub.io/Ball-in-the-Chamber/pjs-cs/
2 Likes
Oh, so nice!
You work is excelent