particlejs example
Example 1: particle js
/* particlesJS.load(@dom-id, @path-json, @callback (optional)); */
particlesJS.load('particles-js', 'assets/particles.json', function() {
console.log('callback - particles.js config loaded');
});
Example 2: particle js
<div id="particles-js"></div>
<script src="particles.js"></script>