Programming Interactivity

A Desinger's guide to Processing, Arduino, and openFrameworks

Specificaties
Paperback, 704 blz. | Engels
O'Reilly | 2e druk, 2012
ISBN13: 9781449311445
Rubricering
Hoofdrubriek : Computer en informatica
O'Reilly 2e druk, 2012 9781449311445
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

Ready to create rich interactive experiences with your artwork, designs, or prototypes? This is the ideal place to start. With this hands-on guide, you'll explore several themes in interactive art and design-including 3D graphics, sound, physical interaction, computer vision, and geolocation-and learn the basic programming and electronics concepts you need to implement them. No previous experience is necessary.

You'll get a complete introduction to three free tools created specifically for artists and designers: the Processing programming language, the Arduino microcontroller, and the openFrameworks toolkit. You'll also find working code samples you can use right away, along with the background and technical information you need to design, program, and build your own projects.

- Learn cutting-edge techniques for interaction design from leading artists and designers
- Let users provide input through buttons, dials, and other physical controls
- Produce graphics and animation, including 3D images with OpenGL
- Use sounds to interact with users by providing feedback, input, or an element they can control
- Work with motors, servos, and appliances to provide physical feedback
- Turn a user's gestures and movements into meaningful input, using Open CV

Specificaties

ISBN13:9781449311445
Taal:Engels
Bindwijze:paperback
Aantal pagina's:704
Uitgever:O'Reilly
Druk:2
Verschijningsdatum:29-2-2012

Over Joshua Noble

Joshua Noble is a consultant, freelance developer and Rich Internet Application designer, based in New York City. He's the lead-author of O'Reilly title Flex 3 Cookbook (released May 2008) and Programming Interactivity (July 2009) He has taught at Tufts University, and has worked as a consultant with Disney, Adobe, ABC, Schematic, Cynergy, Aspen Ski Resorts, New England Journal of Medicine, and Howcast.

Andere boeken door Joshua Noble

Inhoudsopgave

Preface

1. Introducing Interaction Design
-What This Book Is For
-Programming for Interactivity
-Design and Interaction
-Art and Interaction
-Data Exchange and Exploration
-Working Process

2. Programming Basics
-Why You'll Read This Chapter More Than Once
-The Nature of Code
-Variables
-Control Statements
-Functions
-Objects and Properties
-Scope
-Review

3. Processing
-Downloading and Installing Processing
-Exploring the Processing IDE
-The Basics of a Processing Application
-The Basics of Drawing with Processing
-Capturing Simple User Interaction
-Importing Libraries
-Loading External Data into Processing
-Running and Debugging Applications
-Exporting Processing Applications
-Conclusion
-Review

4. Arduino
-Starting with Arduino
-Touring an Arduino Board
-Touring the Arduino IDE
-The Basics of an Arduino Application
-Features of the Arduino Language
-How to Connect Things to Your Board
-Hello World
-Debugging Your Application
-Importing Libraries
-Running Your Code
-Review

5. Programming Revisited
-Object-Oriented Programming
-Classes
-Public and Private Properties
-Inheritance
-Processing: Classes and Files
-C++: Classes and Files
-Pointers and References
-Review

6. openFrameworks
-Your IDE and Computer
-Taking Another Quick Tour of C++
-Getting Started with oF
-Touring an oF Application
-Creating “Hello, World”
-Drawing in 2-D
-Displaying Video Files and Images
-Compiling an oF Program
-Debugging an oF Application
-Importing Libraries
-Review

7. Physical Input
-Interacting with Physical Controls
-Thinking About Kinetics
-Getting Gear for This Chapter
-Controlling Controls
-Turning Knobs
-Using Lights
-Detecting Touch and Vibration
-Detecting Proximity
-Detecting Motion
-Reading Distance
-Understanding Binary Numbers
-Communicating with Other Applications
-Sending Messages from the Arduino
-Detecting Forces and Tilt
-Introducing I2C
-What's Next
-Review

8. Programming Graphics
-The Screen and Graphics
-Seeing Is Thinking, Looking Is Reading
-Math, Graphics, and Coordinate Systems
-Drawing Strategies
-Transformation Matrices
-Creating Motion
-Using Vectors
-Using Graphical Controls
-Importing and Exporting Graphics
-What's Next
-Review

9. Bitmaps and Pixels
-Using Pixels As Data
-Using Pixels and Bitmaps As Input
-Providing Feedback with Bitmaps
-Looping Through Pixels
-Manipulating Bitmaps
-Analyzing Bitmaps in oF
-Using Edge Detection
-Using Pixel Data
-Using Textures
-Saving a Bitmap
-What's Next
-Review

10. Sound and Audio
-Sound As Feedback
-Sound and Interaction
-How Sound Works on a Computer
-Audio in Processing
-Sound in openFrameworks
-openFrameworks and the FMOD Ex Library
-Maximilian
-Physical Manipulation of Sound with Arduino
-A Quick Note on PWM
-Creating Interactions with Sound
-Further Resources
-Review

11. Arduino and Feedback
-Using Motors
-Smart Feedback
-Using Servos
-Using Household Currents
-Working with Appliances
-Introducing the LilyPad Board
-Using Vibration
-Using an LED Matrix
-Using the SPI Protocol
-Serial LED Matrix
-Using LCDs
-Using Solenoids for Movement
-What's Next
-Review

12. Protocols and Communication
-Communicating over Networks
-Using XML
-Understanding Networks and the Internet
-Handling Network Communication in Processing
-Understanding Protocols in Networking
-Using the ofxNetwork Add-on
-Creating Networks with the Arduino
-Wireless Internet on the Arduino
-Communicating with Bluetooth
-Communicating Using MIDI
-Review

13. Graphics and OpenGL
-What Does 3-D Have to Do with Interaction?
-Understanding 3-D
-What Is OpenGL?
-Working with 3-D in Processing
-Making Custom Shapes in Processing
-Using Coordinates and Transforms in Processing
-3-D in openFrameworks
-Lighting in OpenGL
-Blending Modes in OpenGL
-Creating 3-D Objects in oF
-Using Textures and Shading in Processing
-Using Another Way of Shading
-Using ofShader
-Using Shaders in Processing
-What to Do Next
-Review

14. Motion and Gestures
-Computer Vision
-OpenCV
-Using Blobs and Tracking
-Detecting Features with oF
-Using OpenCV in Processing
-Feature Tracking in Processing
-Using Blob Tracking with Physics
-Exploring Further in OpenCV
-Detecting Gestures
-Capturing iOS gestures with oF
-Touch with oF
-What's Next
-Using the Microsoft Kinect
-Review

15. Movement and Location
-Using Movement As and In Interaction
-Using Software-Based Serial Ports
-Understanding and Using GPS
-Storing Data
-Logging GPS Data to an Arduino
-Sending GPS Data
-Getting Location on a Mobile Device
-What to Do Next
-Review

16. Spaces and Environments
-Using Architecture and Space
-Sensing Environmental Data
-Using an XBee with Arduino
-Placing Objects in 2-D
-Using the X10 Protocol
-Setting Up an RFID Sensor
-Reading Heat and Humidity
-Determine Position of an Object
-What's Next
-Review

17. Further Resources
-What's Next?
-Bibliography
-Conclusion

Index

Net verschenen

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Programming Interactivity