I have Processing, version 3.0, and I am interested to export any sketch to HTML but I have no clue of how to do it. Thanks.
Asked
Active
Viewed 535 times
1 Answers
1
Use Processing.js.
You should be able to use this from the Processing editor by going to the "modes" dropdown (it says "Java" by default), selecting "Add Mode...", then finding "JavaScript Mode" and installing it.
Once it's installed, you can use JavaScript mode to write Processing code and deploy it as HTML and JavaScript. Note that you won't be able to use any Java libraries like minim though.

Kevin Workman
- 41,537
- 9
- 68
- 107
-
Hi, well... it says "0.3.3 not compatible" and I can't install it. – sfdsdf fdgfdzg Jan 13 '16 at 16:00
-
@sfdsdffdgfdzg Processing.js is still catching up to the latest version of Processing. If you want to deploy as JavaScript, you might have to go back to an older version of Processing for now. Stay tuned to the Processing.js website for updates. – Kevin Workman Jan 13 '16 at 16:05
-
processing.js is abandoned. [P5.js replaces and supersedes it](https://github.com/processing/p5.js). – Alex Hall Sep 14 '19 at 01:37