Author: Admin
-
The Physics of Gravity
Simulating Gravity Gravity is an interesting phenomenon of physics. Every moment of every day, you are literally falling inward toward the center of the earth. The surface of the earth keeps you from falling farther, but the same force that causes a person parachuting out of an airplane to fall downward, which is the same…
-
Canon EOS 60D, Patterns and Shapes
Geometric patterns are visually appealing and can be found almost anywhere you look (Figure 8.13). You see patterns not only in fabricated objects but also in nature, where some of the most beautiful and balanced patterns appear. You can also use patterns, shapes, and even textures as a contrast to the main subject of your…
-
Canon PowerShot G12, Flash and Glass
If you find yourself in a situation where you want to use your flash to shoot through a window or display case, try placing your lens right against the glass so that the reflection of the flash won’t be visible in your image. This is extremely useful in museums and aquariums.
-
Using IronPython for Application Testing
Understanding Why You Want to Use IronPython for Testing Every testing technique you’ve ever used has some drawback. For example, if you include debug statements in your code, you must ensure that you perform a release build to remove the statements before you release the code. Otherwise, the application will run slowly. In addition, using…
-
Canon 7D, Point of View
One thing I love about photography is that I get to show the world what I see, and it’s always fun to try photographing a subject from a different point of view to see what I can create. You don’t have to change your perspective drastically to get results—sometimes you can capture a great image…
-
Finite State Gameplay
Finite State Gameplay in Theory Finite state refers to a condition that will have a limited number of possible values. The age of a person is a finite state value range from 0 to around 80, with no exceptions. To ensure that an age does not exceed the bounds, the actual limits must be used,…
-
Canon PowerShot G12, Slow Synchro
One problem when shooting with a flash in low light is that often there will be a large discrepancy between your subject, which is well lit from the flash, and the background, which sinks into black. The Slow Synchro feature provides a way to light the foreground and background in the same shot (Figure 8.8).…
-
Extending IronPython Using Visual Basic.NET
Considering C# and VISUAL BASIC.NET Extension Similarities Visual Basic.NET does have some distinct advantages over C# when building an extension. The most important of these distinctions is that Visual Basic.NET does more for you in the background. For example, Visual Basic.NET automatically creates a namespace for you — it isn’t something you have to think…
-
Canon 7D, Angles
Strong angles in an image can add a lot to the composition, especially when the angles and lines are going in different directions (Figure 8.4). This can create a tension that is different from the standard horizontal and vertical lines that we are so accustomed to seeing in photos. You can accentuate the angles in…
-
Creating a Graphical User Interface
Creating the GUI Controls A graphical user interface (GUI) is absolutely essential for a game to be successful, even if that means using nothing more than labels and buttons on the screen that the user can click on. Sprite Class Improvements Modifying the Sprite Class To make the GUI controls more effective, the Sprite class…