mikeyhogarth/bubblr
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
JQuery plugin for creating particle effects (specifically, animated bubbles) on a canvas element, for use by humans. Demo: http://bubblr-demo.heroku.com/ Usage ===== Apply the following to any canvas element to start the bubbles... $("#myCanvas").bubblr(); Add options in the usual way... $("#myCanvas").bubblr({ numberOfBubbles: 10, bubbleOpacity: .5 }); Options and Defaults ==================== * numberOfBubbles (default 10) * backgroundColor (default "transparent") * bubbleColor (default "White") * bubbleOpacity (default .7) * bubbleMinSize (default 1) * bubbleMaxSize (default 2) * bubbleMaxSpeed (default 2) * bubbleMinSpeed (default 1) * animationSpeed (default 10) Future development ================== * Bubble direction / starting position