Old Glory This page was created at the Geometry Center.
I find the dynamics of a piece of cloth blowing in the wind fascinating, so I figured I'd design a "wind simulator". Hah! Actually, I just used a radially symmetric dampened sinusoid function. For the test subject of my experiment I chose the American flag. This animation (16 frames) is the result.


A lot of people have been asking me how they can incorporate this waving flag animation into their own home pages. That's easy! Just add the following lines of text to any HTML file, right where you want to include the flag:
<applet codebase="http://www.geom.umn.edu/~daeron/apps/"
	code=Flag.class
	width=98 height=57>
<param name=film value="http://www.geom.umn.edu/~daeron/pix/flag/flag.gif">
<param name=frames value=16>
<param name=delay value=100>
</applet>

If you want to put the applet on your own web server, you can grab the following tar file. It contains the Flag.class file and a sample html document with the flag embedded.

Currently, the Whitehouse is using the flag in animated gif form. They've brightened it up a bit and made it accessible to millions of people. How patriotic. ;-)

Check out my other apps if your interested. Notice that I applied the same sinusoidal function to my name... heh.
Also, check out the growing Geometry Center java archive.