Skip to content

p5js-beta-02

Choose a tag to compare

@stephanmax stephanmax released this 10 Oct 13:10
· 9 commits to pr05-poc since this release
dd3dc51

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.

New Feature: Export Sketch as Application

The new feature for this release is the implementation of File > Export Application via Electron Builder. For easy sharing, hit that menu item or ctrl + shift + E/cmd + shift + E to package your sketch as a standalone application for your platform.

The status bar will inform you once your application is ready and Processing will open your sketch folder in your local file browser. Navigate to the dist folder to either find a portable Windows executable, a MacOS .app file, or a Linux .AppImage file, depending on your system.


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.