Java Reference
In-Depth Information
Now that the background layers are complete, we then create a layer that merely
holds the darkened moon. This is basically a blurred black circle. Figure 2.3
shows this layer.
Figure 2.3
Dark Side of the Moon Layer
For the Sun, there are three layers representing the eclipse phases: the normal
Sun, the moment just before totality where a final burst of light is seen, and total-
ity. The normal Sun is a blurred yellow circle with a white center. The Sun Burst
is a basic ellipse with a white center and a surrounding halo effect, rotated 45
degrees. This particular image will be at the edge of the dark moon, right before
and right after totality and is commonly called the diamond ring effect. Totality
view will be a center white circle with a halo effect. There are some yellow curve
lines added to represent solar flares that only appear during totality. The sun
layer is illustrated in Figure 2.4 and can be seen in color at http://jfxbook.com.
Figure 2.4
Sun
Figure 2.5 shows the Sun Burst layer. This is the layer that is shown in the dia-
mond ring effect immediately before and after totality.
Figure 2.6 shows the Totality layer.
Figure 2.7 shows the combined layers for the moment before totality, commonly
called the diamond ring effect. These include the layers DarkSky, Totality, Sun-
Search WWH ::




Custom Search