Skip to content

Instantly share code, notes, and snippets.

@dima-kov
Last active March 8, 2018 20:38
Show Gist options
  • Save dima-kov/7838d5bb2fb04dff5607d7fb04dceaf4 to your computer and use it in GitHub Desktop.
Save dima-kov/7838d5bb2fb04dff5607d7fb04dceaf4 to your computer and use it in GitHub Desktop.
{
"particles": {
"number": {
"value": 150,
"density": {
"enable": false,
"value_area": 1603.4120608655228
}
},
"color": {
"value": "#1a1a1a"
},
"shape": {
"type": "circle",
"stroke": {
"width": 2,
"color": "#ffffff"
},
"polygon": {
"nb_sides": 5
},
"image": {
"src": "",
"width": 100,
"height": 100
}
},
"opacity": {
"value": 1,
"random": false,
"anim": {
"enable": false,
"speed": 1,
"opacity_min": 0.1,
"sync": false
}
},
"size": {
"value": 2,
"random": true,
"anim": {
"enable": true,
"speed": 9.744926547616142,
"size_min": 4.060386061506725,
"sync": true
}
},
"line_linked": {
"enable": true,
"distance": 150,
"color": "#ffffff",
"opacity": 0.55,
"width": 0.95
},
"move": {
"enable": true,
"speed": 1.5,
"direction": "none",
"random": true,
"straight": false,
"out_mode": "out",
"bounce": false,
"attract": {
"enable": false,
"rotateX": 600,
"rotateY": 1200
}
}
},
"interactivity": {
"detect_on": "canvas",
"events": {
"onhover": {
"enable": true,
"mode": "grab"
},
"onclick": {
"enable": true,
"mode": "push"
},
"resize": true
},
"modes": {
"grab": {
"distance": 255.80432187492372,
"line_linked": {
"opacity": 1
}
},
"bubble": {
"distance": 400,
"size": 40,
"duration": 2,
"opacity": 8,
"speed": 3
},
"repulse": {
"distance": 56.84540486109416,
"duration": 0.4
},
"push": {
"particles_nb": 4
},
"remove": {
"particles_nb": 2
}
}
},
"retina_detect": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment