Getting Started With Processing Directory

  1. 1/Getting Started
    1. No web content for this chapter
  2. 2/Starting to Code
    1. Your First Program
      1. Example 2-1: Draw and Ellipse
      2. Example 2-2: Make Circles
    2. Save and New
    3. Example and Reference
  3. 3/Draw
    1. The Display Window
      1. Example 3-1: Draw a Window
      2. Example 3-2: Draw a Point
    2. Basic Shapes
    3. Drawing Order
      1. Example 3-9: Control Your Drawing Order
      2. Example 3-10: Put it in Reverse
    4. Shape Properties
      1. Example 3-11: Set Stroke Weight
      2. Example 3-12: Set Stroke Caps
      3. Example 3-13: Set Stroke Joins
    5. Drawing Modes
      1. Example 3-14: On the Corner
    6. Color
      1. Example 3-16: Control Fill and Stroke
      2. Example 3-18: Set the Transparency
    7. Custom Shapes
      1. Example 3-19: Draw an Arrow
      2. Example 3-20: Draw Close the Gap
      3. Example 3-21: Create Some Creatures
    8. Comments
    9. Robot1: Draw
  4. 4/Variables
    1. First Variables
      1. Example 4-1: Reuse the Same Values
      2. Example 4-2: Change Values
    2. Making Variables
    3. Processing Variables
      1. Example 4-3: Adjust the Size. See What Follows
    4. A Little Math
      1. Example 4-4: Basic Arithmetic
    5. Repetition
      1. Example 4-5: Do the Same Thing Over and Over
      2. Example 4-6: Use a for loop
      3. Example 4-7: Flex Your for Loop's Muscles
      4. Example 4-8: Fanning Out the Lines
      5. Example 4-9: Kinking the Lines
      6. Example 4-10: Embed One for Loop In Another
      7. Example 4-12: Pins and Lines
      8. Example 4-13: Halftone Dots
    6. Robot 2: Variables
  5. 5/Response
    1. Once and Forever
      1. Example 5-1: The draw() Function
      2. Example 5-2: The setup() Function
      3. Example 5-3: Global Variables
    2. Follow
      1. Example 5-4: Track the Mouse
      2. Example 5-5: The Dot Follow You
      3. Example 5-6: Draw Continuously
      4. Example 5-7: Set Line Thickness
      5. Example 5-8: Easing Does it
      6. Example 5-9: Smooth Lines with Easing
    3. Click
      1. Example 5-10: Click the Mouse
      2. Example 5-11: Detect When Not Clicked
      3. Example 5-12: Multiple Mouse Buttons
    4. Location
      1. Example 5-13: Find the Cursor
      2. Example 5-14: The Bounds of a Circle
      3. Example 5-15: The Bounds of a Rectangle
    5. Type
      1. Example 5-16: Tap a Key
      2. Example 5-17: Draw Some Letters
      3. Example 5-18: Check for Specific Keys
      4. Example 5-19: Move the Arrow Keys
    6. Map
      1. Example 5-20: Map Values to a Range
      2. Example 5-21: Mat with the map() Function
    7. Robot 3: Response
  6. 6/Translate, Rotate, Scale
    1. Translate
      1. Example 6-1: Translating Location
      2. Example 6-2: Multiple Translations
    2. Rotate
      1. Example 6-3: Corner Rotation
      2. Example 6-4: Center Rotation
      3. Example 6-5: Translation, then Rotation
      4. Example 6-6: Rotation, then Translation
      5. Example 6-7: An Articulating Arm
    3. Scale
      1. Example 6-8: Scaling
      2. Example 6-9: Keeping Strokes Consistent
    4. Push and Pop
      1. Example 6-10: Isolating Transformations
    5. Robot 4: Translate, Rotate, Scale
  7. 7/Media
    1. Images
      1. Example 7-1: Load an Image
      2. Example 7-2: Load More Images
      3. Example 7-3: Mousing Around with Images
      4. Example 7-4: Transparency with GIF
      5. Example 7-5: Transparency with PNG
    2. Fonts
      1. Example 7-6: Drawing with Fonts
      2. Example 7-8: Store Text with a String
    3. Shapes
      1. Example 7-9: Draw with Shapes
      2. Example 7-10: Scaling Shapes
      3. Example 7-11: Creating a New Shape
    4. Robot 5: Media
  8. 8/Motion
    1. Frames
      1. Example 8-1: See the Frame Rate
      2. Example 8-2: Set the Frame Rate
    2. Speed and Direction
      1. Example 8-3: Move a Shape
      2. Example 8-4: Wrap Around
      3. Example 8-5: Bounce Off the Wall
    3. Tweening
      1. Example 8-6: Calculate Tween Positions
    4. Random
      1. Example 8-7: Generate Random Values
      2. Example 8-8: Draw Randomly
      3. Example 8-9: Move Shapes Randomly
    5. Timers
      1. Example 8-10: Time Passes
      2. Example 8-11: Triggering Timed Events
    6. Circular
      1. Example 8-12: Sine Wave Values
      2. Example 8-13: Sine Wave Movement
      3. Example 8-14: Circular Motion
      4. Example 8-15: Spirals
    7. Robot 6: Motion
  9. 9/Functions
    1. Function Basics
      1. Example 9-1: Roll The Dice
      2. Example 9-2: Another Way to Roll
    2. Make a Function
      1. Example 9-3: Draw the Owl
      2. Example 9-4: Two's Company
      3. Example 9-5: An Owl Function
      4. Example 9-6: Increasing the Surplus Population
      5. Example 9-7: Owls of Different Sizes
    3. Return Values
      1. Example 9-8: Return a Value
    4. Robot 7: Functions
  10. 10/Objects
    1. Fields and Methods
    2. Define a Class
    3. Create Objects
      1. Example 10-1: Make and Object
      2. Example 10-2: Make Multiple Objects
    4. Tabs
    5. Robot 8: Objects
  11. 11/Arrays
    1. From Variables to Arrays
      1. Example 11-1: Many Variables
      2. Example 11-2: Too Many Variables
      3. Example 11-3: Arrays, Not Variables
    2. Make an Array
      1. Example 11-4: Declare and Assign an Array
      2. Example 11-5: Compact Array Assignment
      3. Example 11-6: Assigning an Array in One Go
      4. Example 11-7: Revisiting the First Example
    3. Repetition and Arrays
      1. Example 11-8: Filling an Array in a for Loop
      2. Example 11-9: Track Mouse Movements
    4. Arrays of Objects
      1. Example 11-10: Managing Many Objects
      2. Example 11-11: A New Way to Manage Objects
      3. Example 11-12: Sequences of Images
    5. Robot 9: Arrays
  12. 12/Data
    1. Boring. Skip...
  13. 13/Extend
    1. Sound
      1. Example 13-1: Play a Sample
      1. Example 13-3: Create a Sine Wave
    2. Other subjects from textbook chapter 13 not covered