Thanks to the image stabilizer (IS), you can squeeze two stops of exposure out of your camera when shooting without a tripod (Figures 8.2 and 8.3). Typically, the average person can handhold their camera down to about 1/60 of...
Drawing Frames with Color Mods
We will first test the frame animation system with color modifications, then get into transform mods, and then create a new frame animation mod system as well.
Pivot Optimization
The sprite’s pivot point used for rotation, called...
Drawing Animation Frames
Let’s dig into the nitty-gritty of sprite animation. Most beginners create an animation sequence by loading each frame from a separate bitmap file and storing the frames in an array or a list. This approach has the...
Let’s begin with the obvious ways to keep shooting when the lights get low.
One option is to use the flash, but its limited range (15–20 feet) might not work for the situation. Also, the light from the built-in flash...
Using the .NET XML Functionality
If you know how to work with XML in .NET languages such as C#, then you already know how to perform the same tasks in IronPython because you can import the System.Xml assembly to gain...
The preceding hour saw the introduction of a powerful new Animation class that added color animation effect capabilities to Sprite objects. By subclassing Animation, we can create specific animation effects in reusable classes, such as the CycleColor class that...
For most of this book, I’ve focused on how to take a great shot—one exposure, one image. But shooting digital opens other options that combine several shots into one better photo. The following two sections, covering panoramas and high...
Getting Started with Color Animation
The first important point to consider when building an animation system that works with the Sprite class without infiltrating the Sprite class—that is, without mucking it up—is to design the animation system in such a...
As a photographer, it’s your job to lead the viewer through your image. You accomplish this by utilizing the principles of composition, which is the arrangement of elements in the scene that draws the viewer’s eye through the image...
Robot Trash Collectors
Our example in this hour is a simulation of robot trash collectors. The robots are represented as white circles, and the trash items as red squares. The robot cleaners will look for the closest trash item and...