{"schemaVersion":"1.0","record":{"label":"Processing","description":"Open-source creative-coding environment and graphics library centered on executable visual sketches.","aliases":[],"kind":"software","website":"https://processing.org/","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.","license":"GPL 2 for project-developed IDE components; LGPL 2.1 for core, with separate dependency licenses","lifecycle":"active","example":false,"features":[{"name":"2D and 3D rendering","status":"supported","detail":"Default 2D rendering and OpenGL-accelerated P2D/P3D paths are documented.","useCase":"Programming interactive graphics and visual sketches","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://processing.org/environment/","locator":"Java mode, renderers, sketch folders, extensions and export operation","retrievedAt":"2026-10-07T19:08:52Z","kind":"vendor"}]},{"name":"Interactive sketch loop","status":"supported","detail":"Initialization, repeated drawing and input events provide a code-based interaction model.","useCase":"Programming interactive graphics and visual sketches","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://processing.org/reference/setup_","locator":"One-time initialization and media loading","retrievedAt":"2026-10-07T19:09:50Z","kind":"vendor"},{"url":"https://processing.org/reference/draw_","locator":"Repeated rendering, event processing and accumulated pixels","retrievedAt":"2026-10-07T19:09:50Z","kind":"vendor"}]},{"name":"Standalone application export","status":"limited","detail":"Java applications can be exported; macOS export requires a Mac and distribution signing remains separate.","useCase":"Programming interactive graphics and visual sketches","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://processing.org/environment/","locator":"Java mode, renderers, sketch folders, extensions and export operation","retrievedAt":"2026-10-07T19:08:52Z","kind":"vendor"},{"url":"https://github.com/processing/processing4/wiki/Exporting-Applications","locator":"Mac-only Mac export and signing/notarization distinction","retrievedAt":"2026-10-07T19:09:37Z","kind":"vendor"}]}],"alternatives":[],"slug":"processing","draftAlternatives":[{"targetSlug":"p5-js","status":"limited","detail":"Can cover interactive visual sketches as desktop Java applications; JavaScript/browser code and dependencies require porting rather than direct execution.","useCase":"Programming interactive graphics and visual sketches","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://processing.org/environment/","locator":"Java mode, renderers, sketch folders, extensions and export operation","retrievedAt":"2026-10-07T19:08:52Z","kind":"vendor"},{"url":"https://p5js.org/","locator":"JavaScript creative-coding library and browser editor","retrievedAt":"2026-10-07T19:08:40Z","kind":"vendor"}]}],"evidence":[{"url":"https://processing.org/overview/","locator":"Visual programming, education, installations and open-source scope","retrievedAt":"2026-10-07T19:09:05Z","kind":"vendor"},{"url":"https://processing.org/environment/","locator":"Java mode, renderers, sketch folders, extensions and export operation","retrievedAt":"2026-10-07T19:08:52Z","kind":"vendor"},{"url":"https://processing.org/reference/setup_","locator":"One-time initialization and media loading","retrievedAt":"2026-10-07T19:09:50Z","kind":"vendor"},{"url":"https://processing.org/reference/draw_","locator":"Repeated rendering, event processing and accumulated pixels","retrievedAt":"2026-10-07T19:09:50Z","kind":"vendor"},{"url":"https://github.com/processing/processing4/wiki/Exporting-Applications","locator":"Mac-only Mac export and signing/notarization distinction","retrievedAt":"2026-10-07T19:09:37Z","kind":"vendor"},{"url":"https://github.com/processing/processing4/blob/main/LICENSE.md","locator":"GPL 2 IDE components, LGPL 2.1 core and third-party notices","retrievedAt":"2026-10-07T19:09:37Z","kind":"vendor"},{"url":"https://processing.org/download/","locator":"Processing 4.5.7 and desktop distributions","retrievedAt":"2026-10-07T19:09:37Z","kind":"vendor"},{"url":"https://p5js.org/","locator":"JavaScript creative-coding library and browser editor","retrievedAt":"2026-10-07T19:08:40Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://processing.org/overview/","locator":"Visual programming, education, installations and open-source scope","retrievedAt":"2026-10-07T19:09:05Z","id":"overview","title":"Processing overview","kind":"vendor"},{"url":"https://processing.org/environment/","locator":"Java mode, renderers, sketch folders, extensions and export operation","retrievedAt":"2026-10-07T19:08:52Z","id":"environment","title":"Processing environment","kind":"vendor"},{"url":"https://processing.org/reference/setup_","locator":"One-time initialization and media loading","retrievedAt":"2026-10-07T19:09:50Z","id":"setup","title":"Processing setup reference","kind":"vendor"},{"url":"https://processing.org/reference/draw_","locator":"Repeated rendering, event processing and accumulated pixels","retrievedAt":"2026-10-07T19:09:50Z","id":"draw","title":"Processing draw reference","kind":"vendor"},{"url":"https://github.com/processing/processing4/wiki/Exporting-Applications","locator":"Mac-only Mac export and signing/notarization distinction","retrievedAt":"2026-10-07T19:09:37Z","id":"export","title":"Processing 4 application export","kind":"vendor"},{"url":"https://github.com/processing/processing4/blob/main/LICENSE.md","locator":"GPL 2 IDE components, LGPL 2.1 core and third-party notices","retrievedAt":"2026-10-07T19:09:37Z","id":"license","title":"Processing 4 license file","kind":"vendor"},{"url":"https://processing.org/download/","locator":"Processing 4.5.7 and desktop distributions","retrievedAt":"2026-10-07T19:09:37Z","id":"download","title":"Processing downloads","kind":"vendor"},{"url":"https://p5js.org/","locator":"JavaScript creative-coding library and browser editor","retrievedAt":"2026-10-07T19:08:40Z","id":"p5","title":"p5.js overview","kind":"vendor"}],"overviewCitations":["overview","environment"],"licenseCitations":["license"],"sections":[{"id":"sketches","heading":"The sketch workflow","paragraphs":[{"id":"sketches-detail","content":[{"text":"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."}],"citations":["environment"]}]},{"id":"interaction","heading":"Initialization and animation","paragraphs":[{"id":"interaction-detail","content":[{"text":"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."}],"citations":["setup","draw"]}]},{"id":"rendering","heading":"Renderer and extension choices","paragraphs":[{"id":"rendering-detail","content":[{"text":"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."}],"citations":["environment"]}]},{"id":"uses","heading":"Practical application scope","paragraphs":[{"id":"uses-detail","content":[{"text":"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."}],"citations":["overview"]}]},{"id":"deployment","heading":"Application delivery","paragraphs":[{"id":"deployment-detail","content":[{"text":"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."}],"citations":["environment","export"]}]},{"id":"license","heading":"Availability and licensing","paragraphs":[{"id":"license-detail","content":[{"text":"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."}],"citations":["download","license"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"Processing can substitute for "},{"text":"p5.js","targetSlug":"p5-js"},{"text":" 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."}],"citations":["environment","p5"]}]}]},"id":"Q306","revision":292,"updatedAt":"2026-10-11T19:40:14Z","sourceUrl":"https://substitutefor.net/entities/Q306?revision=292"}}