forked fromprocessing/processing4
- Notifications
You must be signed in to change notification settings - Fork0
Write and run p5.js sketches on desktop using the p5.js mode
License
NotificationsYou must be signed in to change notification settings
processing/processing-p5.js-mode
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Desktop Support for p5.js via a New Processing Mode

This mode integrates p5.js into the Processing Development Environment (PDE) and provides a desktop runtime based on Electron.
- Run and stop p5.js sketches directly from Processing
- Electron-based embedded browser for rendering
- Error reporting in the editor
- Built-in examples (WIP)
- Syntax highlighting (Note: The current syntax highlighting system hasknown limitations and may change)
- Works on Linux, macOS, and Windows
- PNPM for Node package and dependency management
- Automatic installation of required tools:
- PNPM
- Node.js
- Electron
- Export p5.js sketches as standalone desktop apps
- Uses
electron-builderfor packaging
- Download the latest
.pdexfile from theReleases page. - Opening the
.pdexfile in Processing
- The mode is implemented inKotlin
- Mode-specific code lives in the top-level
p5jsdirectory - Build and distribution tasks are handled withGradle
See the wiki forarchitecture notes.
License information can be found inLICENCE.md.
This project was created by Stephan Max (@stephanmax) as part of the 2025 Building Bridges (pr05) Grant from the Processing Foundation. The project was mentored by Stef Tervelde (@Stefterv).
For more context, watch Stephan’spresentation at OpenAssembly 2025 and read hisblog post.
About
Write and run p5.js sketches on desktop using the p5.js mode
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Languages
- Java91.0%
- Kotlin3.8%
- Processing1.6%
- ANTLR0.9%
- GLSL0.8%
- Objective-C0.7%
- Other1.2%