Processing 2: Creative Programming Cookbook
图书信息
| 作者 | Jan Vantomme |
| 出版社 | Packt Publishing |
| ISBN | 9781849517959 |
| 出版时间 | 2012-09-20 |
| 字数 | 99.1万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
A cookbook with a broad sweep of the topic, through lots of practical and useful recipes that are fun to read and do. This book targets creative professionals, visual artists, designers, and students who have a starting knowledge of the Processing Development environment and who want to discover the next level of Processing. Anyone with a creative practice who wants to use computation in their design process. A basic understanding of programming is assumed. However, this book is also recommended to the non-artistic, looking to expand their graphics and artistic skills.
目录
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
- 经济数学-微积分习题解答(安徽财经大学大学数学教学研究中心)
- 502(暂无)
- 人机对话系统(曹均阔,陈国莲)
- 未解之谜(下)(百读)
- Once Upon a Christmas (Mills & Boon Love Inspired)(Pamela Tracy)
- 物联网与智慧城市(邵泽华)
- 唐代文学的文化视野(全二册)精中华书局出品(杜晓勤著)
- 365夜亲子共读:写给男孩子的经典智慧故事全集(秦茵)
