From 5b58bdcfd5d98be4ba6d9a6dfb30eca93035d10a Mon Sep 17 00:00:00 2001 From: trmazi <66042448+trmazi@users.noreply.github.com> Date: Wed, 5 Feb 2025 01:34:13 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20PhaseII-?= =?UTF-8?q?eAmusement-Network/PhaseWeb3-Vue@d2b18b26324e5ba7055d7bc03a99a5?= =?UTF-8?q?9d26c86c86=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/network.js | 111 ++++++++++++++++++++++++++++++++++++ data-sources/particles.json | 110 ----------------------------------- index.html | 2 +- 3 files changed, 112 insertions(+), 111 deletions(-) create mode 100644 assets/network.js delete mode 100644 data-sources/particles.json diff --git a/assets/network.js b/assets/network.js new file mode 100644 index 00000000..deb81826 --- /dev/null +++ b/assets/network.js @@ -0,0 +1,111 @@ +particlesJS("particles-js", { + particles: { + number: { + value: 80, + density: { + enable: true, + value_area: 800, + }, + }, + color: { + value: "#fff", + }, + shape: { + type: "circle", + stroke: { + width: 0, + color: "#5c5c5c", + }, + polygon: { + nb_sides: 5, + }, + image: { + src: "", + width: 100, + height: 100, + }, + }, + opacity: { + value: 0.5, + random: false, + anim: { + enable: false, + speed: 1, + opacity_min: 0.1, + sync: false, + }, + }, + size: { + value: 3, + random: true, + anim: { + enable: false, + speed: 20, + size_min: 0.1, + sync: false, + }, + }, + line_linked: { + enable: true, + distance: 150, + color: "#5c5c5c", + opacity: 0.4, + width: 1, + }, + move: { + enable: true, + speed: 3, + direction: "none", + random: false, + straight: false, + out_mode: "out", + bounce: false, + attract: { + enable: false, + rotateX: 600, + rotateY: 1200, + }, + }, + array: [], + }, + interactivity: { + detect_on: "canvas", + events: { + onhover: { + enable: true, + mode: "repulse", + }, + onclick: { + enable: true, + mode: "push", + }, + resize: true, + }, + modes: { + grab: { + distance: 400, + line_linked: { + opacity: 1, + }, + }, + bubble: { + distance: 400, + size: 40, + duration: 2, + opacity: 8, + speed: 3, + }, + repulse: { + distance: 200, + duration: 0.4, + }, + push: { + particles_nb: 4, + }, + remove: { + particles_nb: 2, + }, + }, + }, + retina_detect: true, +}); diff --git a/data-sources/particles.json b/data-sources/particles.json deleted file mode 100644 index 138ebdd0..00000000 --- a/data-sources/particles.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "particles": { - "number": { - "value": 14, - "density": { - "enable": true, - "value_area": 800 - } - }, - "color": { - "value": "#4d5022" - }, - "shape": { - "type": "circle", - "stroke": { - "width": 0, - "color": "#000" - }, - "polygon": { - "nb_sides": 6 - }, - "image": { - "src": "img/github.svg", - "width": 100, - "height": 100 - } - }, - "opacity": { - "value": 0.3, - "random": true, - "anim": { - "enable": false, - "speed": 1, - "opacity_min": 0.1, - "sync": false - } - }, - "size": { - "value": 142.0465754938091, - "random": true, - "anim": { - "enable": true, - "speed": 10, - "size_min": 40, - "sync": false - } - }, - "line_linked": { - "enable": false, - "distance": 200, - "color": "#ffffff", - "opacity": 1, - "width": 2 - }, - "move": { - "enable": true, - "speed": 8, - "direction": "none", - "random": false, - "straight": false, - "out_mode": "out", - "bounce": false, - "attract": { - "enable": false, - "rotateX": 600, - "rotateY": 1200 - } - } - }, - "interactivity": { - "detect_on": "canvas", - "events": { - "onhover": { - "enable": false, - "mode": "repulse" - }, - "onclick": { - "enable": false, - "mode": "remove" - }, - "resize": true - }, - "modes": { - "grab": { - "distance": 400, - "line_linked": { - "opacity": 1 - } - }, - "bubble": { - "distance": 400, - "size": 40, - "duration": 2, - "opacity": 8, - "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 diff --git a/index.html b/index.html index fc927b4a..2790c212 100644 --- a/index.html +++ b/index.html @@ -52,7 +52,7 @@
- +