Bullets Parameters

Parameter

Default

Description

style

bullet

Either bullet or separator. The bullet style presents a circular marker, the separator style presents a rectangular marker.

effect

cycle

Effect to apply to the message. See Effect styles for a list of values defined for this parameter.

pause

0

Time (in seconds) to pause the effect when it reaches the color being transitioned to. In the case of a fade, the fade will grow to encompass the whole image before pausing. In the case of a cycle, the cycling will immediately pause. This parameter can take fractional values expressed as decimals--e.g., 0.25, 0.5, etc.

fadeAmount

15

Indicates how fast to fade from one color to the next. Lower values make more intermediate colors, larger values make fewer.

fps

10

Indicates the rate of color change; the number of updates/second. The upper bound is limited by platform speed.

displayColors

1

The number of colors to be shown on screen at any given time in the marker.

smoothness

5

Indicates how many updates it will take for a given color change to progress across the window. Higher values mean it will take more updates, but may produce a smoother effect. Unless you specify a larger value, this value will automatically be set the same as the displayColors value.

colors

rainbow

List of color values to cycle through, separated by commas. Each color value provided can be one of the predefined color names black, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red, white, and yellow. Users familiar with hexadecimal numbers can also specify colors as hex values representing a Red-Green-Blue mix. Hex values take the form RRGGBB, with 000000 for black, FFFFFF for white, and FF0000 for red. The default value rainbow specifies a spectrum of red, orange, yellow, green, blue, and violet.

bgColor

grey

For bullets, the background color around the circular marker. Specify this value as described in the colors parameter.

Effect styles

The following values can be used for the effect parameter of the Bullets Applet. There are two categories of effect styles: cycles and fades. Cycles present the sequence defined by the colors parameter in order. Fades present the sequence of colors, but create color blends in between. The fadeAmount parameter indicates how much to add to the current color to generate the next color.

Effect

Description

cycle

Cycles through a sequence of solid colors.

cycleIn

Cycles a sequence of solid colors from the border to the center of the marker.

cycleOut

Cycles a sequence of solid colors from the center to the border of the marker.

cycleLeft

Cycles a sequence of solid colors from right to left in the marker.

cycleRight

Cycles a sequence of solid colors from left to right in the marker.

cycleUp

Cycles a sequence of solid colors from bottom to top in the marker.

cycleDown

Cycles a sequence of solid colors from top to bottom in the marker.

fade

Fades a sequence of colors.

fadeIn

Fades a sequence of colors in from the border to the center of the marker.

fadeOut

Fades a sequence of colors out from the center to the border of the marker.

fadeLeft

Fades a sequence of colors from right to left.

fadeRight

Fades a sequence of colors from left to right.

fadeUp

Fades a sequence of colors from bottom to top.

fadeDown

Fades a sequence of colors from top to bottom.