GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - processing/processing-p5.js-mode: Write and run p5.js sketches on desktop using the p5.js mode

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

16,495 Commits
16,495 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.idea
.idea
 
 
app
app
 
 
build
build
 
 
core
core
 
 
gradle
gradle
 
 
java
java
 
 
p5js
p5js
 
 
.all-contributorsrc
.all-contributorsrc
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
AI_USAGE_POLICY.md
AI_USAGE_POLICY.md
 
 
BUILD.md
BUILD.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CONTRIBUTORS.md
CONTRIBUTORS.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
SCHEMA.md
SCHEMA.md
 
 
build.gradle.kts
build.gradle.kts
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

p5.js Electron mode for Processing

Desktop Support for p5.js via a New Processing Mode

image

This mode integrates p5.js into the Processing Development Environment (PDE) and provides a desktop runtime based on Electron.

Features

  • 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 has known 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

Exporting Sketches

  • Export p5.js sketches as standalone desktop apps
  • Uses electron-builder for packaging

Installation

From the Processing Editor (PDE)

  1. Download Processing
  2. Install it (see the install instructions)
  3. Open the Contribution Manager in Processing and install p5.js Mode (experimental).

Using Prebuilt Releases

  1. Download the latest .pdex file from the Releases page.
  2. Opening the .pdex file in Processing

From Source (for contributors)

  • The mode is implemented in Kotlin
  • Mode-specific code lives in the top-level p5js directory
  • Build and distribution tasks are handled with Gradle

See the wiki for architecture notes.

Licensing

License information can be found in LICENCE.md.

Acknowledgement

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’s presentation at OpenAssembly 2025 and read his blog post.

About

Write and run p5.js sketches on desktop using the p5.js mode

processing.org

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

4 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.