Learn computer programming the easy way with Processing, a simple language that lets you use code to create drawings, animation, and interactive graphics. Programming courses usually start with theory, but this book lets you jump right into creative and fun projects. It’s ideal for anyone who wants to learn basic programming, and serves as a simple introduction to graphics for people with some programming skills.
Written by the founders of Processing, this book takes you through the learning process one step at a time to help you grasp core programming concepts. You’ll learn how to sketch with code — creating a program with one a line of code, observing the result, and then adding to it. Join the thousands of hobbyists, students, and professionals who have discovered this free and educational community platform.
Quickly learn programming basics, from variables to objects
Understand the fundamentals of computer graphics
Get acquainted with the Processing software development environment
Create interactive graphics with easy-to-follow projects
Use the Arduino open source prototyping platform to control your Processing graphics
Chapter 1 Hello
Sketching and Prototyping
Flexibility
Giants
Family Tree
Join In
Chapter 2 Starting to Code
Your First Program
Show
Save
Share
Examples and Reference
Chapter 3 Draw
Basic Shapes
Drawing Order
Shape Properties
Color
Custom Shapes
Comments
Robot 1: Draw
Chapter 4 Variables
Making Variables
Processing Variables
A Little Math
Repetition
Robot 2: Variables
Chapter 5 Response
Follow
Map
Click
Location
Type
Robot 3: Response
Chapter 6 Media
Images
Fonts
Shapes
Robot 4: Media
Chapter 7 Motion
Speed and Direction
Tweening
Random
Timers
Circular
Translate, Rotate, Scale
Robot 5: Motion
Chapter 8 Functions
Function Basics
Make a Function
Return Values
Robot 6: Functions
Chapter 9 Objects
Classes and Objects
Robot 7: Objects
Chapter 10 Arrays
Make an Array
Repetition and Arrays
Arrays of Objects
Robot 8: Arrays
Chapter 11 Extend
3D
Image Export
Hello Arduino
Community
Appendix Coding Tips
Functions and Parameters
Color Coding
Comments
Uppercase and Lowercase
Style
Console
One Step at a Time
Appendix Data Types
Appendix Order of Operations
Appendix Variable Scope
Colophon
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: New Python Releases, an ESP32+MicroPython IDE and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey