my Effects Usage
Gradient (name subject to change) (August 2007)
This effect creates a table with 'rows' rows, 'cols' columns and a gradient of background color based on [colors].
REQUIRES: jw_color.js for gradient color calculations.
NOTE: If you create a table with a large number of rows and columns, it may take a many seconds to finish creating the table.
- rows: number of rows in the overlaying table
- cols: number of columns in the overlaying table
- type: diagonal, horizontal or vertical
- colors: [ ] background-color of the cells in the table
- . . . . . . . . [ top, bottom ]
- . . . . . . . . [ left, right ]
- . . . . . . . . [ top left, top right, bottom left, bottom right ]
- Possible changes/additions
- transition: linear-rgb is the default, but other algorithms could be devised
Expected issues:
- Creation of a table with more rows and/or columns than the element has pixels will probably cause a problem.
Pixelate (name subject to change) (July 2007)
This effect creates a table with 'rows' rows, 'cols' columns and background color of 'startcolor' over the target. It then randomly fills in these cells with a background color of 'endcolor'.
NOTE: If you create a table with a large number of rows and columns, it may take a few seconds to finish creating the table which will delay the starting of the effect.
- rows: number of rows in the overlaying table
- cols: number of columns in the overlaying table
- startcolor: initial background-color of the cells in the overlaying table
- endcolor: background-color of the cells in the overlaying table
PulseList (July 2007)
This effect sends an opacity pulse down or up the items of the list. The duration is the duration for a single item to change and return to its original opacity. If bounce is set to true, the direction changes at the end of each cycle. If continuous is set to true, the pulsing never stops.
- bounce : true or false
- continuous : true or false
- direction : 'up' or 'down'
- duration : duration in sec of single pulse
- min_opacity : minimum opacity of fade (effectively 'from')
- pulses : the number of total pulses (ignored if continuous: true)
Flicker (July 2007)
This effect randomly chooses a number between 0 and 1 at each update and if the number is below the 'threshold', the visibility is set to 'hidden' otherwise it is set to 'visible'. When the effect is finished, the visibility is set to 'endvisibility' or 'visibile'.
- endvisibility : 'visible' or 'hidden'
- fps : effectively the number of "checks"
- threshold : 0 to 1 (lower = more time off, higher = more time on)
CurtainOpen and CurtainClose (June 2007)
These effects have no special options, but I have been having problems getting them work cleanly.
SlideLeftIn, SlideLeftOut (June 2007)
These effects have no special options.
SlideRightIn, SlideRightOut (June 2007)
These effects have no special options.
SlideUpIn, SlideUpOut (June 2007)
These effects have no special options.
SlideDownIn, SlideDownOut (June 2007)
These effects have no special options.