-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
849 lines (509 loc) · 25 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/img/favicon1.png">
<link rel="icon" type="image/png" href="/img/favicon1.png">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="theme-color" content="#2f4154">
<meta name="description" content="">
<meta name="author" content="Senjay">
<meta name="keywords" content="">
<title>SenayのBlog</title>
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.4.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdn.staticfile.org/github-markdown-css/4.0.0/github-markdown.min.css" />
<link rel="stylesheet" href="https://cdn.staticfile.org/highlight.js/10.0.0/styles/github-gist.min.css" />
<!-- 主题依赖的图标库,不要自行修改 -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_fmb4a04yx8h.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_pjno9b9zyxs.css">
<link rel="stylesheet" href="/css/main.css" />
<!-- 自定义样式保持在最底部 -->
<link rel="stylesheet" href="/css/custom.css">
<meta name="generator" content="Hexo 6.0.0"></head>
<body>
<header style="height: 100vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand"
href="/"> <strong>SenjayのBlog</strong> </a>
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="animated-icon"><span></span><span></span><span></span></div>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto text-center">
<li class="nav-item">
<a class="nav-link" href="/">
<i class="iconfont icon-home-fill"></i>
首页</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archives/">
<i class="iconfont icon-archive-fill"></i>
归档</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/categories/">
<i class="iconfont icon-category-fill"></i>
分类</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags/">
<i class="iconfont icon-tags-fill"></i>
标签</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about/">
<i class="iconfont icon-user-fill"></i>
关于</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/links/">
<i class="iconfont icon-link-fill"></i>
友链</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" data-toggle="modal" data-target="#modalSearch"> <i
class="iconfont icon-search"></i> </a>
</li>
</ul>
</div>
</div>
</nav>
<div class="view intro-2" id="background" parallax=true
style="background: url('/img/default.png') no-repeat center center;
background-size: cover;">
<div class="full-bg-img">
<div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
<div class="container text-center white-text fadeInUp">
<span class="h2" id="subtitle">
</span>
</div>
<div class="scroll-down-bar">
<i class="iconfont icon-arrowdown"></i>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container nopadding-md">
<div class="py-5" id="board"
style=margin-top:0>
<div class="container">
<div class="row">
<div class="col-12 col-md-10 m-auto">
<div class="row mx-auto index-card">
<div class="col-12 col-md-12 mx-auto index-info">
<a class="index-header" href="/2022/04/15/C++PrefectForward/">Prefect Forward 实现</a>
<a href="/2022/04/15/C++PrefectForward/" class="index-excerpt">
<div>Prefect Forward 实现 涉及到模板偏特化、万能引用、引用折叠、模板类型推导
1. Move reference 利用模板偏特化,去除引用,保证返回一个不带引用的类型
template<typename T>
struct RemoveReference
{
using type=T;
RemoveReference()
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2022-04-15
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/C/">C++</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Prefect-Forward/">Prefect Forward</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-12 mx-auto index-info">
<a class="index-header" href="/2021/09/30/C++PCH%E6%8F%90%E5%8D%87%E7%BC%96%E8%AF%91%E9%80%9F%E5%BA%A6/">C++ PCH提升编译速度</a>
<a href="/2021/09/30/C++PCH%E6%8F%90%E5%8D%87%E7%BC%96%E8%AF%91%E9%80%9F%E5%BA%A6/" class="index-excerpt">
<div>C++ PCH流程
创建pch.h,pch.cpp
//pch.h
#ifndef __PCH_H__
#define __PCH_H__
//include your header file (not likely to change)
//...
//...
#endif
//pch.cpp
#include "pch.h"
在vs项目属性中C/C++的预编译头中设置</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2021-09-30
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/C/">C++</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E7%BC%96%E8%AF%91/">编译</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-12 mx-auto index-info">
<a class="index-header" href="/2021/03/17/2020-03-09-Singularity-Constrained-Octahedral-Fields-for-Hexahedral-Meshing/">Singularity-Constrained Octahedral Fields for Hexahedral Meshing</a>
<a href="/2021/03/17/2020-03-09-Singularity-Constrained-Octahedral-Fields-for-Hexahedral-Meshing/" class="index-excerpt">
<div>1.概括  枚举了所有六面体网格中关于边的度的局部属性;推广了Hopf-Poincare index formula至octahedral fields;设计了一个通过求解非线性整形优化从一个预输入的奇异结构图生成一个优化后的octahedral field的算法。
2.拓扑关系2.1 Local Topology of Eages
$$
\operatorname{</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2021-03-17
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%AC%94%E8%AE%B0/">笔记</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E6%A0%87%E6%9E%B6%E5%9C%BA/">标架场</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-12 mx-auto index-info">
<a class="index-header" href="/2020/10/30/2020-10-30-Algebraic-Representations-for-Volumetric-Frame-Fields(%E4%B8%80)/">Algebraic Representations for Volumetric Frame Fields(一)</a>
<a href="/2020/10/30/2020-10-30-Algebraic-Representations-for-Volumetric-Frame-Fields(%E4%B8%80)/" class="index-excerpt">
<div>1.解空间  定义映射\rho:SO(3)\to SO(9),定义线性算子H \in \mathbb{R}^{9\times 9}投影至\mathbb{R}^9的子空间(即在八面体群作用下具有不变性的空间)
H=\frac{1}{|O|}\sum_{o \in O}\rho(o)由于
\rho\left(o^{\prime}\right) H=\frac{1}{|\math</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2020-10-30
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%AC%94%E8%AE%B0/">笔记</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E6%A0%87%E6%9E%B6%E5%9C%BA/">标架场</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-12 mx-auto index-info">
<a class="index-header" href="/2020/10/09/2020-10-09-Greens-identities/">Green's Identities And Boundary Element Method</a>
<a href="/2020/10/09/2020-10-09-Greens-identities/" class="index-excerpt">
<div>1.高维分部积分  回忆下最基本的分部积分
\begin{array}{c}
\int u(x) v^{\prime}(x) d x=u(x) v(x)-\int u^{\prime}(x) v(x) d x \\
\int u d v=u v-\int v d u
\end{array}  对于高维,无非是多了基底,对每个基的方向使用分部积分
\beg</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2020-10-09
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%AC%94%E8%AE%B0/">笔记</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/math/">math</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-12 mx-auto index-info">
<a class="index-header" href="/2020/10/07/2020-10-07-Boundary-Element-Octahedral-Fields-in-Volumes/">Boundary Element Octahedral Fields in Volumes</a>
<a href="/2020/10/07/2020-10-07-Boundary-Element-Octahedral-Fields-in-Volumes/" class="index-excerpt">
<div>1.概括  将3D中的标架场描述为Octahedral Fields:三维中所有旋转构成群特殊正交群SO(3),但由于若只用向量表示,一个标架可有24个表示,其恰构成好八面体群O,因此若想唯一的标识标架,应该为SO(3)/O,而球谐基函数恰好可为其作代数表示。不同的是采用了边界元的思想,故而在求解中输入的网格只需要边界即可,如三角形网格,而不再是四面体网格。同时对于约束问题,之</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2020-10-07
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%AC%94%E8%AE%B0/">笔记</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E6%A0%87%E6%9E%B6%E5%9C%BA/">标架场</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-12 mx-auto index-info">
<a class="index-header" href="/2020/09/17/2020-09-17-Practical-3D-Frame-Field-Generation-3D/">Practical 3D Frame Field Generation-3D</a>
<a href="/2020/09/17/2020-09-17-Practical-3D-Frame-Field-Generation-3D/" class="index-excerpt">
<div>  作者在前文的2d形式下引入的基函数其实是傅里叶基底,而在3d下,根据《Boundary aligned smooth 3D cross-frame field》的启发,使用了球谐函数作为基函数。不同的是该文使用了不同的多项式x^4+y^4+z^4来在球上展开。(而前文是x^2y^2+y^2z^2+z^2x^2,其实优化后式子是一样的)
二、3D1. 标架表示 &e</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2020-09-17
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%AC%94%E8%AE%B0/">笔记</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E6%A0%87%E6%9E%B6%E5%9C%BA/">标架场</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-12 mx-auto index-info">
<a class="index-header" href="/2020/09/16/2020-09-16-Boundary-Aligned-Smooth-3D-Cross-Frame-Field/">Boundary Aligned Smooth 3D Cross-Frame Field</a>
<a href="/2020/09/16/2020-09-16-Boundary-Aligned-Smooth-3D-Cross-Frame-Field/" class="index-excerpt">
<div>标架表示方法  3d标架存在24个方向(坐标轴有6个选择,垂直它的有4种,即6x4=24种),为了表述两个相邻标架的差异,采用基函数来表示四面体网格面上的标架,而不是采用以前的使用vector pair来表示(避免了混合整数规划问题),该文首先提出了采用球谐函数作为基函数来描述标架,从而可以通过积分来描述标架的差异并据此定义能量函数来优化 ,最后使用L-BFGS来光滑标架场,该</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2020-09-16
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%AC%94%E8%AE%B0/">笔记</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E6%A0%87%E6%9E%B6%E5%9C%BA/">标架场</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-12 mx-auto index-info">
<a class="index-header" href="/2020/09/16/2020-09-16-Paper-Introduction/">Paper Introduction</a>
<a href="/2020/09/16/2020-09-16-Paper-Introduction/" class="index-excerpt">
<div>1. 标架场《Instant field-aligned meshes》-2015  采用局部的高斯赛德尔迭代来求解表面网格的标架场和位置场,其在局部直接暴力比较(搜索空间其实很小,以4-Rosy为例,只有16)两个标架的不同来进行优化,并用多分辨率层次法(Multiresolution hierarchy)来避免陷入局部解,该方法速度快,鲁棒性好。笔记1,笔记2
Wenzel</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2020-09-16
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%AC%94%E8%AE%B0/">笔记</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E8%AE%BA%E6%96%87%E7%AE%80%E4%BB%8B/">论文简介</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-12 mx-auto index-info">
<a class="index-header" href="/2020/09/14/2020-09-14-Practical-3D-Frame-Field-Generation-2D/">Practical 3D Frame Field Generation-2D</a>
<a href="/2020/09/14/2020-09-14-Practical-3D-Frame-Field-Generation-2D/" class="index-excerpt">
<div>  该论文以基函数来描述标架,首先说明了该方法在2D下的可行性,然后拓展到3D形式。3D形式延续《Boundary aligned smooth 3D cross-frame field》中使用球谐函数作为基函数,不同的是该文使用了不同的多项式x^4+y^4+z^4来在球上展开,并重新定义了目标函数,优化了求解,速度和质量都得到提升。
一、 2D1.定义  </div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2020-09-14
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%AC%94%E8%AE%B0/">笔记</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E6%A0%87%E6%9E%B6%E5%9C%BA/">标架场</a>
</div>
</div>
</div>
</div>
<nav aria-label="navigation">
<span class="pagination" id="pagination">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="space">…</span><a class="page-number" href="/page/6/">6</a><a class="extend next" rel="next" href="/page/2/"><i class="iconfont icon-arrowright"></i></a>
</span>
</nav>
<script>
for (ele of document.getElementById("pagination").getElementsByTagName("a")) {
ele.href += '#board';
}
</script>
</div>
</div>
</div>
</div>
</div>
</main>
<a id="scroll-top-button" href="#" role="button">
<i class="iconfont icon-arrowup" aria-hidden="true"></i>
</a>
<div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">搜索</h4>
<button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
<div class="md-form mb-5">
<input type="text" id="local-search-input" class="form-control validate">
<label data-error="x" data-success="v"
for="local-search-input">关键词</label>
</div>
<div class="list-group" id="local-search-result"></div>
</div>
</div>
</div>
</div>
<!-- APlayer 音乐播放器 -->
<div id="aplayer"></div>
<script defer src="https://cdn.staticfile.org/aplayer/1.10.1/APlayer.min.js" ></script>
<link rel="stylesheet" href="https://cdn.staticfile.org/aplayer/1.10.1/APlayer.min.css" />
<script type="text/javascript">
var oldLoadAp = window.onload;
window.onload = function () {
oldLoadAp && oldLoadAp();
new APlayer({
container: document.getElementById('aplayer'),
fixed: true,
autoplay: 'false' === 'true',
loop: 'all',
order: 'random',
theme: '#b7daff',
preload: 'none',
audio: [{"name":"10番道路","artist":"景山将太","url":"https://music.163.com/song/media/outer/url?id=4932563.mp3","cover":"http://p2.music.126.net/DO7qNRAEbqCYo1JmrqFA_A==/109951163903681161.jpg"}]
});
}
</script>
<footer class="mt-5">
<div class="text-center py-3">
<div class="box">
<a id="hitokoto" target="_blank">获取中......</a>
<p id="hitokotofrom">---- 获取中......</p>
</div>
<style type="text/css">
.box {
display: inline-block;
}
.box p {
text-align: right;
margin-bottom: 0px;
}
</style>
<script>
fetch('https://v1.hitokoto.cn')
.then(response => response.json())
.then(data => {
const hitokoto = document.getElementById('hitokoto')
hitokoto.innerText = data.hitokoto
hitokoto.href="https://hitokoto.cn?uuid="+data.uuid
const from=document.getElementById('hitokotofrom')
from.innerText="---- "+data.from
})
.catch(console.error)
</script>
<div>
<span id="timeDate">载入天数...</span>
<span id="times">载入时分秒...</span>
<script>
var now = new Date();
function createtime(){
var grt= new Date("10/9/2018 00:48:20");//此处修改你的建站时间或者网站上线时间
now.setTime(now.getTime()+250);
days = (now - grt ) / 1000 / 60 / 60 / 24;
dnum = Math.floor(days);
hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum);
hnum = Math.floor(hours);
if(String(hnum).length ==1 ){
hnum = "0" + hnum;
}
minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum);
mnum = Math.floor(minutes);
if(String(mnum).length ==1 ){
mnum = "0" + mnum;
}
seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum);
snum = Math.round(seconds);
if(String(snum).length ==1 ){
snum = "0" + snum;
}
document.getElementById("timeDate").innerHTML = "流转 "+dnum+" 天";
document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒";
}
setInterval("createtime()",250);
</script>
</div>
</div>
</footer>
<!-- SCRIPTS -->
<script src="https://cdn.staticfile.org/jquery/3.4.1/jquery.min.js" ></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.4.1/js/bootstrap.min.js" ></script>
<script src="/js/main.js" ></script>
<script src="/js/lazyload.js" ></script>
<script defer src="https://cdn.staticfile.org/clipboard.js/2.0.6/clipboard.min.js" ></script>
<script src="/js/clipboard-use.js" ></script>
<!-- Plugins -->
<script src="https://cdn.staticfile.org/typed.js/2.0.11/typed.min.js" ></script>
<script>
var typed = new Typed('#subtitle', {
strings: [
' ',
"生前何必久睡,死后自会长眠 ",
],
cursorChar: "_",
typeSpeed: 70,
loop: false,
});
typed.stop();
$(document).ready(function () {
$(".typed-cursor").addClass("h2");
typed.start();
});
</script>
<script src="https://cdn.staticfile.org/anchor-js/4.2.2/anchor.min.js" ></script>
<script>
anchors.options = {
placement: "right",
visible: "hover",
};
var el = "h1,h2,h3,h4,h5,h6".split(",");
var res = [];
for (item of el) {
res.push(".markdown-body > " + item)
}
anchors.add(res.join(", "))
</script>
<script src="/js/local-search.js" ></script>
<script>
var path = "/local-search.xml";
var inputArea = document.querySelector("#local-search-input");
inputArea.onclick = function () {
searchFunc(path, 'local-search-input', 'local-search-result');
this.onclick = null
}
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/L2Dwidget.min.js"></script><script>L2Dwidget.init({"pluginRootPath":"live2d_models/hijiki","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"scale":1,"jsonPath":"https://cdn.jsdelivr.net/npm/live2d-widget-model-hijiki@latest/assets/hijiki.model.json# 你的自定义 url"},"mobile":{"show":false,"scale":0.5},"display":{"position":"left"},"react":{"opacityDefault":0.7,"opacityOnHover":0.2},"log":false});</script></body>
</html>