Processing Basics

https://processing.org/

What is Processing?

"Processing is a programming language, development environment, and online community."

Where to download

If you have troubles downloading, installing or opening the Processing environment, look around and see if anyone else has finished and if they can help.

Getting started

Start

Stop

Main window is

for your code

Code output and errors

Processing Functions

  • Shapes
  • Points
  • Lines
  • Fill

Shapes

ellipse(56, 46, 55, 55);
triangle(30, 75, 58, 20, 86, 75);
rect(30, 20, 55, 55);
quad(38, 31, 86, 20, 69, 63, 30, 76);
arc(50, 50, 80, 80, 0, PI+QUARTER_PI, PIE);

Points and Lines

point(30, 20);
line(30, 20, 85, 75);

Fill

fill(204, 102, 0);
rect(30, 20, 55, 55);

Can anyone guess what the parameters are that fill takes?

Made with Slides.com