image transitions using java
Java images, Gaussian distributions, Bezier curves, clip regions, and the alpha channel:
Below is what happens when you put them all together much too late at night.
the applet parameters:
- auto {true, false}
If true then the images will cycle without clicking on them.
Otherwise you need to click an image to see the next. Default is "false"
- autostart {true, false}
True means we should begin cycling through images without waiting for a click. Default is "false"
- color {#dddddd}
The background color. Images are scaled to fit the applet's window and preserve aspect ratio.
Default is white (#ffffff).
- effect {MeltUniform, MeltGaussian, MeltFade, DripFade}
A comma-separated list of any of these four transition names. The applet cycles through the list.
Default is no effect -- just a quick image swap.
- pauseseconds {int}
Number of seconds to wait between images when in auto mode.
Default is 10.
- pictures {list of urls}
A comma-separated list of images.
Default is quite boring.
example used on this page:
<applet codebase="http://www.emirac.net/pxp" code="pxp.class" width="640" height="480">
<param name="effect" value="MeltFade, MeltGaussian, DripFade">
<param name="color" value="#000000">
<param name="auto" value="true">
<param name="autostart" value="true">
<param name="pauseseconds" value="2">
<param name="pictures" value="http://www.emirac.net/images/backdoor01.gif,http://www.emirac.net/images/fxd1.jpg,http://www.emirac.net/images/rapid.jpg,http://www.emirac.net/images/river1.jpg">
</applet>
to download the java classes: pxp.zip
to bug me about any of this: cmp@emirac.net