Programming with Processing

A collection of basic sketches for teaching purpose
Upgrade your account to Professor Plus+ membership to set your class private.
A collection of basic sketches for teaching purpose
Newest to Oldest

4.2 Nested loops


Nested loops = loops inside of loops
Newest to Oldest

14.3 Class Example: Circular


Circular class alignes a certain numbers of ellipses on a circle.
Newest to Oldest

14.2 Class Example: Fish


Fish example using the Mover class
Newest to Oldest

14.1 Class Example: Mover


Write a class to move an ellipse in different ways
Newest to Oldest

12.3 Move with Lerp


Move from A to B with the lerp() function
Newest to Oldest

8.5 Matrix


Rotate, translate and scale things
Newest to Oldest

9.2 Vector Data


Import SVGs
Newest to Oldest

9.3 JSON


Load a json file

Define your own objects and work with OOP
Newest to Oldest

13 Nature


Simulation and imitation of natural phenomena
Newest to Oldest

12.7 Steering behavior


Move to a target
Newest to Oldest

12.6 Vector / Flow fields


Change the direction of the movement
Newest to Oldest

12.5 Move in a certain direction


Best done with PVector
Newest to Oldest

12.4 Move by Velocity


Move with a certain speed in a direction
Newest to Oldest

12.2 Random Walk


randomly chose where to go
Newest to Oldest

12.1 One-Dimensional Movement


move in one direction
Newest to Oldest

12 Movement


Everything that moves
Newest to Oldest

11 Export


The data export will not work in a browser. Download the sketches and run it with Processing in Java Mode

Display and manipulate Text
Newest to Oldest

9.1 Pixel Data


.jpg .tif .png
Newest to Oldest

9 Import


all you add to your Processing sketch
Newest to Oldest

8.3 Map() and Dist()


Two Functions often uses for complex drawings and interaction
Newest to Oldest

8.2 Trigonometry


A collection of basic sketches for teaching purpose
Newest to Oldest

8.1 Regular Grids


Grid in one or two dimensions
Newest to Oldest

8 Geometry


Build a drawing
Newest to Oldest

7.3 Probability


Work with random
Newest to Oldest

7.2 Noise


make some perlin noise
Newest to Oldest

7.1 Random


examples
Newest to Oldest

7 Randomness


All sort of random
Newest to Oldest

6.5 Work width Arrays: Pie Chart


Example
Newest to Oldest

6.2 Two-Dimensional Arrays


Arrays that contain other arrays
Newest to Oldest

6.4 Work with Arrays: Find highest and lowst Values


Examples
Newest to Oldest

6.3 ArrayList


Dynamic array
Newest to Oldest

6.1 Array


simple arrays
Newest to Oldest

6 Arrays


Store much data
Newest to Oldest

3 Conditions


What should the program do
Newest to Oldest

5.4 Recursion


Self calling Functions
Newest to Oldest

5.3 Functions with Return


Functions that give something back
Newest to Oldest

5.2 Functions with Arguments


Functions get some informations
Newest to Oldest

5.1 Simple Functions


Subdivide your code
Newest to Oldest

5 Functions


Sort your things
Newest to Oldest

4.1 While Loop


repeat a task

Do it over and over again
Newest to Oldest

2.2 Datatypes and Variables


Global & local
Newest to Oldest

2.1 System Variables


Given variables
Newest to Oldest

2 Variables


Datatypes, System variables
Newest to Oldest

1 Basics


Shapes, Colors, Comments, setup and draw