home *** CD-ROM | disk | FTP | other *** search
/ .net 2000 August / NET74.ISO / pc / Software / JavaApplet / AnfyMacBeta1.sea / Anfy for Macintosh / anjavapp / blobs / blobs.txt < prev    next >
Encoding:
Text File  |  1999-07-05  |  6.7 KB  |  163 lines  |  [TEXT/ttxt]

  1.  
  2.           AnfyBlobs - Copyright (C) by Fabio Ciucci 1996-99
  3.  
  4.  
  5. This applet can generate and animate a realtime "blobs" effect, a sort of
  6. "light interference" between lightballs, but it may look rather psychedelic. 
  7.  
  8. ******************************************************************
  9.  
  10. NECESSARY FILES
  11.  
  12. Apart from the overlay image, the following 4 ".class" files must be 
  13. uploaded: 
  14.  
  15. blob.class 
  16. blobs.class
  17. Lware.class
  18. anfy.class
  19.  
  20. Plus, blobs.jar for speedy loading on recent browsers.
  21.  
  22. *****************************************************************
  23.  
  24. EXAMPLE.
  25.  
  26. Insert the <applet></applet> tag in your html document as follows to add
  27.  this applet to your page (Comments after the ";" symbol are code 
  28. descriptions and acceptable min/max values. They are not part of the applet
  29.  language):
  30.  
  31. <applet archive="blobs.jar" code="blobs.class" width="180" height="140">
  32. <param name="credits" value="Applet by Fabio Ciucci (www.anfyteam.com)">
  33. <param name="regcode" value="NO">         ; Registration code (if you have it)
  34. <param name="reglink" value="NO">         ; Optional URL link when the applet
  35.                                           is "clicked".
  36. <param name="regnewframe" value="YES">      ; Reglink opened in new frame?
  37. <param name="regframename" value="_blank">  ; Name of new frame for reglink
  38. <param name="statusmsg" value="Blobs applet">  ; Statusbar message
  39. <param name="res" value="2">                   ; resolution (1-8)
  40. <param name="nblobs" value="4">                ; number of blobs (2-8)
  41. <param name="minspeed" value="12">             ; minimum speed (1-15)
  42. <param name="bval1" value="210">               ; Blob val 1
  43. <param name="bval2" value="35600">             ; Blob val 2
  44. <param name="bval3" value="35600">             ; Blob val 3
  45. <param name="numpal" value="1">                ; Color palette (1-6)
  46. <param name="sinemode" value="YES">            ; Sinus movements ("YES" or "NO")
  47. <param name="starshape" value="NO">            ; Star shape ("YES" or "NO")
  48. <param name="negative" value="NO">             ; Negative colors ("YES" or "NO")
  49. <param name="overimg" value="NO">              ; Optional image over applet
  50. <param name="overimgX" value="0">              ; Over image X offset
  51. <param name="overimgY" value="0">              ; Over image Y offset
  52. <param name="memdelay" value="1000">           ; Memory de-allocation delay
  53. <param name="priority" value="3">              ; Task priority (1..10)
  54. <param name="fixnetscape" value="NO">          ; Fix Netscape 3.0 bug ("YES","NO")
  55. <param name="MinSYNC" value="10">              ; Min. milliseconds/frame for sync
  56. Sorry, your browser doesn't support Java.    ; Message for no Java browsers.
  57. </applet>                                    ; End of applet tag
  58.  
  59. ****************************************************************
  60.  
  61. PARAMETER DESCRIPTIONS
  62.  
  63. The following instructions describe the meaning of the available 
  64. parameters for this applet:
  65.  
  66. [Specify the applet and its size]
  67.  
  68. <applet archive="blobs.jar" code="blobs.class" width=180 height=140>                             
  69. Here, you specify the applet name and its width and height in pixels.
  70.  
  71. <param name="res" value="2">                   ; resolution (1-8)
  72.  
  73. The "res" parameter determines the resolution: res=1  results in small
  74.  pixels with slow effect. With res=8, pixels are too big but the effect
  75.  is faster. Optimal choices are 1-3.
  76.  
  77. [Credit parameter]
  78.  
  79. <param name=credits value="Applet by Fabio Ciucci (www.anfyteam.com)">
  80.  
  81. Attempting to change the credit parameter will disable the applet.
  82.  
  83. [Registration parameters]
  84.  
  85. <param name="regcode" value="NO">         ; Registration code (if you have it)
  86.  
  87. To activate the reg parameters, read the shareware registration notes.
  88. In the "regcode" parameter, place the registration code you purchased 
  89. from us. If the code is correct and the applet is run from the registered
  90.  domain name, "link" parameters will be enabled and the applet will be
  91. linked to an associated URL when it mouse-clicked.
  92.  
  93. <param name="reglink" value="NO">         ; Optional URL link
  94. <param name="regnewframe" value="YES">      ; Reglink opened in new frame?
  95.  
  96. "_blank"  : To load the link in a new blank unnamed browser window.
  97. "_self"   : To load the link into the same window the applet occupies.
  98. "_parent" : To load the link into the immediate FRAMESET parent.
  99. "_top"    : To load the link into the top body of the window.
  100.  
  101. <param name=regframename value="_blank">  ; Name of new frame for reglink
  102.  
  103. You can also set a custom frame name, such as "myframe1".
  104.  
  105. <param name=statusmsg value="Blobs applet">  ; Statusbar message
  106.  
  107. The text set here will be shown at the bottom of a browser window, statusbar.
  108.  
  109. [Blobs settings]
  110.  
  111. <param name="nblobs" value="4">                ; number of blobs (2-8)
  112.  
  113. The number of blobs can go from 2 to 8.
  114.  
  115. <param name="minspeed" value="12">             ; minimum speed (1-15)
  116.  
  117. The minimum rotation speed can go from 1 to 15... optimal settings are low 
  118. minspeed on small bwidth and bheight, and high minspeed when the size is 
  119. greater than 60.
  120.  
  121. <param name="bval1" value="210">               ; Blob val 1
  122. <param name="bval2" value="35600">             ; Blob val 2
  123. <param name="bval3" value="35600">             ; Blob val 3
  124.  
  125. The applet uses three types of generators and the resultant blobs are
  126. the complex product of them. The generators are named "Intensity" parameters,
  127.  since they directly affect light intensity. You can freely change values for
  128.  them, but I recommend you to leave them as default setting, which produces a
  129.  good blob effect.
  130.  
  131. <param name="numpal" value="1">                ; Color palette (1-6)
  132.  
  133. With "numpal" you can choose between 6 different color palettes.
  134.  
  135. <param name="sinemode" value="YES">            ; Sinus movements ("YES" or "NO")
  136.  
  137. Setting "sinemode" parameter to "YES" makes the blobs appear in a waving
  138. fashion, setting it to "NO" makes the blobs appear to bounce.
  139.  
  140. <param name="starshape" value="NO">            ; Star shape ("YES" or "NO")
  141.  
  142. Setting the "starshape" parameter to "YES" gives the blobs a romboid
  143. shape rather than spherical shape.
  144.  
  145. <param name="negative" value="NO">             ; Negative colors ("YES" or "NO")
  146.  
  147. Setting "negative" to "YES" the effect will display negative colours.
  148.  
  149. [Overlay image]
  150.  
  151. <param name="overimg" value="NO">           ; Optional image over applet
  152. <param name="overimgX" value="0">           ; Over image X offset
  153. <param name="overimgY" value="0">           ; Over image Y offset
  154.  
  155.  
  156. With the "overimg" parameter you can specify the name of an image that will
  157. be shown over the applet. The best options are transparent GIF images.
  158.  
  159. NOTE: Animated GIF images are supported, but will be displayed as animated
  160. only on latest browsers (Netscape 4 and Explorer 4 or newer).
  161. With "overimgX" and "overimgY" you can position the image over the applet area.
  162.  
  163.