<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>�윃� Happy New Year ~ �윃�</title>
<style>
html,
body {
margin: 0;
height: 100%;
}
body {
background-color: #111;
}
.fireworks-canvas,
.word-container {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.word-container {
display: flex;
justify-content: center;
align-items: center;
pointer-events: none;
}
.word-canvas {
will-change: transform;
}
</style>
</head>
<body>
<canvas id="fireworks" class="fireworks-canvas"></canvas>
<div class="word-container">
<canvas id="word" class="word-canvas"></canvas>
</div>
<script src="./constants.js"></script>
<script src="./utils.js"></script>
<script src="./imageSrc.js"></script>
<script src="./tinycolor.js"></script>
<script src="./fireworks.js"></script>
<script src="./word.js"></script>
<script>
{
const dom = document.querySelector("#fireworks");
const options = {};
const fireworks = new Fireworks(dom, options);
fireworks.start();
dom.addEventListener("click", (event) => {
fireworks.createFirework(event.offsetX, event.offsetY);
});
}
{
const dom = document.querySelector("#word");
const image = imageSrc;
const word = new Word(dom, image);
word.start();
}
</script>
<!--live2d-->
<script src="https://blog-static.cnblogs.com/files/zouwangblog/autoload.js"></script>
<!--live2dend-->
<!--�붂鸚㎩쎗�뎴-->
<link
rel="stylesheet"
type="text/css"
href="https://blog-static.cnblogs.com/files/zouwangblog/zoom.css"
/>
<script src="https://cdn.bootcss.com/jquery/1.8.3/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.2.0/js/transition.js"></script>
<script src="https://blog-static.cnblogs.com/files/zouwangblog/zoom.js"></script>
<script type="text/javascript">
$("#cnblogs_post_body img").attr("data-action", "zoom");
</script>
<!--�붂鸚㎩쎗�뎴end-->
<!--庸졿젃�돶�븞-->
<script src="https://blog-static.cnblogs.com/files/zouwangblog/mouse-click.js"></script>
<canvas
width="1777"
height="841"
style="
position: fixed;
left: 0px;
top: 0px;
z-index: 2147483647;
pointer-events: none;
"
></canvas>
<!--庸졿젃�돶�븞 end-->
<!-- �룍�벦 -->
<input id="linkListFlg" type="hidden" />
<!-- require APlayer -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css"
/>
<script src="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script>
<!-- require MetingJS -->
<script src="https://cdn.jsdelivr.net/npm/meting@2/dist/Meting.min.js"></script>
<meting-js
id="2829883282"
lrc-type="0"
server="netease"
order="random"
type="playlist"
fixed="true"
autoplay="false"
list-olded="true"
>
</meting-js>
<!-- // �쉹�쑛瀛욘씉 -->
<script>
!(function () {
function n(n, e, t) {
return n.getAttribute(e) || t;
}
function e(n) {
return document.getElementsByTagName(n);
}
function t() {
var t = e("script"),
o = t.length,
i = t[o - 1];
return {
l: o,
z: n(i, "zIndex", -1),
o: n(i, "opacity", 0.6),
c: n(i, "color", "148,0,211"),
n: n(i, "count", 99),
};
}
function o() {
(a = m.width =
window.innerWidth ||
document.documentElement.clientWidth ||
document.body.clientWidth),
(c = m.height =
window.innerHeight ||
document.documentElement.clientHeight ||
document.body.clientHeight);
}
function i() {
r.clearRect(0, 0, a, c);
var n, e, t, o, m, l;
s.forEach(function (i, x) {
for (
i.x += i.xa,
i.y += i.ya,
i.xa *= i.x > a || i.x < 0 ? -1 : 1,
i.ya *= i.y > c || i.y < 0 ? -1 : 1,
r.fillRect(i.x - 0.5, i.y - 0.5, 1, 1),
e = x + 1;
e < u.length;
e++
)
(n = u[e]),
null !== n.x &&
null !== n.y &&
((o = i.x - n.x),
(m = i.y - n.y),
(l = o * o + m * m),
l < n.max &&
(n === y &&
l >= n.max / 2 &&
((i.x -= 0.03 * o), (i.y -= 0.03 * m)),
(t = (n.max - l) / n.max),
r.beginPath(),
(r.lineWidth = t / 2),
(r.strokeStyle = "rgba(" + d.c + "," + (t + 0.2) + ")"),
r.moveTo(i.x, i.y),
r.lineTo(n.x, n.y),
r.stroke()));
}),
x(i);
}
var a,
c,
u,
m = document.createElement("canvas"),
d = t(),
l = "c_n" + d.l,
r = m.getContext("2d"),
x =
window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function (n) {
window.setTimeout(n, 1e3 / 45);
},
w = Math.random,
y = { x: null, y: null, max: 2e4 };
(m.id = l),
(m.style.cssText =
"position:fixed;top:0;left:0;z-index:" + d.z + ";opacity:" + d.o),
e("body")[0].appendChild(m),
o(),
(window.onresize = o),
(window.onmousemove = function (n) {
(n = n || window.event), (y.x = n.clientX), (y.y = n.clientY);
}),
(window.onmouseout = function () {
(y.x = null), (y.y = null);
});
for (var s = [], f = 0; d.n > f; f++) {
var h = w() * a,
g = w() * c,
v = 2 * w() - 1,
p = 2 * w() - 1;
s.push({ x: h, y: g, xa: v, ya: p, max: 6e3 });
}
(u = s.concat([y])),
setTimeout(function () {
i();
}, 100);
})();
</script>
<!-- �쎀�뒻�돶�븞 -->
<script type="text/javascript">
(function ($) {
$.fn.snow = function (options) {
var $flake = $('<div id="snowbox" />')
.css({ position: "absolute", "z-index": "9999", top: "-50px" })
.html("�쓣"),
documentHeight = $(document).height(),
documentWidth = $(document).width(),
defaults = {
minSize: 10,
maxSize: 20,
newOn: 1000,
flakeColor:
"#00CED1" /* 閭ㅵ쨪�룾餓ε츣阿됮쎀�뒻窯쒑돯竊뚩떏誤곭쇋�돯�룾餓ζ뵻訝�#FFFFFF */,
},
options = $.extend({}, defaults, options);
var interval = setInterval(function () {
var startPositionLeft = Math.random() * documentWidth - 100,
startOpacity = 0.5 + Math.random(),
sizeFlake = options.minSize + Math.random() * options.maxSize,
endPositionTop = documentHeight - 200,
endPositionLeft = startPositionLeft - 500 + Math.random() * 500,
durationFall = documentHeight * 10 + Math.random() * 5000;
$flake
.clone()
.appendTo("body")
.css({
left: startPositionLeft,
opacity: startOpacity,
"font-si

Enovo_你当像鸟飞往你的山

- 粉丝: 3w+
最新资源
- 微信商城类小程序.zip
- 基于SLAM的规划算法仿真与复现项目_通过Python实现SLAM技术结合激光雷达数据构建环境地图并仿真多种路径规划算法如A和RRT的完整流程_用于机器人自主导航算法的研究教学和.zip
- HiApp 微信小程序版.zip
- 微信小程序仿微信, QQ 向左滑动删除操作。.zip
- matlab仿真模拟和GS算法实现光学相位恢复与波前重建_基于Gerchberg-Saxton迭代算法的光学相位恢复仿真系统_用于中国科学技术大学光学课程作业中的相位恢复与计算全息.zip
- 一个让 THREE 平台化的项目,目前已适配微信,淘宝,头条小程序,微信小游戏.zip
- 微信小程序-人脸检测.zip
- 微信小程序demo咯.zip
- disksim-FTL_一个基于磁盘模拟器的闪存转换层仿真项目_模拟NAND闪存存储设备的行为与性能_实现地址映射垃圾回收磨损均衡等关键算法_支持多种FTL策略如页映射块映射.zip
- 拼车微信小程序源码.zip
- 微信小程序高仿vivo商城.zip
- 运维密码微信小程序.zip
- mpvue构建微信小程序.zip
- 微信小程序+微信管理后台+微信用户前台.zip
- 微信小程序---左滑删除.zip
- 电影推荐 - 微信小程序.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


