What Is .pde
Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.
Last updated: April 11, 2026
Key Facts
- Processing was created in 2001 by Ben Fry and Casey Reas at MIT Media Lab's Aesthetics and Computation Group
- .pde files are used to store Processing sketches, which are programs combining visual graphics with interactive elements
- Processing is built on Java and designed to teach non-programmers the fundamentals of computer programming in a visual context
- Arduino programming originally used .pde files but switched to .ino extension around 2012 as the standard file format
- Processing is free, open-source, and has been used since 2001 to promote software literacy within visual arts and visual literacy within technology
Overview
.pde is the file extension for the Processing Development Environment, an open-source programming language and integrated development environment (IDE) specifically designed for visual arts, digital design, and interactive creativity. Created in 2001 by Ben Fry and Casey Reas at MIT Media Lab's Aesthetics and Computation Group, Processing has become a fundamental tool for teaching non-programmers the fundamentals of computer programming in a visual context.
PDE files contain source code written in the Processing language, which is built on Java and runs across Windows, macOS, and Linux platforms. These files store complete programs called "sketches" that combine graphics, animations, interactions, and data visualizations, making them essential for artists, designers, educators, and creative coders who want to create visual media programmatically without deep programming expertise.
How It Works
Processing sketches operate through a simple, standardized workflow that makes creative coding accessible to beginners while remaining powerful enough for advanced projects:
- Sketch Structure: A .pde file contains a Processing sketch with two main functions—setup() runs once when the program starts, and draw() continuously executes to create animations and handle user interactions.
- Graphics Rendering: Processing provides built-in functions to draw shapes, render images, and manipulate colors, with 2D and 3D rendering capabilities that automatically handle complex graphics operations behind the scenes.
- Event Handling: Sketches can respond to mouse clicks, keyboard input, and touch events through dedicated functions like mousePressed() and keyPressed(), enabling interactive user experiences.
- Libraries and Extensions: Processing supports hundreds of contributed libraries that extend functionality for tasks like video processing, sound synthesis, 3D modeling, and data visualization without requiring manual coding of low-level graphics operations.
- Export and Deployment: Completed sketches can be exported as standalone applications for Windows, macOS, or Linux, or converted to web-based applications using JavaScript, making distribution straightforward.
Key Comparisons
| Aspect | Processing (.pde) | Arduino (.ino) | Python with Pygame |
|---|---|---|---|
| Primary Purpose | Visual arts and interactive graphics | Microcontroller programming | General game and graphics development |
| Learning Curve | Beginner-friendly with visual feedback | Requires electronics knowledge | More complex syntax and setup |
| File Extension | .pde (since 2001) | .ino (adopted ~2012, replaced .pde) | .py (standard Python) |
| Platform Focus | Desktop and web browsers | Hardware microcontrollers and circuits | Cross-platform applications |
| Community Size | 50,000+ registered users and educators | Millions of makers and hobbyists | Millions of Python developers |
Why It Matters
- Educational Impact: Since its creation in 2001, Processing has taught over a million students and creative professionals how to code, making it one of the most significant educational programming languages in visual arts and design education.
- Bridge Between Art and Code: Processing eliminates the barrier between creative vision and technical implementation, allowing artists to express ideas programmatically without needing to learn complex computer science fundamentals.
- Open-Source Community: Being free and open-source, Processing has enabled the creation of thousands of projects, artworks, and applications, with contributions from educators, students, and professionals worldwide.
- Cross-Platform Compatibility: .pde sketches run identically on Windows, macOS, and Linux, and can be converted to web applications, ensuring maximum accessibility and distribution potential.
The significance of .pde files extends beyond individual projects—they represent a paradigm shift in how creative professionals approach computational thinking and digital creation. Processing's success in making programming accessible to non-technical audiences has influenced the design of subsequent creative coding tools and platforms. Today, .pde files continue to serve as entry points for aspiring creative coders, enabling them to produce professional-quality visual works, interactive installations, and data visualizations while building genuine programming skills that transfer to other languages and domains.
More What Is in Daily Life
Also in Daily Life
More "What Is" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Processing Official WebsiteCreative Commons Attribution-ShareAlike
- Processing on WikipediaCC-BY-SA-4.0
- FileFormat.com - PDE File DocumentationInformational
- Processing GitHub RepositoryGNU LGPL
Missing an answer?
Suggest a question and we'll generate an answer for it.