| |
| |
Contents | |
| |
| |
List of Program Examples | |
| |
| |
List of Figures | |
| |
| |
| |
Introduction to Java: Object-Oriented Programming for Modeling a World | |
| |
| |
| |
Objects for Modeling a World. | |
| |
| |
| |
Making Representations of a World | |
| |
| |
| |
Why Java? | |
| |
| |
| |
Introduction to Java | |
| |
| |
| |
Whatrsquo;s Java about? | |
| |
| |
| |
Basic (Syntax) Rules of Java | |
| |
| |
| |
Using Java to Model the World | |
| |
| |
| |
Manipulating Pictures in Java | |
| |
| |
| |
Exploring Sound in Java | |
| |
| |
| |
Exploring Music in Java | |
| |
| |
| |
Methods in Java: Manipulating Pictures | |
| |
| |
| |
Reviewing Java Basics | |
| |
| |
| |
Java is about Classes and Methods | |
| |
| |
| |
Methods that return something: Compositing images | |
| |
| |
| |
Creating classes that do something | |
| |
| |
| |
Objects as Agents: Manipulating Turtles | |
| |
| |
| |
Turtles: An Early Computational Object | |
| |
| |
| |
Drawing with Turtles | |
| |
| |
| |
Creating animations with turtles and frames | |
| |
| |
| |
Arrays: A Static Data Structure for Sounds | |
| |
| |
| |
Manipulating Sampled Sounds | |
| |
| |
| |
Inserting and Deleting in an Array | |
| |
| |
| |
Introducing Linked Lists. | |
| |
| |
| |
Structuring Music using Linked Lists | |
| |
| |
| |
JMusic and Imports | |
| |
| |
| |
Starting out with JMusic | |
| |
| |
| |
Making a Simple Song Object | |
| |
| |
| |
Simple structuring of notes with an array | |
| |
| |
| |
Making the Song Something to Explore | |
| |
| |
| |
Making Any Song Something to Explore | |
| |
| |
| |
Exploring Music | |
| |
| |
| |
Structuring Images using Linked Lists | |
| |
| |
| |
Simple arrays of pictures | |
| |
| |
| |
Listing the Pictures, Left-to-Right | |
| |
| |
| |
Listing the Pictures, Layering | |
| |
| |
| |
Reversing a List | |
| |
| |
| |
Animation | |
| |
| |
| |
Lists with Two Kinds of Elements | |
| |
| |
| |
Trees: Hierarchical Structures for Media. | |
| |
| |
| |
Trees of Images | |
| |
| |
| |
Representing scenes with trees | |
| |
| |
| |
Our First Scene Graph: Attack of the Killer Wolvies hellip;. | |
| |
| |
| |
The Classes in the SceneGraph | |
| |
| |
| |
Building a s<$$$> | |