software · Q306
Processing
Open-source creative-coding environment and graphics library centered on executable visual sketches.
Overview
Processing is a creative-coding environment for writing visual and interactive programs called sketches. Its default Java mode combines an editor, compiler and graphics runtime, with 2D and 3D drawing and an extension ecosystem. It is used for learning and custom visual applications; producing a finished interaction requires code rather than arranging a ready-made media timeline.[1][2]
The sketch workflow
A sketch is source code stored in a local sketchbook and compiled when run in Java mode. The environment keeps editing, diagnostic output and a display window close together. This supports short experiments that can grow into custom applications, but the executable behavior remains the author's program. It is not an automatic conversion of a visual editor's project into an application.[2]
Initialization and animation
The setup function performs initial preparation, while draw supplies repeated updates to the screen and keeps input-event processing active. Drawing accumulates unless the program clears or replaces it, so persistent trails and clean animation frames are different coding choices. The loop can be stopped and restarted or redrawn on demand, which is useful when a sketch should respond only to changes.[3][4]
Renderer and extension choices
Processing distinguishes its default 2D renderer from the OpenGL-backed P2D and P3D renderers. The manual describes P2D as faster but less accurate than the default path, making renderer selection relevant to appearance as well as performance. Libraries extend sketch capabilities, while tools extend the editor and modes change programming or deployment workflows. These are separate dependencies rather than one universal feature entitlement.[2]
Practical application scope
The project's overview describes uses including visual education, generated imagery and interactive installations. Those are plausible substitution tasks because the output is a programmed visual result. Choosing Processing for one of them still entails implementing the interaction and arranging any required media or device libraries; its general creative scope does not establish that a particular camera, codec or peripheral is supported.[1]
Application delivery
Export Application produces a Java application. The export guide states that macOS applications must be exported from macOS, and distinguishes attempted self-signing from signing and notarization for distribution. A sketch running in the editor therefore does not establish that its exported package will launch without distribution work on another person's Mac. This article does not recommend bypassing operating-system security checks.[2][5]
Availability and licensing
The current download page identifies Processing 4.5.7 and desktop availability for Windows, macOS and Linux. Its license file separates project-developed GPL 2 components outside core from the LGPL 2.1 core library, with other components carrying their own notices. The editor's license should not be collapsed into a blanket statement that every asset or extension used by a sketch has identical terms.[6][7]
Substitution considerations
Processing can substitute for p5.js when the goal is an interactive visual sketch delivered through a desktop Java runtime. p5.js instead targets JavaScript-based creative work, commonly in a browser. Drawing ideas can transfer, but source syntax, libraries and deployment assumptions differ. This is a task-level alternative, not a claim that either system opens the other's programs unchanged; no performance benchmark or installation test was performed.[2][8]
Capabilities & limitations
2D and 3D rendering
supportedDefault 2D rendering and OpenGL-accelerated P2D/P3D paths are documented.[2]
Programming interactive graphics and visual sketches · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
Java mode, renderers, sketch folders, extensions and export operation
vendor · checked 2026-10-07Interactive sketch loop
supportedInitialization, repeated drawing and input events provide a code-based interaction model.[3][4]
Programming interactive graphics and visual sketches · Windows, macOS, Linux · Version, build and integration requirements apply
2 sources · check evidence
One-time initialization and media loading
vendor · checked 2026-10-07Repeated rendering, event processing and accumulated pixels
vendor · checked 2026-10-07Standalone application export
limitedJava applications can be exported; macOS export requires a Mac and distribution signing remains separate.[2][5]
Programming interactive graphics and visual sketches · Windows, macOS, Linux · Version, build and integration requirements apply
2 sources · check evidence
Java mode, renderers, sketch folders, extensions and export operation
vendor · checked 2026-10-07Mac-only Mac export and signing/notarization distinction
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
p5.js for Programming interactive graphics and visual sketches
limitedCan cover interactive visual sketches as desktop Java applications; JavaScript/browser code and dependencies require porting rather than direct execution.[2][8]
Windows, macOS, Linux · Version, build and integration requirements apply
References
- Processing overview
Visual programming, education, installations and open-source scope
vendor · retrieved 2026-10-07 - Processing environment
Java mode, renderers, sketch folders, extensions and export operation
vendor · retrieved 2026-10-07 - Processing setup reference
One-time initialization and media loading
vendor · retrieved 2026-10-07 - Processing draw reference
Repeated rendering, event processing and accumulated pixels
vendor · retrieved 2026-10-07 - Processing 4 application export
Mac-only Mac export and signing/notarization distinction
vendor · retrieved 2026-10-07 - Processing 4 license file
GPL 2 IDE components, LGPL 2.1 core and third-party notices
vendor · retrieved 2026-10-07 - Processing downloads
Processing 4.5.7 and desktop distributions
vendor · retrieved 2026-10-07 - p5.js overview
JavaScript creative-coding library and browser editor
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 292 | 2026-10-11 19:40:14 | /* wbeditentity-create-item:0| */ sf:93e0a15c-6aeb-4940-822f-3be2cf849981:v1 | Adds Java-mode Processing with renderer distinctions, application-export boundaries and separate IDE/core licensing; p5.js comparison requires source porting. | attribution: /proposals/93e0a15c-6aeb-4940-822f-3be2cf849981 |