diff options
author | Marvin Borner | 2018-09-04 14:49:49 +0200 |
---|---|---|
committer | Marvin Borner | 2018-09-04 14:49:49 +0200 |
commit | 77ea4c44859118ef7da095d6b3c828c03852cdda (patch) | |
tree | 81eaf5a6f35fccb1373afefff899c3714036fe8c /script.js | |
parent | c96397f9c16c83e3ab73d14a96921d663df94194 (diff) |
Added star background :lipstick: :sparkles:
Diffstat (limited to 'script.js')
-rw-r--r-- | script.js | 105 |
1 files changed, 105 insertions, 0 deletions
@@ -0,0 +1,105 @@ +particlesJS("starBackground", { + "particles": { + "number": { + "value": 355, + "density": { + "enable": true, + "value_area": 789.1476416322727 + } + }, + "color": { + "value": "#ffffff" + }, + "shape": { + "type": "circle", + "stroke": { + "width": 0, + "color": "#000000" + }, + "polygon": { + "nb_sides": 5 + } + }, + "opacity": { + "value": 0.48927153781200905, + "random": false, + "anim": { + "enable": true, + "speed": 0.2, + "opacity_min": 0, + "sync": false + } + }, + "size": { + "value": 2, + "random": true, + "anim": { + "enable": true, + "speed": 2, + "size_min": 0, + "sync": false + } + }, + "line_linked": { + "enable": false, + "distance": 150, + "color": "#ffffff", + "opacity": 0.4, + "width": 1 + }, + "move": { + "enable": true, + "speed": 0.2, + "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": "bubble" + }, + "onclick": { + "enable": true, + "mode": "push" + }, + "resize": true + }, + "modes": { + "grab": { + "distance": 400, + "line_linked": { + "opacity": 1 + } + }, + "bubble": { + "distance": 83.91608391608392, + "size": 1, + "duration": 3, + "opacity": 1, + "speed": 3 + }, + "repulse": { + "distance": 200, + "duration": 0.4 + }, + "push": { + "particles_nb": 4 + }, + "remove": { + "particles_nb": 2 + } + } + }, + "retina_detect": true +});
\ No newline at end of file |