Skip to content

Latest commit

 

History

History

Processing

Processing - Examples

Program List

Graphics

  • checkers.pde
    • generates a chess/checkers board with alternating colors based on mouse position
  • simple.pde
    • some simple drawing & line effects

Language

  • Interpolator.pde
    • interpolates between values for animation-effects

System

  • FloatTable.pde
    • stores data file in a simple table of floats

Tutorials

  • brush.pde
    • cool paint-brush effect on the canvas
  • clock.pde
    • creates a working clock on the screen
  • eyes.pde
    • moving eyes which follow the mouse
  • rectangles.pde
    • adjustable rectangles, based on mouse position
  • snake.pde
    • interactive snake cursor exploring a canvas image

Visualization

  • parallelCoordinates.pde
    • displays a data set using parallel coordinates using FloatTable
  • timeSeries.pde
    • displays some time-series data using a simple line chart using FloatTable and Interpolator

Compiling & Running Code

Download the Processing v.3.0 IDE.

Just copy and paste the examples in to the IDE to run/.

Several examples may need additional classses or data as well, so create a new folder for them and bring all examples together to run.

Credit

Miriah Meyer and Ben Fry for inspiring Interpolator.pde. Ben Fry for inspiring FloatTable.pde & timeSeries.pde. Casey Reas and Ben Fry for most of the Tutorials. John Resig for inspiring snake.pde.