home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / ANJAVA.ZIP / fluid / fluid.txt < prev    next >
Encoding:
Text File  |  1998-11-29  |  4.7 KB  |  100 lines

  1.  
  2.           Anfy Fluid - Copyright (C) by Fabio Ciucci 1997/98
  3.  
  4.  
  5. This applet can simulate fluid wavings.This applet is fully parameterized,
  6. so you can generate all kinds of fluid effects.
  7.  
  8. The following 2 ".class" files must be uploaded: flud.class and Lware.class.
  9.  
  10. Insert the <applet> tag in your html document as follows to add this applet
  11. to your page (Comments after the ";" symbol are code explanations and
  12. acceptable min/max values. They are not part of the applet language):
  13.  
  14. <applet code="fluid.class" width=200 height=200> ; Name, Width, Height
  15. <param name=credits value="Applet by Fabio Ciucci (www.anfyjava.com)">
  16. <param name=regcode value="NO">         ; Registration code (if you have it)
  17. <param name=reglink value="NO">         ; Optional URL link when applet
  18.                                           is "clicked".
  19. <param name=regnewframe value="YES">       ; Reglink opened in new frame?
  20. <param name=regframename value="_blank">   ; Name of new frame for reglink
  21. <param name=statusmsg value="Fluid applet">  ; Statusbar message
  22. <param name=res value="1">                 ; resolution (1 .. 8)
  23. <param name=autodesign value="YES">        ; Auto design ("YES" or "NO")
  24. <param name=density value="4">             ; Density of fluid (2 .. 6)
  25. <param name=fishnum value="0">             ; Number of fishes (0 .. 2)
  26. <param name=rainsize value="0">            ; Size of circular rain (0 = OFF)
  27. <param name=rainfactor value="10">         ; Circular rain factor
  28. <param name=srainsize value="0">           ; Size of square rain (0 = OFF)
  29. <param name=srainfactor value="10">        ; Square rain factor
  30. <param name=volcano value="NO">            ; Volcano's magma mode (YES, NO)
  31. <param name=overimg value="NO">            ; Optional image over applet
  32. <param name=overimgX value="0">            ; Over image X offset
  33. <param name=overimgY value="0">            ; Over image Y offset
  34. <param name=memdelay value="1000">         ; Memory deallocation delay
  35. <param name=priority value="3">            ; Task priority (1..10)
  36. <param name=MinSYNC value="10">            ; Min. milliseconds/frame for sync
  37. Sorry, your browser doesn't support Java.  ; Message for no java browsers.
  38. </applet>                                  ; End of applet tag
  39.  
  40.                              ---------
  41.  
  42.  
  43. The following instructions detail how to change parameters:
  44.  
  45. Attempting to change the credits parameter will disable the applet.
  46.  
  47. To activate the reg parameters read the shareware registration notes.
  48. In the "regcode" parameter, place the registration code you
  49. purchased from the author. If the code is correct and the applet is run from
  50. the registered domain name, you can use "link" parameters to link to a URL
  51. when the applet is "clicked".
  52.  
  53. If you set "regnewframe" to "YES", you can specify a specific frame location
  54. for the reglink:
  55.  
  56. "_blank"  : To load the link in a new blank unnamed browser window.
  57. "_self"   : To load the link into the same window the applet occupies.
  58. "_parent" : To load the link into the immediate FRAMESET parent.
  59. "_top"    : To load the link into the top body of the window.
  60.  
  61. You can also set a custom frame name, such as "myframe1".
  62.  
  63. With the "overimg" parameter you can specify the name of an image that will
  64. be painted over the applet. The best options are transparent GIF images.
  65. NOTE: Animated GIF images are supported, but will be displayed as animated
  66. only on latest browsers (Netscape 4 and Explorer 4 or newer).
  67. With "overimgX" and "overimgY" you can center the image over the applet area.
  68.  
  69. For optimum results,the height should be 200. You can change the width.
  70. (res is a sort of zoomer).
  71.  
  72. If you set the "autodesign" parameter to "YES", an automatic slideshow of the
  73. effects will be executed, and the next parameters are ignored.
  74.  
  75. If you set to "NO" the autodesign, you have to configure effects manually:
  76.  
  77. The "density" parameter (2 .. 6) controls the density of fluid. Lower values
  78. mean more fluid liquid, so waves end quickly. Higher values cause a slower
  79. decadence of the waves.
  80.  
  81. You can insert up to 2 fishes, with "fishnum" parameter.
  82.  
  83. Other effects are: rain and srain.
  84.  
  85. Set the parameter "rainsize" to more than 0 to activate the circular rain.
  86. The "rainfactor" parameter works as "timer" between one drip and another.
  87. By setting "rainfactor" to 0, a new drip will appear every frame.
  88. Higher values mean more distance between one drip and another.
  89.  
  90. The "srainsize" will determine a square rain. If it is set to zero = no
  91. rain. Values equal to or higher than 1 will generate rain.
  92. To control it,  use "srainfactor" the same way as "rainfactor".
  93.  
  94. The "volcano" parameter, if set to "YES" transforms the water into lavic
  95. magma, for inferno effects.
  96.  
  97. You can enable more than one effect at the same time.
  98.  
  99.  
  100.