Getting Started with Processing by Casey Reas & Ben Fry [Second Edition]
We are now stocking Getting Started with Processing - Second Edition. A Quick, Hands-on Introduction By Casey Reas, Ben Fry. We get asked the following a lot from beginners "how do you learn how to program" and our answer is usually "try processing". It's open source, free to download, has a massive community and the things you learn will help you with learning Arduino, which is usually within the context we're asked.
Learn computer programming the easy way with Processing, a simple language that lets you use code to create drawings, animation, and interactive graphics. Programming courses usually start with theory, but this book lets you jump right into creative and fun projects. It's ideal for anyone who wants to learn basic programming, and serves as a simple introduction to graphics for people with some programming skills.
Written by the founders of Processing, this book takes you through the learning process one step at a time to help you grasp core programming concepts. You'll learn how to sketch with code -- creating a program with one a line of code, observing the result, and then adding to it. Join the thousands of hobbyists, students, and professionals who have discovered this free and educational community platform.
- Quickly learn programming basics, from variables to objects
- Understand the fundamentals of computer graphics
- Get acquainted with the Processing software development environment
- Create interactive graphics with easy-to-follow projects
- Use the Arduino open source prototyping platform to control your Processing graphics
- Learn to applu data visualization techniques
- Connect electronics to Processing with Arduino
- Add sound to your graphical creations
Chapter 1 Hello
- Sketching and Prototyping
- Flexibility
- Giants
- Family Tree
- Join In
Chapter 2 Starting to Code
- Your First Program
- Show
- Save and New
- Share
- Examples and Reference
Chapter 3 Draw
- The Display Window
- Basic Shapes
- Drawing Order
- Shape Properties
- Drawing Modes
- Color
- Custom Shapes
- Comments
- Robot 1: Draw
Chapter 4 Variables
- First Variables
- Making Variables
- Processing Variables
- A Little Math
- Repetition
- Robot 2: Variables
Chapter 5 Response
- Once and Forever
- Follow
- Click
- Location
- Type
- Map
- Robot 3: Response
Chapter 6 Translate, Rotate, Scale
- Translate
- Rotate
- Scale
- Push and Pop
- Robot 4
Chapter 7 Media
- Images
- Fonts
- Shapes
- Robot 4: Media
Chapter 8 Motion
- Speed and Direction
- Tweening
- Random
- Timers
- Circular
- Translate, Rotate, Scale
- Robot 5: Motion
Chapter 9 Functions
- Function Basics
- Make a Function
- Return Values
- Robot 6: Functions
Chapter 10 Objects
- Classes and Objects
- Robot 7: Objects
Chapter 11 Arrays
- Make an Array
- Repetition and Arrays
- Arrays of Objects
- Robot 8: Arrays
Chapter 12 Data
- Data Summary
- Tables
- JSON
- Network Data and APIs
- Robot 10: Data
Chapter 13 Extend
- Sound
- Image and PDF Export
- Hello, Arduino
- A/Coding Tips
- B/Data Types
- C/Order of Operations
- D/Variable Scope
- Index