<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>情人节快乐</title>
<style type="text/css">
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
color: #fefeff;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
}
body {
font-family: "Microsoft YaHei";
background: rgb(8, 5, 16);
overflow: hidden;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
h1 {
font: 2.75em;
font-weight: 400;
letter-spacing: 0.35em;
text-shadow: 0 0 25px rgba(254, 254, 255, 0.85);
}
h2 {
font: 1.45em;
font-weight: 400;
letter-spacing: 0.5em;
text-shadow: 0 0 25px rgba(254, 254, 255, 0.85);
text-transform: lowercase;
}
[class^="letter"] {
-webkit-transition: opacity 3s ease;
-moz-transition: opacity 3s ease;
transition: opacity 3s ease;
}
.letter-0 {
transition-delay: 0.2s;
}
.letter-1 {
transition-delay: 0.4s;
}
.letter-2 {
transition-delay: 0.6s;
}
.letter-3 {
transition-delay: 0.8s;
}
.letter-4 {
transition-delay: 1.0s;
}
.letter-5 {
transition-delay: 1.2s;
}
.letter-6 {
transition-delay: 1.4s;
}
.letter-7 {
transition-delay: 1.6s;
}
.letter-8 {
transition-delay: 1.8s;
}
.letter-9 {
transition-delay: 2.0s;
}
.letter-10 {
transition-delay: 2.2s;
}
.letter-11 {
transition-delay: 2.4s;
}
.letter-12 {
transition-delay: 2.6s;
}
.letter-13 {
transition-delay: 2.8s;
}
.letter-14 {
transition-delay: 3.0s;
}
h1,
h2 {
visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
h1.transition-in,
h2.transition-in {
visibility: visible;
}
h1 [class^="letter"],
h2 [class^="letter"] {
opacity: 0;
}
h1.transition-in [class^="letter"],
h2.transition-in [class^="letter"] {
opacity: 1;
}
#container {
display: table;
position: absolute;
z-index: 20;
width: 100%;
height: 100%;
text-align: center;
cursor: none;
left: 15px;
}
#container>div {
display: table-cell;
vertical-align: middle;
}
#container p {
position: absolute;
width: 100%;
left: 0;
bottom: 25px;
font-size: 0.8em;
letter-spacing: 0.1em;
font-weight: 300;
color: #76747a;
-webkit-font-smoothing: subpixel-antialiased;
font-smoothing: subpixel-antialiased;
}
#container p strong {
color: #b3abc5;
font-size: 5em;
}
#container p span {
font-size: 0.75em;
padding: 0 2px;
}
#canvas {
position: absolute;
z-index: 10;
top: 0;
left: 0;
width: 100%;
height: 100%;
cursor: none;
}
#stats {
position: absolute;
z-index: 10;
left: 10px;
top: 10px;
}
.dg.ac {
z-index: 100 !important;
}
#container div p strong a {
color: #999;
font-size: 0.5em;
}
body,
td,
th {}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
#shusheng {
position: absolute;
width: 100%;
height: 100%;
text-align: center;
}
</style>
</head>
<!--/************************************************************
* *
* Tonyz *
* Danica *
* Date@2022.2.14 *
* *
**************************************************************-->
<body ondragstart="window.event.returnValue=false" oncontextmenu="window.event.returnValue=false" onselectstart="event.returnValue=false">
<div id="container">
<div>
<h1 id="h1">情人节</h1>
<h2 id="h2">祝天下所有的情侣都是失散多年的兄妹</h2>
</div>
</div>
<canvas id="canvas"></canvas>
<div id="shusheng">
<canvas id="c"></canvas>
<script>
var b = document.body;
var c = document.getElementsByTagName('canvas')[0];
var a = c.getContext('2d');
document.body.clientWidth;
</script>
<script>
with(m = Math) C = cos,
S = sin,
P = pow,
R = random;
c.width = c.height = f = 500;
h = -250;
function p(a, b, c) {
if (c > 60) return [S(a * 7) * (13 + 5 / (.2 + P(b * 4, 4))) - S(b) * 50, b * f + 50, 625 + C(a * 7) * (13 + 5 / (.2 + P(b * 4, 4))) + b * 400, a * 1 - b / 2, a];
A = a * 2 - 1;
B = b * 2 - 1;
if (A * A + B * B < 1) {
if (c > 37) {
n = (j = c & 1) ? 6 : 4;
o = .5 / (a + .01) + C(b * 125) * 3 - a * 300;
w = b * h;
return [o * C(n) + w * S(n) + j * 610 - 390, o * S(n) - w * C(n) + 550 - j * 350, 1180 + C(B + A) * 99 - j * 300, .4 - a * .1 + P(1 - B * B, -h * 6) * .15 - a * b * .4 + C(a + b) / 5 + P(C((o * (a + 1) + (B > 0 ? w : -w)) / 25), 30) * .1 * (1 - B * B), o / 1e3 + .7 - o * w * 3e-6]
}
if (c > 32) {
c = c * 1.16 - .15;
o = a * 45 - 20;
w = b * b * h;
z = o * S(c) + w * C(c) + 620;
return [o * C(c) - w * S(c), 28 + C(B * .5) * 99 - b * b * b * 60 - z / 2 - h, z, (b * b * .3 + P((1 - (A * A)), 7) * .15 + .3) * b, b * .7]
}
o = A * (2 - b) * (80 - c * 2);
w = 99 - C(A) * 120 - C(b) * (-h - c * 4.9) + C(P(1 - b, 7)) * 50 + c * 2;
z = o * S(c) +