Skip to content

mikeyhogarth/bubblr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

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

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
GPL-LICENSE.txt
MIT
MIT-LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published