CHAPTERS
Welcome
Online Course Outline
Table of Contents
About This Guide
Hardware and Software Theory
What is programming?
How does programming relate to hardware and software?
Abstraction
Speed
Efficiency
Disambiguation
The Unique Qualities of a Programming Language
Lower Level Languages and Higher Level Languages
An Analysis of a Computer Program
Commands
Expressions
A Scalable Software Development Model
Plan
Research
Mockup Designs
Data Aquisition
Filter
Clustering and Data Mining
Parsing
Determining Flow of Control through Stepwise Refinement
Implement, Test and Document. Repeat.
Deliver
Why Learn Programming using Processing?
Code For Artists
Java Based
Open Source
PDE
Source Code Editor
Build Automation Tools
Compiler and /or Interpreter
Debugger
Active Online Community
Hello Processing
Install Processing
Sketches
Hello World Program 1.0
The println() function
Syntax and Syntax Errors
Logical Errors
Display Window
The size() function
Standardized Coding Practices
Comments
White Space
Program Notes
Quiz 1
Visual Representations of Code
The Cartesian Graph and the Processing Coordinate System
Hello Display Window: Hello World 1.1
The text() function
Program Notes
Formatting Text
Color
Drawing
2D Primitives
The Origin of an Ellipse
Aliasing
Smile
Angles In Processing
Editing the smile
Adding Eyes
Drawing Irregular Shapes
Order, order!
Finishing the Sketch
Programming Paradigms
Datatyping Categories
Primitive Datatypes
Processing's API Datatypes
User Defined Complex Datatypes
PImage
The Design and Layout Program
Program Notes for Interface01.pde
PDE Tools Menu
Quiz 2
Beyond Static Sketches and on to Active mode
Methods, functions and their contexts
The setup() function
The draw() function
Experimentation
Datatyping
Variables
Variable Scope
Interacting with images
Friction simulation
Variable naming conventions
Planning and Pre-Debugging
Implementing a Programmatic Solution
Constraining Values
Branching
The if() structure
Relational Operators
Comparison
Extending the if() structure with else
Extending the if() construct with if else if else
Logical Operators
Interface Controls: Setting up a Slider
User Defined Functions
Creating a user defined function
Datatyping a function
Determining a range
Returning data from a function
Dragging the slider button
Setting up regional constraints
Finishing the slider
Mapping Values
The mystery shape maker
Arrays
Program Notes
Dynamic assignment for elements in an Array
Iterations
Quiz 3
Transforms
Transforming Coordinate Space
A Convenient Animation System
pushMatrix() and popMatrix()
What is the Transformation Matrix
A Programmatic Solution For Rotating Wheels
An Introduction to 3D in Processing
3D Primitives
Guess My Number Game
Object Oriented Programming
The concept of a class
The Blueprint Analogy
Why use Object Oriented Programming
Creating a Class
A Button Class
Class Name
Fields
Constructor
Methods
Object Instantiation
Working with external data
Social Commentary Visualization
Attribution
Images
Source Files Downloads
Contact
Loading...
Previous
Next
Iterations
Transforms
Brought to you by
Lyndon Daniels CC-BY-NC-ND 2012