Skip to content

A jquery plugin to create weather effects in the browser

Notifications You must be signed in to change notification settings

leiboldm/Tornado.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read Me

Tornado.js requires jQuery.

To use tornado.js, download tornado_all.js from the release folder and use a script tag to add it to your page:

<script type="text/javascript" src="tornado_all.js"></script>

To create a basic tornado that has two people and spins the elements on the page, call the function spawnTornado, if you wish to stop the tornado, call the function stop on the return value of spawnTornado like so:

var twister = spawnTornado(); twister.stop();

To add a lightning storm, follow similar steps:

var lightning = lightningStorm(); lightning.stop();

More detailed documentation to come once final functionality is determined.

About

A jquery plugin to create weather effects in the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published