PageSourceSearch

https://metafrost.ai/js/particles.js

js metafrost.ai collected 2026-10-05 12:35:06 UTC 2,651 bytes, 133 lines download raw bytes

1/* ---- particles.js config ---- */
2
3particlesJS("particles-js", {
4  "particles": {
5    "number": {
6      "value": 380,
7      "density": {
8        "enable": true,
9        "value_area": 800
10      }
11    },
12    "color": {
13      "value": "#cddee9"
14    },
15    "shape": {
16      "type": "circle",
17      "stroke": {
18        "width": 0,
19        "color": "#000000"
20      },
21      "polygon": {
22        "nb_sides": 5
23      },
24      "image": {
25        "src": "img/github.svg",
26        "width": 100,
27        "height": 100
28      }
29    },
30    "opacity": {
31      "value": 0.5,
32      "random": false,
33      "anim": {
34        "enable": false,
35        "speed": 1,
36        "opacity_min": 0.1,
37        "sync": false
38      }
39    },
40    "size": {
41      "value": 3,
42      "random": true,
43      "anim": {
44        "enable": false,
45        "speed": 40,
46        "size_min": 0.1,
47        "sync": false
48      }
49    },
50    "line_linked": {
51      "enable": true,
52      "distance": 150,
53      "color": "#cddee9",
54      "opacity": 0.4,
55      "width": 1
56    },
57    "move": {
58      "enable": true,
59      "speed": 6,
60      "direction": "none",
61      "random": false,
62      "straight": false,
63      "out_mode": "out",
64      "bounce": false,
65      "attract": {
66        "enable": false,
67        "rotateX": 600,
68        "rotateY": 1200
69      }
70    }
71  },
72  "interactivity": {
73    "detect_on": "canvas",
74    "events": {
75      "onhover": {
76        "enable": true,
77        "mode": "grab"
78      },
79      "onclick": {
80        "enable": true,
81        "mode": "push"
82      },
83      "resize": true
84    },
85    "modes": {
86      "grab": {
87        "distance": 140,
88        "line_linked": {
89          "opacity": 1
90        }
91      },
92      "bubble": {
93        "distance": 400,
94        "size": 40,
95        "duration": 2,
96        "opacity": 8,
97        "speed": 3
98      },
99      "repulse": {
100        "distance": 200,
101        "duration": 0.4
102      },
103      "push": {
104        "particles_nb": 4
105      },
106      "remove": {
107        "particles_nb": 2
108      }
109    }
110  },
111  "retina_detect": true
112});
113
114
115/* ---- stats.js config ---- */
116
117var count_particles, stats, update;
118stats = new Stats;
119stats.setMode(0);
120stats.domElement.style.position = 'absolute';
121stats.domElement.style.left = '0px';
122stats.domElement.style.top = '0px';
123document.body.appendChild(stats.domElement);
124count_particles = document.querySelector('.js-count-particles');
125update = function() {
126  stats.begin();
127  stats.end();
128  if (window.pJSDom[0].pJS.particles && window.pJSDom[0].pJS.particles.array) {
129    count_particles.innerText = window.pJSDom[0].pJS.particles.array.length;
130  }
131  requestAnimationFrame(update);
132};
133requestAnimationFrame(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.