有很多特效网页,包括看到各大网页的效果
话不多说展示几个给大家看看
引入添加
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/particles.js"></script>
particlesJS('test', {
particles: {
color: '#fff',
shape: 'circle', // "circle", "edge" or "triangle"
opacity: 1,
size: 4,
size_random: true,
nb: 150,
line_linked: {
enable_auto: true,
distance: 100,
color: '#fff',
opacity: 1,
width: 1,
condensed_mode: {
enable: false,
rotateX: 600,
rotateY: 600
}
},
anim: {
enable: true,
speed: 1
}
},
interactivity: {
enable: true,
mouse: {
distance: 250
},
detect_on: 'canvas', // "canvas" or "window"
mode: 'grab',
line_linked: {
opacity: .5
},
events: {
onclick: {
enable: true,
mode: 'push', // "push" or "remove" (particles)
nb: 4
}
}
},
/* Retina Display Support */
retina_detect: true
});
有很多看到的,为大家解决UE网站烦恼。
链接:https://pan.baidu.com/s/1boJ4ZgflS8w007o2-lSosQ
提取码:m6y7