Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

 
 

Repository files navigation

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 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

Exporting Sketches

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

Installation

Using Prebuilt Releases

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

From Source (for contributors)

  • The mode is implemented inKotlin
  • Mode-specific code lives in the top-levelp5js directory
  • Build and distribution tasks are handled withGradle

See the wiki forarchitecture notes.

Licensing

License information can be found inLICENCE.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’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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java91.0%
  • Kotlin3.8%
  • Processing1.6%
  • ANTLR0.9%
  • GLSL0.8%
  • Objective-C0.7%
  • Other1.2%

[8]ページ先頭

©2009-2025 Movatter.jp