Learn PROCESSING-PY with Real Code Examples
Updated Nov 26, 2025
Learning Path
Start with shapes, colors, and basic drawing
Learn animation via draw() loop
Explore event-driven interactions
Study PVectors and 3D sketches
Integrate libraries for sound, video, and interactivity
Skill Improvement Plan
Week 1: Basic sketches and drawing functions
Week 2: Animations and simple interactions
Week 3: Working with images, fonts, and sounds
Week 4: Generative art and algorithmic design
Week 5: Advanced interactive projects with multiple libraries
Interview Questions
What is Processing.py and how does it differ from Processing Java?
Explain the draw() and setup() functions.
How do you handle user input in Processing.py?
Describe the PVector class and its uses.
How can Processing.py be used for generative art?
Cheat Sheet
setup() - initializes the sketch
draw() - main animation loop
rect(x, y, w, h) - draw rectangle
ellipse(x, y, w, h) - draw circle/ellipse
fill(color) / stroke(color) - color settings
Books
Getting Started with Processing.py by Casey Reas and Ben Fry
Generative Design: Visualize, Program, and Create Art
Processing: Creative Coding and Generative Art
The Nature of Code by Daniel Shiffman
Programming Interactivity: A Designer's Guide to Processing
Tutorials
Processing.py basics: drawing shapes
Animating objects with draw()
Handling mouse and keyboard events
Working with images, sounds, and fonts
Creating generative art sketches
Official Docs
https://processing.org/tutorials/python/
https://py.processing.org/reference/
Community Links
Processing.py forum
Reddit r/processing
StackOverflow Processing.py tag
GitHub examples and libraries
Creative Coding Slack and Discord communities
Community Support
Processing forums and Discord
Python mode examples repository
Creative coding workshops
Online tutorials and MOOCs
GitHub repositories of sketches