Processing Introduction

We will be using processing as the coding platform for this workshop. You can download processing here: https://processing.org/download/

You can change the preferences under File>Preferences. You may need to change the font size based on your screen resolution.

We will be using various libraries contributed by the processing community. You can add a library here Sketch>Import Library>Add Library.

You can then use the contribution manager to search for libraries.

int xpos = 0;

void setup(){
  size(800,800);
}

void draw(){
  ellipse(xpos,height/2,100,100);
  xpos++;
}

int xpos = 0;
int ypos = 0;

void setup(){
  size(800,800);
}

void draw(){
  float newy = sin(radians(ypos))*100;
  ellipse(xpos,height/2+newy,100,100);
  xpos++;
  ypos++;
}