21 Why You’ll Read This Chapter More Than Once The Nature of Code Variables Simple Types Arrays Casting Operators Control Statements if/then for Loop while Loop continue break FunctionsĢ2 22 23 24 29 33 33 37 37 38 39 40 40 41 iiiĭefining a Function Passing Parameters to a Method Some Suggestions on Writing Functions Overloading Functions Objects and Properties Scope Reviewģ. 3 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Ģ. This book uses RepKover™, a durable and flexible lay-flat binding. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Programming Interactivity, the image of guinea fowl, and related trade dress are trademarks of O’Reilly Media, Inc. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Indexer: Ellen Troutman Zaig Cover Designer: Karen Montgomery Interior Designer: David Futato Illustrator: Robert Romano For more information, contact our corporate/institutional sales department: (800) 998-9938 or Įditor: Steve Weiss Production Editor: Sumita Mukherji Copyeditor: Kim Wimpsett Proofreader: Sumita Mukherji Production Services: Newgen Online editions are also available for most titles (). O’Reilly books may be purchased for educational, business, or sales promotional use. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. Programming Interactivity by Joshua Noble Copyright © 2009 Joshua Noble.
Programming Interactivity A Designer’s Guide to Processing, Arduino, and openFrameworks