Update README.md
This commit is contained in:
parent
d100f81f0c
commit
a45066f9de
|
@ -20,3 +20,5 @@ Takes optional `options` configuration object:
|
||||||
- `canvasId`: optional id of an existing canvas to apply the effect to
|
- `canvasId`: optional id of an existing canvas to apply the effect to
|
||||||
|
|
||||||
If no existing `canvasId` is provided then the effect will be applied to the entire browser screen.
|
If no existing `canvasId` is provided then the effect will be applied to the entire browser screen.
|
||||||
|
|
||||||
|
You can animate alpha changes with `fg.setAlpha(newValue, step)` where `step` is optional and will determine how quickly the fade in/out will occur.
|
||||||
|
|
Loading…
Reference in New Issue