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

  1.  
  2.           AnfyBlobs - Copyright (C) by Fabio Ciucci 1996/98
  3.  
  4.  
  5. This applet can generate and animate a realtime "blobs" effect, a sort of
  6. "light interference" between lightballs. This applet is fully parametrized,
  7. so you can generate all kinds of blobs.
  8.  
  9. The following 4 ".class" files must be uploaded: blob.class, blobs.class,
  10. Lware.class and anfy.class.
  11.  
  12. Insert the <applet> tag in your html document as follows to add this applet
  13. to your page (Comments after the ";" symbol are code explanations and
  14. acceptable min/max values. They are not part of the applet language):
  15.  
  16. <applet code="blobs.class" width=180 height=140>  ; Name, Width, Height
  17. <param name=credits value="Applet by Fabio Ciucci (www.anfyjava.com)">
  18. <param name=regcode value="NO">         ; Registration code (if you have it)
  19. <param name=reglink value="NO">         ; Optional URL link when the applet
  20.                                           is "clicked".
  21. <param name=regnewframe value="YES">      ; Reglink opened in new frame?
  22. <param name=regframename value="_blank">  ; Name of new frame for reglink
  23. <param name=statusmsg value="Blobs applet">  ; Statusbar message
  24. <param name=res value="2">                   ; resolution (1-8)
  25. <param name=nblobs value="4">                ; number of blobs (2-8)
  26. <param name=minspeed value="12">             ; minimum speed (1-15)
  27. <param name=bval1 value="210">               ; Blob val 1
  28. <param name=bval2 value="35600">             ; Blob val 2
  29. <param name=bval3 value="35600">             ; Blob val 3
  30. <param name=numpal value="1">                ; Color palette (1-6)
  31. <param name=sinemode value="YES">            ; Sinus movements ("YES" or "NO")
  32. <param name=starshape value="NO">            ; Star shape ("YES" or "NO")
  33. <param name=negative value="NO">             ; Negative colors ("YES" or "NO")
  34. <param name=overimg value="NO">              ; Optional image over applet
  35. <param name=overimgX value="0">              ; Over image X offset
  36. <param name=overimgY value="0">              ; Over image Y offset
  37. <param name=memdelay value="1000">           ; Memory de-allocation delay
  38. <param name=priority value="3">              ; Task priority (1..10)
  39. <param name=fixnetscape value="NO">          ; Fix Netscape 3.0 bug ("YES","NO")
  40. <param name=MinSYNC value="10">              ; Min. milliseconds/frame for sync
  41. Sorry, your browser doesn't support Java.    ; Message for no java browsers.
  42. </applet>                                    ; End of applet tag
  43.  
  44.  
  45.                              ---------
  46.  
  47.  
  48. The following instructions detail how to change parameters:
  49.  
  50. Attempting to change the credits parameter will disable the applet.
  51.  
  52. To activate the reg parameters read the shareware registration notes.
  53. In the "regcode" parameter, place the registration code you
  54. purchased from the author. If the code is correct and the applet is run from
  55. the registered domain name, you can use "link" parameters to link to a URL
  56. when the applet is "clicked".
  57.  
  58. If you set "regnewframe" to "YES", you can specify a specific frame location
  59. for the reglink:
  60.  
  61. "_blank"  : To load the link in a new blank unnamed browser window.
  62. "_self"   : To load the link into the same window the applet occupies.
  63. "_parent" : To load the link into the immediate FRAMESET parent.
  64. "_top"    : To load the link into the top body of the window.
  65.  
  66. You can also set a custom frame name, such as "myframe1".
  67.  
  68. With the "overimg" parameter you can specify the name of an image that will
  69. be painted over the applet. The best options are transparent GIF images.
  70. NOTE: Animated GIF images are supported, but will be displayed as animated
  71. only on latest browsers (Netscape 4 and Explorer 4 or newer).
  72. With "overimgX" and "overimgY" you can center the image over the applet area.
  73.  
  74. The size of the applet is determined by the "width" and "height" tags.
  75.  
  76. The applet can be of any size. The "res" parameter determines the resolution:
  77. res=1  results in small pixels with slow effect. With res=8, pixels are too
  78. big but the effect is faster. Optimal choices are 1-3.
  79.  
  80. The number of blobs can go from 2 to 8.
  81.  
  82. The minimum speed can go from 1 to 15... optimal settings are low minspeed on small
  83. bwidth and bheight, and high minspeed when the size is greater than 60.
  84.  
  85. Parameters  "bval1", "bval2", "bval3", etc.,  allow you to change the
  86. intensity of blobs.
  87.  
  88. With "numpal" you can choose between 6 different color palettes.
  89.  
  90. Setting "sinemode" parameter to "YES" makes the blobs appear in a waving
  91. fashion, setting it to "NO" makes the blobs appear to bounce.
  92.  
  93. Setting the "starshape" parameter to "YES" gives the blobs a romboid
  94. shape rather than spherical shape.
  95.  
  96. Setting "negative" to "YES" the effect will display negative colors.
  97.  
  98.  
  99.