Skip to content

p5js-beta-03

Choose a tag to compare

@stephanmax stephanmax released this 22 Oct 09:34
· 5 commits to pr05-poc since this release
66a9c48

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_modules are now ignored when saving/saving-as your sketch
  • The index.html that 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 ConcurrentModificationExceptions anymore)

Installation

Tested with Processing 4.4.7 on MacOS Monterey 12.7.6 and Windows 10.

  1. If you have installed this mode before, make sure to remove the modes/p5js folder in your Processing sketchbook for a smoother re-install.
  2. Download the released .pdex file down below.
  3. Double-click the .pdex file to install the mode.
  4. When Processing starts up, click Yes in the dialog to confirm installation. The mode will be placed in your Processing sketchbook folder.
  5. Restart Processing.
  6. In Processing, open the mode dropdown and select p5.js.
  7. 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.