<HTML>
<HEAD>
<TITLE> Examples of the AniS applet </TITLE>
</HEAD>
<BODY>
<P>
<center><h1> The Ani(mation)S applet </h1>
Page 6 - Using portals (viewports, windows, looking glass ports, etc)</center>
<p>
This is an admittedly artificial example of portals.  We've put
the visible images in the background (the "base" images), and made
portals out of the IR, the temperature plot, and the base map.  The
PARAMeters needed are:
<xmp>
<PARAM name="filenames" value="TVIS1.GIF, TVIS2.GIF, TVIS3.GIF">
</xmp>
which defines the background files for the 3 frames in our animation,
<br>
<xmp>
<PARAM name="portal_filenames" value="TSFC1.GIF& TSFC2.GIF&
TSFC3.GIF , TIR1.GIF & TIR2.GIF & TIR3.GIF, TMAP.GIF">
</xmp>
which defines 3 portal.  Notice that the frames for each portal
are separated by &.  Since there is only one map file, it's name
should appear last in the list.
<br>
<xmp>
<PARAM name="portal_locations" value="20&20&100&100, 150&150&150&200 , 
20&160&50&50">
</xmp>
which defines the position (x & y & width & height) of each portal.
<p>
Here's the applet; to roam around in the portals, "drag" the mouse
around on the background image (hold left button while moving):
<br>

<APPLET code="AniS.class" width=550 height=480>

<param name="controls" value="startstop,zoom">
<param name="filenames" value="TVIS1.GIF, TVIS2.GIF, TVIS3.GIF">
<param name="portal_filenames" value="TSFC1.GIF& TSFC2.GIF&
TSFC3.GIF , TIR1.GIF & TIR2.GIF & TIR3.GIF, TMAP.GIF">
<param name="portal_locations" value="20&20&100&100, 150&150&150&200 , 
20&160&50&50">
<param name=rate value=50>

</APPLET>
<hr>
<p>
<a href="anist7.html"> Go to the next page to see about portals and
overlays together. </a>
<p>
If you would like more information, or have questions or
suggestions, please contact <mailto:tomw@ssec.wisc.edu>Tom Whittaker

</BODY>
</HTML>
