Skip to content

Commit 7da466d

Browse files
authored
Update README.md
Update mode installation notes
1 parent fbe1818 commit 7da466d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

p5js/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Installation
44

5-
Currently, installing by double-clicking the released `.pdex` file is not working. (Tested with Processing 4.4.7 on MacOS; error says `Could not find mode in the downloaded file.`) But you can rename `p5js.pdex` to `p5js.zip` and unpack that archive into the Processing sketchbook folder; `~/Documents/Processing/modes/p5js` under MacOS. Next time you start the PDE, you have a new p5.js mode in the dropdown.
5+
(Tested with Processing 4.4.7 on MacOS Monterey 12.7.6)
66

7-
The console of the PDE is not very vocal about what is happening behind the scenes of the p5.js mode, at the moment. That’s why I suggest to start the PDE via the command line with `DEBUG=true /Applications/Processing.app/Contents/MacOS/Processing` to get the full debug logs. Once the console says `Done in … with pnpm` you can start running your p5.js sketches inside Processing.
7+
Install the mode by double-clicking the released `.pdex` file. After Processing has started up, hit "Yes" on the opening dialog, and let the mode get installed into your Processing sketchbook folder. Currently, you need to restart Processing to have the new p5.js mode show up in the mode dropdown. (This will be looked into for the September release candiate that will be published until September 30 end of day.)
8+
9+
After restarting Processing, choose “p5.js” from the mode dropdown. If `pnpm` is not found on your system, Processing will automatically install it and the LTS Node version. The status bar in the PDE will tell you once it is ready for you to code on your sketch.

0 commit comments

Comments
 (0)