Anfy Lake 1.0 - Copyright (C) by Fabio Ciucci 1998 This applet can generate a reflection effect under any GIF or JPG image. It is very similiar to Lake and DorianGray applets made by other authors, but this one has a different approach since it it calculated in realtime, so it require less memory (about 10 times less!). I made a similiar effect on 1990 on Amiga computers using assembler language, so I think I haven't copied this idea to others that made it in java lately, in 1996-97. Remember that are needed both AnLake.class , Lware.class and anfy.class. You must upload these 3 .class files and insert the tag on your html document to add this applet to your page. This applet is fully parametrized, so you can generate all kinds of lakes you want. Here an example of what you have to write in the html (the things anfter the ; are comments with min-max values acceptet): ; Name, Width, Height ; Register code (if you have it) ; URL where go optionally when clicked ; Reglink opened in new frame? ; Statusbar message ; resolution (1 .. 8) ; Image to load ; File for scrolltext or "NO" ; Speed of waving (1..200) ; Perspective (1..100) ; Far waving intensity (1..10000) ; Wind intensity (1..20) ; Wind variation speed (0..200) ; Wind variation min (0..20) ; Wind variation max (0..20) ; File for scrolltext or "NO" ; Txtscroll y offset ; Txtscroll speed ; Txtscroll font name ; Txtscroll bold ("YES" or "NO") ; Txtscroll font size ; Txtscroll shadow ("YES" or "NO") ; Txtscroll color (red component) ; Txtscroll color (green component) ; Txtscroll color (blue component) ; Txtscroll shadow col. (red c.) ; Txtscroll shadow col. (green c.) ; Txtscroll shadow col. (blue c.) ; Txtscroll jump aplitude ; Txtscroll jump speed ; Txtscroll sineshape amplitude ; Txtscroll sineshape movement ; Txtscroll sineangle / pixel ; Memory deallocation delay ; Task priority (1..10) ; Min. milliseconds/frame for sync Sorry, your browser doesn't suppor Java. ; Msg in no java browsers --------- Here detailed instructions about how to change parameters: The credits parameter can't be changed otherwise the applet will not work. For the reg parameters read the shareware registration notes at end of text. The GIF/JPG image can be of any size. The aplet size must me same of image in width, double in height: for example, if the image is 160x100, applet size must be 160x200. If res=1, remember to place the exact size of image in "width" and "height" tags, with height multiplied by 2. If res=2, place double values of width and quadruple of height, if res=3 triple values of width, sit times the height, etc. In fact, res is a sort of zoomer. With "wavspeed" parameter (values from 1 to 200) you decide the speed of waving. With "perspective" parameter (values from 1 to 100) you decide how the waves have to be stretched for perspective simulation. The "farwaving" parameter (values from 1 to 10000) you decide how string the far waves (top of lake) must be. With "wind" parameter (values from 1 to 20) you decide how string the waving will be. Optionally, you can make the wind dynamically change, setting the parameter "windvarval" as more than 0 (higher values mean higher change). Then, with the parameters "windvarmin" and "windvarmax" you can control the min and max values of wind reached.