p5js-beta-03
Bug Fixes
- Non-JavaScript files (especially the Electron scaffolding) is now hidden from the user; you only see your sketch files in the PDE tabs
node_modulesare now ignored when saving/saving-as your sketch- The
index.htmlthat is needed by Electron is now generated dynamically to guarantee that all your sketch files are loaded properly, no matter whether you have renamed them/added new ones/deleted some - The sketch now starts in the correct size set by
createCanvas(<width>, <height>) - More stability (no
ConcurrentModificationExceptionsanymore)
Installation
Tested with Processing 4.4.7 on MacOS Monterey 12.7.6 and Windows 10.
- If you have installed this mode before, make sure to remove the
modes/p5jsfolder in your Processing sketchbook for a smoother re-install. - Download the released
.pdexfile down below. - Double-click the
.pdexfile to install the mode. - When Processing starts up, click Yes in the dialog to confirm installation. The mode will be placed in your Processing sketchbook folder.
- Restart Processing.
- In Processing, open the mode dropdown and select p5.js.
- The mode tries its best to ensure the presence of the necessary tools pnpm and Node. Wait until the status bar in the Processing editor notifies you that the setup is complete. You can then code and run your sketch.
You can find more information—including a little demo video—in the mode’s README.
For feedback, feel free to drop us a line at [email protected] or raise an issue.