售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Processing 2: Creative Programming Cookbook
Table of Contents
Processing 2: Creative Programming Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with Processing 2
Introduction
Installing Processing on your computer
Getting ready
How to do it...
How it works...
There's more...
Exploring the Processing Development Environment
How to do it...
How it works...
Installing libraries
Getting ready
How to do it...
How it works...
Installing tools
Getting ready
How to do it...
How it works...
Switching modes
Getting ready
How to do it...
How it works...
See also
Understanding the coordinate system
Getting ready
How to do it...
How it works...
Writing your first Processing sketch
Getting ready
How to do it...
How it works...
There's more...
Using math functions
Getting ready
How to do it...
How it works...
There's more...
Responding to mouse events
How to do it...
How it works...
Responding to keyboard events
How to do it...
How it works...
There's more...
2. Drawing Text, Curves, and Shapes in 2D
Introduction
Drawing basic shapes
How to do it...
How it works...
Working with colors
How to do it...
How it works...
There's more...
See also
Working with images
Getting ready
How to do it...
How it works...
There's more...
Drawing text
Getting ready
How to do it...
How it works...
Drawing curves
How to do it...
How it works...
Calculating points on a curve
How to do it...
How it works...
Drawing custom shapes
How to do it...
How it works...
There's more...
Manipulating SVG files
Getting ready
How to do it...
How it works...
There's more...
Offscreen drawing
How to do it...
How it works...
There's more...
3. Drawing in 3D–Lights, Camera, and Action!
Introduction
Understanding 3D space
How to do it...
How it works...
Drawing 3D primitives
How to do it...
How it works...
There's more...
Using lights
How to do it...
How it works...
Making polygon soup
How to do it...
How it works...
There's more...
Mixing 2D and 3D objects
How to do it...
How it works...
Drawing triangle and quad strips
How to do it...
How it works...
Using textures
Getting ready
How to do it...
How it works...
Using the 3D camera
How to do it...
How it works...
There's more...
4. Working with Data
Introduction
Loading text files from the hard drive
Getting ready
How to do it...
How it works...
Parsing CSV
How to do it...
How it works...
There's more...
Parsing XML
How to do it...
How it works...
Converting datatypes
How to do it...
How it works...
Working with Strings
How to do it...
How it works...
Working with arrays
How to do it...
How it works...
Working with ArrayLists
How to do it...
How it works...
There's more...
Working with HashMaps
How to do it...
How it works...
5. Exporting from Processing
Introduction
Saving images
How to do it...
How it works...
Exporting applications
How to do it...
How it works...
Saving PDF files
How to do it...
How it works...
There's more...
Calculating PDF sizes
How to do it...
How it works...
Saving text files
How to do it...
How it works...
Exporting 3D files
How to do it...
How it works...
There's more...
Saving binary files
How to do it...
How it works...
There's more...
6. Working with Video
Introduction
Playing a video
Getting ready
How to do it...
How it works...
Exporting image sequences
How to do it...
How it works...
Manipulating pixels in a video
How to do it...
How it works...
Using filters
How to do it...
How it works...
Controlling the speed of a video
How to do it...
How it works...
Jumping to a specific frame
How to do it...
How it works...
Blending video
How to do it...
How it works...
7. Audio Visualization
Introduction
Importing the Minim library
How to do it...
How it works...
Playing audio files
Getting ready
How to do it...
How it works...
Using live audio
How to do it...
How it works...
Drawing a waveform
How to do it...
How it works...
Using Fast Fourier Transforms
How to do it...
How it works...
Audio reactive particles
How to do it...
How it works...
Creating a drum machine
How to do it...
How it works...
Creating a synthesizer
How to do it...
How it works...
Using effects
How to do it...
How it works...
8. Exploring Computer Vision
Introduction
Using a webcam
How to do it...
How it works...
Thresholding video
How to do it...
How it works...
Blob tracking
How to do it...
How it works...
Color tracking
How to do it...
How it works...
Installing the OpenCV library
How to do it...
How it works...
There's more...
Accessing a webcam with OpenCV
How to do it...
How it works...
Face detection with OpenCV
How to do it...
How it works...
Defining the region of interest with OpenCV
How to do it...
How it works...
Manipulating video with OpenCV
How to do it...
How it works...
9. Exploring JavaScript Mode
Introduction
Creating your first Processing sketch for the Web
Getting ready
How to do it...
How it works...
There's more...
Creating a custom HTML template
Getting ready
How to do it...
How it works...
Working with fonts
Getting ready
How to do it...
How it works...
There's more...
Working with images/SVG files
Getting ready
How to do it...
How it works...
There's more...
Creating 3D sketches for the Web
How to do it...
How it works...
Using Processing.js without the Processing editor
Getting ready
How to do it...
How it works...
Writing sketches with JavaScript
How to do it...
How it works...
Using Processing.js with jQuery
Getting ready
How to do it...
How it works...
Getting started with the Toxiclibs.js library
Getting ready
How to do it...
How it works...
10. Exploring Android Mode
Introduction
Installing the Android SDK
How to do it...
How it works...
Running your sketch in the Android Emulator
How to do it...
How it works...
Running your sketch on an Android device
How to do it...
How it works...
Accessing screen size and density
Getting ready
How to do it...
How it works...
Responding to touch interaction
How to do it...
How it works...
There's more...
Using the accelerometer
Getting ready
How to do it...
How it works...
There's more…
Using the GPS
Getting ready
How to do it...
How it works...
There's more...
Creating 3D sketches on Android
How to do it...
How it works...
Adding an icon to your Android App
How to do it...
How it works...
11. Using Processing with Other Editors
Introduction
Installing Eclipse
Getting ready
How to do it...
How it works...
Installing the Processing plugin for Eclipse
How to do it...
How it works...
There's more…
Write your first sketch with the Processing Eclipse plugin
How to do it...
How it works...
There's more...
Installing the Processing library template in Eclipse
Getting ready
How to do it...
How it works...
Writing Processing libraries
Getting ready
How to do it...
How it works...
Installing the Processing tool template
Getting ready
How to do it...
How it works...
Writing Processing tools
Getting ready
How to do it...
How it works...
Using Processing with IntelliJ IDEA
Getting ready
How to do it...
How it works...
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜