Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div id="particles-js"></div>
|
2 |
+
|
3 |
+
<script src="particles.js"></script>
|
4 |
+
|
5 |
+
/* particlesJS.load(@dom-id, @path-json, @callback (optional)); */
|
6 |
+
particlesJS.load('particles-js', 'assets/particles.json', function() {
|
7 |
+
console.log('callback - particles.js config loaded');
|
8 |
+
});
|
9 |
+
|
10 |
+
{
|
11 |
+
"particles": {
|
12 |
+
"number": {
|
13 |
+
"value": 80,
|
14 |
+
"density": {
|
15 |
+
"enable": true,
|
16 |
+
"value_area": 800
|
17 |
+
}
|
18 |
+
},
|
19 |
+
"color": {
|
20 |
+
"value": "#ffffff"
|
21 |
+
},
|
22 |
+
"shape": {
|
23 |
+
"type": "circle",
|
24 |
+
"stroke": {
|
25 |
+
"width": 0,
|
26 |
+
"color": "#000000"
|
27 |
+
},
|
28 |
+
"polygon": {
|
29 |
+
"nb_sides": 5
|
30 |
+
},
|
31 |
+
"image": {
|
32 |
+
"src": "img/github.svg",
|
33 |
+
"width": 100,
|
34 |
+
"height": 100
|
35 |
+
}
|
36 |
+
},
|
37 |
+
"opacity": {
|
38 |
+
"value": 0.5,
|
39 |
+
"random": false,
|
40 |
+
"anim": {
|
41 |
+
"enable": false,
|
42 |
+
"speed": 1,
|
43 |
+
"opacity_min": 0.1,
|
44 |
+
"sync": false
|
45 |
+
}
|
46 |
+
},
|
47 |
+
"size": {
|
48 |
+
"value": 10,
|
49 |
+
"random": true,
|
50 |
+
"anim": {
|
51 |
+
"enable": false,
|
52 |
+
"speed": 80,
|
53 |
+
"size_min": 0.1,
|
54 |
+
"sync": false
|
55 |
+
}
|
56 |
+
},
|
57 |
+
"line_linked": {
|
58 |
+
"enable": true,
|
59 |
+
"distance": 300,
|
60 |
+
"color": "#ffffff",
|
61 |
+
"opacity": 0.4,
|
62 |
+
"width": 2
|
63 |
+
},
|
64 |
+
"move": {
|
65 |
+
"enable": true,
|
66 |
+
"speed": 12,
|
67 |
+
"direction": "none",
|
68 |
+
"random": false,
|
69 |
+
"straight": false,
|
70 |
+
"out_mode": "out",
|
71 |
+
"bounce": false,
|
72 |
+
"attract": {
|
73 |
+
"enable": false,
|
74 |
+
"rotateX": 600,
|
75 |
+
"rotateY": 1200
|
76 |
+
}
|
77 |
+
}
|
78 |
+
},
|
79 |
+
"interactivity": {
|
80 |
+
"detect_on": "canvas",
|
81 |
+
"events": {
|
82 |
+
"onhover": {
|
83 |
+
"enable": false,
|
84 |
+
"mode": "repulse"
|
85 |
+
},
|
86 |
+
"onclick": {
|
87 |
+
"enable": true,
|
88 |
+
"mode": "push"
|
89 |
+
},
|
90 |
+
"resize": true
|
91 |
+
},
|
92 |
+
"modes": {
|
93 |
+
"grab": {
|
94 |
+
"distance": 800,
|
95 |
+
"line_linked": {
|
96 |
+
"opacity": 1
|
97 |
+
}
|
98 |
+
},
|
99 |
+
"bubble": {
|
100 |
+
"distance": 800,
|
101 |
+
"size": 80,
|
102 |
+
"duration": 2,
|
103 |
+
"opacity": 0.8,
|
104 |
+
"speed": 3
|
105 |
+
},
|
106 |
+
"repulse": {
|
107 |
+
"distance": 400,
|
108 |
+
"duration": 0.4
|
109 |
+
},
|
110 |
+
"push": {
|
111 |
+
"particles_nb": 4
|
112 |
+
},
|
113 |
+
"remove": {
|
114 |
+
"particles_nb": 2
|
115 |
+
}
|
116 |
+
}
|
117 |
+
},
|
118 |
+
"retina_detect": true
|
119 |
+
}
|