代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>中秋</title>
<link rel="stylesheet" href="./css/main.css" />
<link rel="stylesheet" href="./css/back.css" />
<link rel="stylesheet" href="./css/style.css" />
<link rel="stylesheet" href="./css/text.css" />
</head>
<body>
<!-- particles.js container -->
<div style="position: absolute; left: 100px; top: 100px">
<svg height="500" width="500">
<defs>
<filter id="distortionFilter">
<feTurbulence
id="turbolence"
type="fractalNoise"
baseFrequency="5"
numOctaves="10"
seed="10"
stitchTiles="noStitch"
x="0%"
y="0%"
width="100%"
height="100%"
result="noise"
></feTurbulence>
<feDisplacementMap
in="SourceGraphic"
in2="noise"
scale="50"
xChannelSelector="R"
yChannelSelector="B"
x="0%"
y="0%"
width="100%"
height="100%"
filterUnits="userSpaceOnUse"
></feDisplacementMap>
<animate
xlink:href="#turbolence"
attributeName="baseFrequency"
dur="20s"
keyTimes="0;0.5;1"
values="5;5.1;5;"
repeatCount="indefinite"
></animate>
</filter>
</defs>
<circle
cx="200"
cy="200"
r="100"
fill="#E9E9E9"
filter="url(#distortionFilter)"
></circle>
</svg>
</div>
<div id="particles-js">
<div class="loading">但愿人长久 千里共婵娟</div>
</div>
<div class="heart love1"></div>
<div class="heart love2"></div>
<div class="img"></div>
<!-- scripts -->
<script src="./js/text.js"></script>
<script src="./js/particles.js"></script>
<script src="./js/app.js"></script>
<!-- stats.js -->
<script src="./js/lib/stats.js"></script>
<script>
var count_particles, stats, update;
stats = new Stats();
stats.setMode(0);
stats.domElement.style.position = "absolute";
stats.domElement.style.left = "0px";
stats.domElement.style.top = "0px";
document.body.appendChild(stats.domElement);
count_particles = document.querySelector(".js-count-particles");
update = function () {
stats.begin();
stats.end();
if (
window.pJSDom[0].pJS.particles &&
window.pJSDom[0].pJS.particles.array
) {
count_particles.innerText =
window.pJSDom[0].pJS.particles.array.length;
}
requestAnimationFrame(update);
};
requestAnimationFrame(update);
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。