Augmentation vers version 3.3.0
This commit is contained in:
@@ -12,11 +12,10 @@ particlesJS.load('particles-js', 'particles.json', function() {
|
||||
/* Otherwise just put the config content (json): */
|
||||
|
||||
particlesJS('particles-js',
|
||||
|
||||
{
|
||||
"particles": {
|
||||
"number": {
|
||||
"value": 120,
|
||||
"value": 80,
|
||||
"density": {
|
||||
"enable": true,
|
||||
"value_area": 800
|
||||
@@ -32,7 +31,7 @@ particlesJS('particles-js',
|
||||
"color": "#000000"
|
||||
},
|
||||
"polygon": {
|
||||
"nb_sides": 5
|
||||
"nb_sides": 1
|
||||
},
|
||||
"image": {
|
||||
"src": "img/github.svg",
|
||||
@@ -41,7 +40,7 @@ particlesJS('particles-js',
|
||||
}
|
||||
},
|
||||
"opacity": {
|
||||
"value": 0.5,
|
||||
"value": 0.4,
|
||||
"random": false,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
@@ -51,7 +50,7 @@ particlesJS('particles-js',
|
||||
}
|
||||
},
|
||||
"size": {
|
||||
"value": 3,
|
||||
"value": 5,
|
||||
"random": true,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
@@ -64,12 +63,12 @@ particlesJS('particles-js',
|
||||
"enable": true,
|
||||
"distance": 150,
|
||||
"color": "#ffffff",
|
||||
"opacity": 0.4,
|
||||
"opacity": 0.2,
|
||||
"width": 1
|
||||
},
|
||||
"move": {
|
||||
"enable": true,
|
||||
"speed": 6,
|
||||
"speed": 1,
|
||||
"direction": "none",
|
||||
"random": false,
|
||||
"straight": false,
|
||||
@@ -86,18 +85,18 @@ particlesJS('particles-js',
|
||||
"detect_on": "canvas",
|
||||
"events": {
|
||||
"onhover": {
|
||||
"enable": true,
|
||||
"mode": "grab"
|
||||
"enable": false,
|
||||
"mode": "repulse"
|
||||
},
|
||||
"onclick": {
|
||||
"enable": true,
|
||||
"enable": false,
|
||||
"mode": "push"
|
||||
},
|
||||
"resize": true
|
||||
},
|
||||
"modes": {
|
||||
"grab": {
|
||||
"distance": 175,
|
||||
"distance": 400,
|
||||
"line_linked": {
|
||||
"opacity": 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user