Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
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

About

Javascript bubble effect

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages