Preface
General
This lesson is the next in a series (see Resources) designed to teach you how to write Java programs to do things like:
- Remove redeye from a photographic image.
- Distort the human voice.
- Display one image inside another image.
- Do edge detection, blurring, and other filtering operations on images.
- Insert animated cartoon characters into videos of live humans.
If you have ever wondered how to do these things, you've come to the right place.
The World class
If you have studied the earlier lessons in this series (see Resources), you have learned all about the Turtle class, its superclass named SimpleTurtle, and the classes from which a turtle's contained objects are instantiated (Pen and PathSegment). You have learned how to instantiate new Turtle objects, placing them in either a World object or a Picture object. You have learned how to manipulate the Turtle objects once you place them in their environment. The time has come for you to learn about the environment in which a turtle lives. You will learn about the World class in this lesson. You will learn about the Picture class in a future lesson.
Viewing tip
I recommend that you open another copy of this document in a separate browser window and use the following links to easily find and view the figures and listings while you are reading about them...
Read the Rest of this Article at Developer.com