<!-- tsParticles container -->
<div id="tsparticles"></div>
<!-- https://github.com/matteobruni/tsparticles -->
<div class="github">
<a class="btn btn-link" href="https://github.com/matteobruni/tsparticles" title="Find more info on GitHub">
<img class="img-fluid" id="gh-mark" src="https://cdn.matteobruni.it/images/particles/GitHub-Mark-120px-plus.png" alt="">
<span id="gh-project">Made with tsParticles</span>
</a>
<div>
<a class="github-button" href="https://github.com/matteobruni/tsparticles" data-icon="octicon-star" data-show-count="true" aria-label="Star matteobruni/tsparticles on GitHub">Star</a>
<a class="github-button" href="https://github.com/matteobruni/tsparticles/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork matteobruni/tsparticles on GitHub">Fork</a>
<a class="github-button" href="https://github.com/matteobruni/tsparticles/releases/tag/tsparticles%401.33.1" data-icon="octicon-download" aria-label="Download matteobruni/tsparticles on GitHub">Download</a>
</div>
</div>
<script async="" defer="" src="https://buttons.github.io/buttons.js"></script>
/* ---- reset ---- */
body {
margin: 0;
font: normal 75% Arial, Helvetica, sans-serif;
}
canvas {
display: block;
vertical-align: bottom;
}
/* ---- tsparticles container ---- */
.github {
bottom: 10px;
right: 10px;
position: fixed;
border-radius: 10px;
background: #fff;
padding: 0 12px 6px 12px;
border: 1px solid #000;
}
.github a:hover,
.github a:link,
.github a:visited,
.github a:active {
color: #000;
text-decoration: none;
}
.github img {
height: 30px;
}
.github #gh-project {
font-size: 20px;
padding-left: 5px;
font-weight: bold;
vertical-align: bottom;
}
//tsParticles library - https://github.com/matteobruni/tsparticles
//tsParticles library - https://github.com/matteobruni/tsparticles
tsParticles.load({
id: "tsparticles",
options: {
fullScreen: {
enable: true
},
detectRetina: true,
background: {
color: "#000"
},
fpsLimit: 60,
emitters: {
direction: "top",
life: {
count: 0,
duration: 0.1,
delay: 0.1
},
rate: {
delay: 0.01,
quantity: 1
},
size: {
width: 100,
height: 0
},
position: {
y: 100,
x: 50
}
},
particles: {
number: {
value: 0
},
destroy: {
mode: "split",
bounds: {
top: 30
},
split: {
count: 1,
factor: { value: 1 / 3 },
rate: {
value: 100
},
particles: {
color: {
value: ["#5bc0eb", "#fde74c", "#9bc53d", "#e55934", "#fa7921"]
},
stroke: {
width: 0
},
number: {
value: 0
},
opacity: {
value: { min: 0.1, max: 1 },
animation: {
enable: true,
speed: 0.6,
sync: false,
startValue: "max",
destroy: "min"
}
},
shape: {
type: "circle"
},
size: {
value: { min: 2, max: 3 }
},
/*life: {
count: 1,
duration: {
value: {
min: 1,
max: 2
}
}
},*/
move: {
enable: true,
gravity: {
enable: false
},
speed: { min: 2, max: 4 },
direction: "outside",
random: true,
outMode: "destroy"
}
}
}
},
life: {
count: 1
},
shape: {
type: "line"
},
size: {
value: { min: 1, max: 100 },
animation: {
enable: true,
sync: true,
speed: 200,
startValue: "random",
destroy: "min"
}
},
stroke: {
color: {
value: "#303030"
},
width: 1
},
rotate: {
path: true
},
move: {
enable: true,
gravity: {
acceleration: 15,
enable: true,
inverse: true,
maxSpeed: 100
},
speed: { min: 10, max: 20 },
outModes: {
default: "destroy",
top: "none"
},
trail: {
fill: { color: "#000" },
enable: true,
length: 10
}
}
}
}
});