snow.swf / snow.js
A weather effect plugin that adds snow or rain to the pano.
The snow flakes can be made out of pixels (default) or individual images.
All attributes of the snow plugin can also be set or changed dynamically.
Weather effect mode.
The snow flakes will be made out of small pixels. The color of the pixels
can adjusted by the color settings.
Instead of snow flakes there are falling down lines to simulate raining. The style of the rain lines
can be adjusted by the color, rainwidth and rainalpha
The snow flakes will be made out of images. The image must be set by imageurl setting.
And the scaling of the image can adjusted the imagescale setting.
Set the url / path for the snow flake image.
The scaling of the
imageurl flake images, default=1.0.
The number of the snow flakes or rain drops, default=4000.
The color of the snow flakes or rain drops, defaul=0xFFFFFF.
The floor setting defines a virtual floor where the snow flakes are hitting the floor and stop falling.
Possible settings are in the range from 0.0 to 1.0. The setting 0.0 would define the floor to be the middle
of the pano/screen. The default setting is 0.3.
The falling speed of the snow flakes, default=1.0.
The spreading setting defines the range / depth of the snow field in the virtual 3D world, default=4.0.
The random shaking range of the snow flakes, default=4.0.
How much can the falling speed vary randomly, default=2.0.
The wind strength that changes the falling directing of the snow flakes, default=0.0.
The direction of the wind in degrees, 0-360, default=0.
The line-width of the rain drop lines, default=0.5.
The alpha of the rain drop lines, default=0.5.