1particlesJS("particles-stars", { 2 "particles": { 3 "number": { 4 "value": 160, 5 "density": { 6 "enable": true, 7 "value_area": 800 8 } 9 }, 10 "color": { 11 "value": "#777777" 12 }, 13 "shape": { 14 "type": "circle", 15 "stroke": { 16 "width": 0, 17 "color": "#000000" 18 }, 19 "polygon": { 20 "nb_sides": 5 21 }, 22 }, 23 "opacity": { 24 "value": 1, 25 "random": true, 26 "anim": { 27 "enable": true, 28 "speed": 1, 29 "opacity_min": 0, 30 "sync": false 31 } 32 }, 33 "size": { 34 "value": 3, 35 "random": true, 36 "anim": { 37 "enable": false, 38 "speed": 4, 39 "size_min": 0.3, 40 "sync": false 41 } 42 }, 43 "line_linked": { 44 "enable": false, 45 "distance": 150, 46 "color": "#ffffff", 47 "opacity": 0.4, 48 "width": 1 49 }, 50 "move": { 51 "enable": true, 52 "speed": 1, 53 "direction": "none", 54 "random": true, 55 "straight": false, 56 "out_mode": "out", 57 "bounce": false, 58 "attract": { 59 "enable": false, 60 "rotateX": 600, 61 "rotateY": 600 62 } 63 } 64 }, 65 "interactivity": { 66 "detect_on": "canvas", 67 "events": { 68 "onhover": { 69 "enable": true, 70 "mode": "bubble" 71 }, 72 "onclick": { 73 "enable": true, 74 "mode": "repulse" 75 }, 76 "resize": true 77 }, 78 "modes": { 79 "grab": { 80 "distance": 400, 81 "line_linked": { 82 "opacity": 1 83 } 84 }, 85 "bubble": { 86 "distance": 250, 87 "size": 0, 88 "duration": 2, 89 "opacity": 0, 90 "speed": 3 91 }, 92 "repulse": { 93 "distance": 400, 94 "duration": 0.4 95 }, 96 "push": { 97 "particles_nb": 4 98 }, 99 "remove": { 100 "particles_nb": 2 101 } 102 } 103 }, 104 "retina_detect": true 105}); 106var count_particles, stats, update; 107stats = new Stats; 108stats.setMode(0); 109stats.domElement.style.position = 'absolute'; 110stats.domElement.style.left = '0px'; 111stats.domElement.style.top = '0px'; 112document.body.appendChild(stats.domElement); 113count_particles = document.querySelector('.js-count-particles'); 114update = function () { 115 stats.begin(); 116 stats.end(); 117 if (window.pJSDom[0].pJS.particles && window.pJSDom[0].pJS.particles.array) { 118 count_particles.innerText = window.pJSDom[0].pJS.particles.array.length; 119 } 120 requestAnimationFrame(update); 121}; 122requestAnimationFrame(update);;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.