/* -----------------------------------------------
/* How to use? : Check the GitHub README
/* ----------------------------------------------- */

/* To load a config file (particles.json) you need to host this demo (MAMP/WAMP/local)... */
/*
particlesJS.load('particles-js', 'particles.json', function() {
  console.log('particles.js loaded - callback');
});
*/

/* Otherwise just put the config content (json): */
!function(e){e("#particles-js").length>0&&particlesJS("particles-js",{particles:{number:{value:100,density:{enable:!0,value_area:1500}},color:{value:"#0582b7"},shape:{type:"circle",stroke:{width:0,color:"#0582b7"},polygon:{nb_sides:5},image:{src:"img/github.svg",width:100,height:100}},opacity:{value:1,random:!0,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:10,random:!0,anim:{enable:!0,speed:5,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:200,color:"#0582b7",opacity:1,width:2},move:{enable:!0,speed:6,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!0,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!1,mode:"repulse"},resize:!0},modes:{grab:{distance:400,line_linked:{opacity:1}},bubble:{distance:400,size:40,duration:2,opacity:8,speed:3},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0}),e("#particles-star").length>0&&particlesJS("particles-star",{particles:{number:{value:100,density:{enable:!1,value_area:800}},color:{value:"#ffffff"},shape:{type:"star",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5},image:{src:"http://wiki.lexisnexis.com/academic/images/f/fb/Itunes_podcast_icon_300.jpg",width:100,height:100}},opacity:{value:.5,random:!1,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:8,random:!0,anim:{enable:!1,speed:5.067567567567564,size_min:14.358108108108098,sync:!1}},line_linked:{enable:!1,distance:16.66902811231592,color:"#ffffff",opacity:.1416867389546853,width:1.5002125301084326},move:{enable:!0,speed:1.666902811231592,direction:"none",random:!0,straight:!1,out_mode:"bounce",bounce:!1,attract:{enable:!1,rotateX:7834.443212788482,rotateY:7834.443212788482}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!1,mode:"grab"},onclick:{enable:!0,mode:"repulse"},resize:!0},modes:{grab:{distance:200,line_linked:{opacity:1}},bubble:{distance:400,size:40,duration:2,opacity:8,speed:3},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0}),e("#particles-snow").length>0&&particlesJS("particles-snow",{particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#ffffff"},shape:{type:"image",stroke:{width:8,color:"#fff"},polygon:{nb_sides:10},image:{src:"images/snow.png",width:100,height:100}},opacity:{value:.7,random:!1,anim:{enable:!1,speed:2,opacity_min:.1,sync:!1}},size:{value:10,random:!0,anim:{enable:!1,speed:10,size_min:.1,sync:!1}},line_linked:{enable:!1,distance:50,color:"#ffffff",opacity:.6,width:1},move:{enable:!0,speed:5,direction:"bottom",random:!0,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!0,rotateX:300,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"bubble"},onclick:{enable:!0,mode:"repulse"},resize:!0},modes:{grab:{distance:150,line_linked:{opacity:1}},bubble:{distance:200,size:10,duration:2,opacity:8,speed:3},repulse:{distance:200,duration:.2},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0})}(jQuery);