Realistic Fireworks Animations Using jQuery And Canvas fireworks js - Download Realistic Fireworks Animations Using jQuery And Canvas - fireworks.js

Download Realistic Fireworks Animations Using jQuery And Canvas – fireworks.js

Posted on

This time I will share jQuery Plugin and tutorial about Realistic Fireworks Animations Using jQuery And Canvas – fireworks.js, hope it will help you in programming stack.

Realistic Fireworks Animations Using jQuery And Canvas fireworks js - Download Realistic Fireworks Animations Using jQuery And Canvas - fireworks.js
File Size: 131 KB
Views Total: 22746
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

A simple-to-use and fully configurable jQuery plugin used to create realistic fireworks animations with explosion sound effects for celebrations.

How to use it:

1. Download the plugin and then put the jquery.fireworks.js script after the latest jQuery library.

1 <script src="//code.jquery.com/jquery-3.1.1.min.js"></script>
2 <script src="jquery.fireworks.js"></script>

2. Create a container elemeng where you want the fireworks animations should be placed.

1 <div class="demo">
2 </div>

3. Initialize the plugin by calling the fireworks function as this:

1 $('.demo').fireworks({
2   sound: true, // sound effect
3   opacity: 0.9,
4   width: '100%',
5   height: '100%'
6 });

This awesome jQuery plugin is developed by mgrigajtis. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net