Limit search to available items
Book Cover
E-book
Author Noble, Joshua

Title Programming Interactivity
Edition 2nd ed
Published Sebastopol : O'Reilly Media, 2012

Copies

Description 1 online resource (728 pages)
Contents Table of Contents; Preface; What Is--and Isn't--in This Book; What's In; What's Not In; Conventions Used in This Book; Companion Website; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. Introducing Interaction Design; What This Book Is For; Programming for Interactivity; The Nature of Interaction; Messages and Interaction; Interfaces and Interaction; Languages of Interaction; Design and Interaction; Art and Interaction; Data Exchange and Exploration; Working Process; Chapter 2. Programming Basics; Why You'll Read This Chapter More Than Once
The Nature of CodeVariables; Simple Types; int; Signed versus unsigned; float; char; bool or boolean; string; byte; long; Arrays; Casting; Operators; Control Statements; if/then; for Loop; while Loop; continue; break; Functions; Defining a Function; Passing Parameters to a Function; Some Suggestions on Writing Functions; Overloading Functions; Objects and Properties; Scope; Review; Chapter 3. Processing; Downloading and Installing Processing; Exploring the Processing IDE; The Basics of a Processing Application; The setup() Method; The size() method; The frameRate() method; The print() method
The draw() MethodThe Basics of Drawing with Processing; The rect(), ellipse(), and line() Methods; RGB Versus Hexadecimal; The fill() Method; The background() Method; The line() Method; The stroke() and strokeWeight() Methods; The curve() Method; The vertex() and curveVertex() Methods; Capturing Simple User Interaction; The mouseX and mouseY Variables; The mousePressed() Method; The mouseReleased() and mouseDragged() Methods; The keyPressed and key Variables; Importing Libraries; Downloading Libraries; Loading External Data into Processing; Loading and Displaying Images; The PImage class
The loadImage() methodThe image() method; Displaying Videos in the Processing Environment; Using the Movie Class; Reading and Writing Files; The loadStrings() method; The saveStrings() method; Running and Debugging Applications; Exporting Processing Applications; Conclusion; Review; Chapter 4. Arduino; Starting with Arduino; Installing the IDE; Mac OS X; Windows; Linux; Configuring the IDE; Touring an Arduino Board; The Controller; Uno Versus Mini Versus Mega; What's a pin?; Digital versus analog pins; Pins on the Mini; Pins on the Mega; Touring the Arduino IDE
The Basics of an Arduino ApplicationThe setup Statement; The loop Method; Features of the Arduino Language; Constants; Methods; Arrays; Strings; How to Connect Things to Your Board; Resistors; Hello World; Debugging Your Application; Importing Libraries; Running Your Code; Running Your Board Without a USB Connection; Review; Chapter 5. Programming Revisited; Object-Oriented Programming; Classes; The Basics of a Class; Class Rules; Public and Private Properties; Inheritance; Processing: Classes and Files; C++: Classes and Files; .cpp and .h; A Simple C++ Application; Pointers and References
Summary 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 openFrame
Bibliography Includes bibliographical references and index
Notes Copyright © O'Reilly Media, Inc
Print version record
Subject Computer graphics
Interactive multimedia -- Authoring programs.
Graphic arts.
Graphic design (Typography)
computer graphics.
graphic design.
graphic arts.
COMPUTERS -- Image Processing.
COMPUTERS -- Digital Media -- Graphics Applications.
PHOTOGRAPHY -- Techniques -- Digital.
TECHNOLOGY & ENGINEERING -- Imaging Systems.
Graphic design (Typography)
Computer graphics
Graphic arts
Interactive multimedia -- Authoring programs
Form Electronic book
ISBN 9781449321512
1449321518
9781449321505
144932150X
9781449311445
144931144X