Plasma.zip 


HTML Example

 
<--------------    General settings    --------------------------------->
<applet code="Plasma.class" width=400 height=100>
<param name=Author value="Author: Vladimir N. Korotkov; www.geocities.com/SiliconValley/Byte/3392">
<param name=sleep value=0>
<param name=longSleep value=0>
<param name=amplitude value=.2>
<param name=del value=5>

<!--------------    Default parameters for all text strings    --------------------------------->
<param name=modeD value=-1>
<param name=waveD value=1>
<param name=fontNameD value=TimesRoman>
<param name=fontStyleD value=1>
<param name=fontSizeD value=45>
<param name=groundD value=8>
<param name=urlD value="http://geocities.datacellar.net/SiliconValley/Byte/3392/">

<!--------------    Optionalal settings for text strings    --------------------------------->
<param name=text0 value="Plasma">
<param name=fontSize0 value=110>
<param name=ground0 value=14>

<param name=text1 value="Try|different settings !">
<param name=fontSize1 value=38>
<param name=ground1 value=11>

</applet>  


Applet parameters

 

General settings

 
width, height width and height of the banner
Author compulsory parameter
sleep time of delay in msec between frames 
longSleep time of delay between text strings 
amplitude amplitude of the disturbance of the background 
del step in color change, increase in this parameter accelerates string change  

Default parameters for all text strings

Default value is used for any string if there is no corresponding optional parameter for this string. 
modeD -1 invert the edges, 0 darken the edges, any value is possible
waveD circular [0] or longtitude [1] wave mode
fontNameD font name* 
fontStyleD font style 
fontSizeD font size
groundD for vertical correction of the string location
urlD URL

Optional settings for text strings

The following parameters influence only on the current string. Only parameters text0, text1, ..., textN** are required.  You can change value of any default parameter for any text string in obvious manner, using parameterN instead of parameterD. 
In addition you can: 
devide text into 2 lines with | , see text1 in HTML example; 
textN text of N'th string

Easy Setup

The easiest way to set up the applet on your site is to start with general and default parameters from HTML example and to change only text0, text1, ..., textN. Then customize fontsize0, fontsize1, ..., fontsizeN and so on ...

* The standard Java font names are Dialog, DialogInput, Courier, Helvetica, TimesRoman, and ZapfDingbats.
** 10 different strings are possible in freeware version, so text9 is last.
Back
1