Digital Camo Background Generator With jQuery And SVG - acufy.js

File Size: 15.2 KB
Views Total: 2045
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Digital Camo Background Generator With jQuery And SVG - acufy.js

acufy.js is a very small jQuery plugin that makes uses of SVG to draw a random digital camo background for the whole page or a specific container.

How to use it:

1. Include the latest version of jQuery library and the jQuery acufy.js script on the webpage.

<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="acufy.js"></script>

2. Generate a digital camo background for your webpage using default color scheme.

$('body').acufy();

3. Custom the color scheme by adding an array of colors.

$('body').acufy({
  colors:['#1D1A13', '#806C3A', '#4D5B38']
});

4. Change the width and height of each digi box.

$('body').acufy({
  del:20,
});

5. You can also apply the digital camo background to a specified container.

$('#container').acufy({
  // options here
});

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