Skip to content

πŸ¦‡πŸŽƒ Include bats in your web GUI with a small JS file and a single line of code.

License

Notifications You must be signed in to change notification settings

twomile/js-bats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

js-bats

πŸ¦‡πŸŽƒ Add some flying bats on your website with a small JS file and a single line of code.

Based on the work of Eric Grange at DelphiTools.

Usage

First, include the script in your HTML header or footer. You can use the JS file in this repo. e.g.,

<script src="./bats.js"></script>

Or, you can link to our hosted version.

<script src="https://static.twomile.com/bats.js"></script>

Then, call makeBats() somewhere in your JS and give it the number of bats you want to appear. e.g.,

new BatManager().makeBats(15);

See the index.html file in this repo for an example.

See A Video

See a video on PeerTube

About

πŸ¦‡πŸŽƒ Include bats in your web GUI with a small JS file and a single line of code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published