From dec80c275cbd322e82ae94309db0522ec88aaa80 Mon Sep 17 00:00:00 2001 From: 13881618367 <105252280+13881618367@users.noreply.github.com> Date: Thu, 12 May 2022 18:23:14 +0800 Subject: [PATCH] Update show.html --- show.html | 817 ++++++++++++------------------------------------------ 1 file changed, 176 insertions(+), 641 deletions(-) diff --git a/show.html b/show.html index 9a6a244..10009c8 100644 --- a/show.html +++ b/show.html @@ -1,670 +1,205 @@ - - + + - - I Love You ❤️ - - - - + + + + + + + + + + + + + - -
- + +
+
+
+
亲爱的老婆,杨依:我爱你,虽然你看不见我对你的告白
+
+ 我知道我不会甜言蜜语,但是我会用行动证明一切
+
+ 你说我啰嗦,有些东西因为越在乎所以越失去
+ 因为我太爱你了,所以我不会失去你了
+ 因为我太啰嗦了,所以你不会离开了我
+ 虽然你看不见我的告白,但是我还是要把这些心里话说出来
+
+ -- 爱你的老公:邵海龙--
+

+
+
+
亲爱的老婆,我喜欢你 已经是…… +
+
+ +
- -

- We fell in love -
- -

- + - S.Shape = (function () { - var dots = [], - width = 0, - height = 0, - cx = 0, - cy = 0; - function compensate() { - var a = S.Drawing.getArea(); - cx = a.w / 2 - width / 2; - cy = a.h / 2 - height / 2; - } - - return { - shuffleIdle: function () { - var a = S.Drawing.getArea(); - - for (var d = 0; d < dots.length; d++) { - if (!dots[d].s) { - dots[d].move({ - x: Math.random() * a.w, - y: Math.random() * a.h - }); - } - } - }, - switchShape: function (n, fast) { - var size, - a = S.Drawing.getArea(); - - width = n.w; - height = n.h; - - compensate(); - - if (n.dots.length > dots.length) { - size = n.dots.length - dots.length; - for (var d = 1; d <= size; d++) { - dots.push(new S.Dot(a.w / 2, a.h / 2)); - } - } - var d = 0, - i = 0; - while (n.dots.length > 0) { - i = Math.floor(Math.random() * n.dots.length); - dots[d].e = fast ? 0.25 : (dots[d].s ? 0.14 : 0.11); - - if (dots[d].s) { - dots[d].move(new S.Point({ - z: Math.random() * 20 + 10, - a: Math.random(), - h: 18 - })); - } else { - dots[d].move(new S.Point({ - z: Math.random() * 5 + 5, - h: fast ? 18 : 30 - })); - } - - dots[d].s = true; - dots[d].move(new S.Point({ - x: n.dots[i].x + cx, - y: n.dots[i].y + cy, - a: 1, - z: 5, - h: 0 - })); - - n.dots = n.dots.slice(0, i).concat(n.dots.slice(i + 1)); - d++; - } - - for (var i = d; i < dots.length; i++) { - if (dots[i].s) { - dots[i].move(new S.Point({ - z: Math.random() * 20 + 10, - a: Math.random(), - h: 20 - })); - - dots[i].s = false; - dots[i].e = 0.04; - dots[i].move(new S.Point({ - x: Math.random() * a.w, - y: Math.random() * a.h, - a: 0.3, //.4 - z: Math.random() * 4, - h: 0 - })); - } - } - }, - render: function () { - for (var d = 0; d < dots.length; d++) { - dots[d].render(); - } - } - }; - }()); - S.init(); -